florian
3ca6034523
* inserted type casts on opr.val again, but depending on the type of opr.val, avoids range check errors
...
git-svn-id: trunk@38341 -
2018-02-25 15:32:38 +00:00
florian
62df4a4083
* patch by Christo Crause: more descriptive error message when BRxx destination out of reach
...
git-svn-id: trunk@38340 -
2018-02-25 15:31:17 +00:00
marco
8ba434b2f4
* added hex2dec64, 64-bit equivalent of hex2dec, mantis #33228
...
git-svn-id: trunk@38339 -
2018-02-25 15:27:53 +00:00
marco
d49deb183b
* importtl new parameter --ref-style that allows to set different styles for reference input param. (var, constref or const [ref])
...
A more complete solution for bugreport #30764 .
Changed importtl to getopts for param parsing
git-svn-id: trunk@38338 -
2018-02-25 14:52:51 +00:00
florian
6e811d057c
* MovOpMov2Op cannot be applied for L, Q, Q as operand sizes
...
+ test
git-svn-id: trunk@38337 -
2018-02-25 10:19:52 +00:00
florian
bf7a0c491e
* test works only well if the constants have the same type as the operands of mod
...
git-svn-id: trunk@38336 -
2018-02-24 23:13:29 +00:00
florian
98bd768521
* remove type cast of the parameter of int(...), if an instruction is available which can be used directly
...
git-svn-id: trunk@38335 -
2018-02-24 23:13:27 +00:00
marco
dacc20f1f8
* fpmake supports dropping TOS and TCPU via "info" command. Initial.
...
git-svn-id: trunk@38334 -
2018-02-24 21:53:33 +00:00
marco
1d5d5682d2
* mantis #30853 , set precision and signspecialplaces in delphi compat way.
...
git-svn-id: trunk@38333 -
2018-02-24 20:55:14 +00:00
florian
8a2cf56d51
* fixed operator mod for floats as proposed by wp in #33167 , resolves #33167
...
git-svn-id: trunk@38332 -
2018-02-24 18:23:06 +00:00
florian
3b779278e2
+ (slightly) patch by Emelyanov Roman to add support of SEH directive in FPC internal assembler with INTEL syntax, resolves #29894
...
git-svn-id: trunk@38331 -
2018-02-24 16:14:08 +00:00
florian
73aef1402b
+ compiler writes a hint if a subroutine marked as inline cannot be/is not inlined, resolves #31717
...
+ test
git-svn-id: trunk@38330 -
2018-02-24 14:35:12 +00:00
florian
c671683e80
+ patch by Denis Kozlov to add date/time tokens: %DATEYEAR%, %DATEMONTH%, %DATEDAY%, %TIMEHOUR%, %TIMEMINUTE%, %TIMESECOND%
...
+ test
git-svn-id: trunk@38329 -
2018-02-24 12:50:55 +00:00
michael
ccbaf748b8
* Fix bug ID #33133 (use newer Windows API if available)
...
git-svn-id: trunk@38328 -
2018-02-24 12:18:55 +00:00
michael
77caa28bab
* Fix bug #33204
...
git-svn-id: trunk@38327 -
2018-02-24 11:12:11 +00:00
michael
84377291b4
* Allow hex, octal and binary notation for expression parser (patch from bug ID #33216 )
...
git-svn-id: trunk@38326 -
2018-02-24 10:59:44 +00:00
michael
4a0072d43d
* Fixed bug #33217 , range check error when loading/saving colors, patch from Andreas Friess
...
git-svn-id: trunk@38325 -
2018-02-24 10:09:52 +00:00
Mattias Gaertner
80d8a73f05
pastojs: uses-in filename
...
git-svn-id: trunk@38324 -
2018-02-24 09:30:53 +00:00
Mattias Gaertner
b8233e8317
fcl-passrc: resolver: uses-in filename
...
git-svn-id: trunk@38323 -
2018-02-24 09:30:01 +00:00
Mattias Gaertner
e0b7be27ce
pastojs: clean up
...
git-svn-id: trunk@38322 -
2018-02-24 09:25:53 +00:00
florian
d031545f88
* warn if the first constant element of a range set expression is greater than the second one, resolves #31936
...
git-svn-id: trunk@38321 -
2018-02-23 22:30:35 +00:00
florian
92776e1864
* keep stack aligned when using profiler stubs
...
git-svn-id: trunk@38320 -
2018-02-23 19:35:20 +00:00
florian
048c2c09fd
* shorten interface wrapper names if needed, resolves #33069
...
git-svn-id: trunk@38319 -
2018-02-22 21:55:07 +00:00
florian
5b16a84de1
+ RCallReg2RJmp optimization
...
git-svn-id: trunk@38318 -
2018-02-22 20:19:03 +00:00
florian
1d6e0743aa
* fix test
...
git-svn-id: trunk@38317 -
2018-02-22 20:16:34 +00:00
florian
d0dd3bd74e
* patch by Christo Crause to support ~ in att assembler
...
* allow -128 to 255 as a constant for instructions taking a byte sized constants (this is also what GNU As accepts), resolves #32039
git-svn-id: trunk@38316 -
2018-02-22 20:14:56 +00:00
florian
2b2d41aa27
* regenerated msgtxt.inc, resolves #33208
...
git-svn-id: trunk@38315 -
2018-02-22 19:32:44 +00:00
marco
b1678f80c7
* some copyright updates, mantis #33208
...
git-svn-id: trunk@38314 -
2018-02-22 19:15:12 +00:00
Károly Balogh
2968ce41e1
aros: do not specify dos as an explicity dependency for extpas. depend on buildrtl instead.
...
git-svn-id: trunk@38313 -
2018-02-22 12:25:04 +00:00
Károly Balogh
f731f33fea
morphos: do not specify dos as an explicity dependency for extpas. depend on buildrtl instead.
...
git-svn-id: trunk@38312 -
2018-02-22 12:19:27 +00:00
Károly Balogh
a0975a70dd
amiga: do not specify dos as an explicity dependency for extpas. depend on buildrtl instead.
...
git-svn-id: trunk@38311 -
2018-02-22 12:15:41 +00:00
Károly Balogh
467349c5ee
atari: do not reference DOS unit explicitly as a dependency. it's now built by buildrtl. add an rtl.cfg for easy features override
...
git-svn-id: trunk@38310 -
2018-02-22 12:09:44 +00:00
Mattias Gaertner
ff44beb182
fcl-passrc: fixed compilation
...
git-svn-id: trunk@38309 -
2018-02-21 21:54:57 +00:00
florian
f969e43ff0
* fix crash in libvlc packages by patch from Michl, resolves #31541
...
git-svn-id: trunk@38308 -
2018-02-21 20:25:57 +00:00
florian
d16a22e42b
* remove type case when loading constant in tattreader.BuildConstantOperand, resolves #33202 , should not hurt other targets
...
git-svn-id: trunk@38307 -
2018-02-21 20:24:10 +00:00
Mattias Gaertner
18c2f72314
pastojs: write/restore procedure references
...
git-svn-id: trunk@38306 -
2018-02-21 18:00:46 +00:00
Mattias Gaertner
df969336a9
fcl-passrc: useanalyzer: collect single procedure references
...
git-svn-id: trunk@38305 -
2018-02-21 18:00:03 +00:00
michael
6df643f433
Fix for bug ID #33150
...
git-svn-id: trunk@38304 -
2018-02-21 10:30:23 +00:00
michael
70813ac7c1
* Fix bug #33197 (part 2)
...
git-svn-id: trunk@38303 -
2018-02-21 09:29:57 +00:00
michael
347c89e527
* Fix bug #33197
...
git-svn-id: trunk@38302 -
2018-02-21 09:17:19 +00:00
florian
be158cec7a
* reset I/O result before and after the implicit close calls in ISO pascal mode,
...
this avoids further I/O operations to be carried out, resolves issue #32743
git-svn-id: trunk@38301 -
2018-02-20 21:30:30 +00:00
Mattias Gaertner
8812f9e020
fcl-passrc: parser: error on class const
...
git-svn-id: trunk@38300 -
2018-02-20 18:08:12 +00:00
Mattias Gaertner
36bd15aa61
pastojs: collect references of procedure
...
git-svn-id: trunk@38299 -
2018-02-20 17:52:45 +00:00
Mattias Gaertner
9255993eb4
fcl-passrc: resolver: use function result.parent functype, added storage for procedure references
...
git-svn-id: trunk@38298 -
2018-02-20 17:51:58 +00:00
Mattias Gaertner
d195eb4733
fcl-passrc: pastree: added TPasProcedureTypeClass, fixed typo
...
git-svn-id: trunk@38297 -
2018-02-20 17:50:49 +00:00
nickysn
506d5fe30e
+ support bracketless references in the x86 intel syntax; ugly, but TP7 (and
...
perhaps also Delphi, TASM and MASM)-compatible
git-svn-id: trunk@38296 -
2018-02-20 17:18:09 +00:00
marco
5f7ad0ecf0
* ConvertFrom, DescriptionToConvFamily, DescriptionToConvType initial
...
implementation with some fixes, patch from peter popov mantis 33181
git-svn-id: trunk@38295 -
2018-02-20 17:00:40 +00:00
nickysn
8c99f3f70d
+ added tests tasm21a.pp and tasm21b.pp - same as tasm21.pp, but for i386 and x86_64
...
git-svn-id: trunk@38294 -
2018-02-20 16:06:29 +00:00
nickysn
cc3da0979e
+ extended test tasm21.pp, so it actually checks that the instructions it tests
...
do the right thing
git-svn-id: trunk@38293 -
2018-02-20 04:09:16 +00:00
nickysn
10cbeafd7d
+ always allow using @Result in inline asm sections of pascal routines (only in
...
pure assembler routines it is disallowed in certain cases)
git-svn-id: trunk@38292 -
2018-02-20 04:07:53 +00:00