Commit Graph

50892 Commits

Author SHA1 Message Date
Mattias Gaertner
f509331e57 fcl-passrc: parser: inline specialization
git-svn-id: trunk@36225 -
2017-05-15 21:30:23 +00:00
Mattias Gaertner
5a2ec67874 fcl-passrc: parser: use ring buffer
git-svn-id: trunk@36224 -
2017-05-15 20:00:47 +00:00
Mattias Gaertner
ec3a6bec74 fcl-passrc: fixed writeln, bug #31656
git-svn-id: trunk@36223 -
2017-05-15 18:27:24 +00:00
Mattias Gaertner
7a5046edca fcl-passrc: fixed parsing as as binary
git-svn-id: trunk@36222 -
2017-05-15 18:25:31 +00:00
Mattias Gaertner
f36c74dfcd fcl-passrc: generic tests
git-svn-id: trunk@36221 -
2017-05-15 15:14:02 +00:00
Mattias Gaertner
e38a0fa118 fcl-passrc: parser: generic record
git-svn-id: trunk@36220 -
2017-05-15 15:09:19 +00:00
Mattias Gaertner
d7614a19cc fcl-passrc: parser: generic record
git-svn-id: trunk@36219 -
2017-05-15 15:08:21 +00:00
Mattias Gaertner
76331eef75 fcl-passrc: parser: nested specialize: parse shr as two gt
git-svn-id: trunk@36218 -
2017-05-15 14:54:46 +00:00
Mattias Gaertner
6708c4ecbc fcl-passrc: parser: nested specialize: parse shr as two gt
git-svn-id: trunk@36217 -
2017-05-15 14:53:14 +00:00
Mattias Gaertner
c07c5d56ab fcl-passrc: read class ancestor with specialize
git-svn-id: trunk@36216 -
2017-05-15 14:19:16 +00:00
michael
83a0c4f459 * Include original copyright (bug ID 31804)
git-svn-id: trunk@36215 -
2017-05-15 13:28:58 +00:00
michael
06227c9557 * Fix bug ID #31814, StrToDateTimeDef with FormatSettings parameter
git-svn-id: trunk@36214 -
2017-05-15 13:10:56 +00:00
Mattias Gaertner
bd9978f9cf fcl-passrc: implemented TPasAliasType.Expr for string stype
git-svn-id: trunk@36213 -
2017-05-15 10:53:51 +00:00
michael
e11821f558 * Patch from Ondrej Pokorny to make Datamodule DPI aware (bug ID 31813)
git-svn-id: trunk@36212 -
2017-05-15 07:13:37 +00:00
Károly Balogh
2d8f56597e m68k: reenabled the 68k-specific n68kset node
git-svn-id: trunk@36211 -
2017-05-15 00:45:06 +00:00
Károly Balogh
ca1ec0435d m68k: fixed the signedness of conditional jumps while creating the jump list for case statements
git-svn-id: trunk@36210 -
2017-05-14 22:27:09 +00:00
florian
0f16f6d94d + OptPass1MOVXX
git-svn-id: trunk@36209 -
2017-05-14 20:59:10 +00:00
Károly Balogh
fbbe2981ca m68k: disable the cpu specific set node, until we fix some of the recently found problems with it
git-svn-id: trunk@36208 -
2017-05-14 20:52:18 +00:00
marcus
102fcc5ac6 AROS: Some more 64bit MethodID fixes
git-svn-id: trunk@36207 -
2017-05-14 13:43:01 +00:00
marcus
67c3fd2276 AROS: Semaphores are much bigger on 64bit, fixes crashes and freezes on AROS64 with Threading enabled
git-svn-id: trunk@36206 -
2017-05-14 13:39:15 +00:00
michael
bf2106bb54 * Patch from Andrey Zubarev to allow selection of logging of directives
git-svn-id: trunk@36205 -
2017-05-14 11:13:18 +00:00
marcus
20a8228c9a AmigaOS4: locale.library unit
git-svn-id: trunk@36204 -
2017-05-13 21:53:08 +00:00
florian
535c990233 + OptPass1MOVAP
git-svn-id: trunk@36203 -
2017-05-13 21:48:44 +00:00
maciej-izak
e91402af87 * better text format for management operators in ppudump.pp
git-svn-id: trunk@36202 -
2017-05-13 17:46:58 +00:00
florian
3ade6ae9b8 + Mov2Nop optimization
git-svn-id: trunk@36201 -
2017-05-13 09:58:27 +00:00
florian
f4a29bb75d * moved InstructionLoadsFromReg and RegReadByInstruction from TCpuAsmOptimizer (i386) to TX86AsmOptimizer
git-svn-id: trunk@36200 -
2017-05-13 09:58:25 +00:00
pierre
b7fab7d39c Add -Wh command line option to enable HugeCode (equivalent of $F+)
for msdos memory models that support this.
  Add message to document this new command line option.

git-svn-id: trunk@36199 -
2017-05-12 22:49:50 +00:00
joost
49d75902f6 * Cleanup build-files in case of an error + test
git-svn-id: trunk@36198 -
2017-05-12 20:50:05 +00:00
svenbarth
e9c40f5b24 + correctly handle COMDAT sections in COFF files (at least as long as the COMDAT selection isn't IMAGE_COMDAT_SELECT_ASSOCIATIVE or IMAGE_COMDAT_SELECT_EXACT_MATCH), fixes the .refptr problems mentioned in Mantis #30614
git-svn-id: trunk@36197 -
2017-05-12 15:57:31 +00:00
svenbarth
b74b3b0047 + placeholder function to check whether two tdynamicarray instances have the same contents (needs to be implemented for COMDAT selection with same content to work)
git-svn-id: trunk@36196 -
2017-05-12 15:52:07 +00:00
nickysn
a7ca75a4b6 * use current node's localswitches field for checking whether range and overflow
checking is on, when handling the inc/dec inline nodes, instead of using
  current_settings.localswitches
* when creating inline nodes in the optloadmodifystore optimization pass, copy
  localswitches from the node, that is being replaced, because otherwise,
  localswitches is copied from current_settings.localswitches at the time the
  new node is created, and that can already be in a different state, since
  optloadmodifystore is performed in a separate pass, after the current
  procedure has already been parsed and in this moment, it reflects the state
  of localswitches after the end of the procedure.
* these two fixes fix a bug, where an internalerror 2017032701 can happen, when
  compiling with -O3 code that turns on and off range/overflow checking in the
  middle of a procedure.

git-svn-id: trunk@36195 -
2017-05-12 14:07:13 +00:00
svenbarth
c90fbe1bf0 * fix for Mantis #31795: append a $ to internal functions init, finalize, init_implicit and finalize_implicit as their section names otherwise look the same as those of user declared functions with the same name
+ added test

git-svn-id: trunk@36194 -
2017-05-12 13:32:37 +00:00
svenbarth
23ec3db057 + added test for Mantis #30498 which is working now that array constructors are supported :)
git-svn-id: trunk@36193 -
2017-05-12 12:57:49 +00:00
Mattias Gaertner
9bd0b55ca2 fcl-passrc: test for skip $error
git-svn-id: trunk@36192 -
2017-05-12 12:53:15 +00:00
nickysn
460dd1c10a * remove the redundant equal typeconv, left over as an artifact after removing
the unnecessary widening of intermediary calculations to 64-bit. This allows,
  among other things, the x:=x+k optimization to be applied in the case of
  signed32:=signed32+unsigned32 types.

git-svn-id: trunk@36191 -
2017-05-12 11:40:06 +00:00
michael
603d54d0c2 * More fixes for bug ID #31719
git-svn-id: trunk@36190 -
2017-05-12 09:17:18 +00:00
michael
054d0bc89b * Fix bug #31734
git-svn-id: trunk@36189 -
2017-05-12 09:06:58 +00:00
michael
a5b0f7f975 * Fix for bug ID #31735
git-svn-id: trunk@36188 -
2017-05-12 08:48:11 +00:00
michael
f85d44ae04 * TestArrayAccess test for bug ID #31735
git-svn-id: trunk@36187 -
2017-05-12 08:43:23 +00:00
michael
6371309843 * Fix bug ID #31801, empty class var section
git-svn-id: trunk@36186 -
2017-05-12 08:36:02 +00:00
michael
313b316d78 * Fix bug #31800
git-svn-id: trunk@36185 -
2017-05-12 08:15:07 +00:00
Mattias Gaertner
2a0c83bb3c fcl-passrc: skip unknown $if functions by default
git-svn-id: trunk@36184 -
2017-05-11 20:12:46 +00:00
Mattias Gaertner
071225ca59 fcl-passrc: treat $error as warning by default
git-svn-id: trunk@36183 -
2017-05-11 19:08:05 +00:00
Mattias Gaertner
9eb7248817 fcl-passrc: ignore unknown functions in directive conditions, issue #31799
git-svn-id: trunk@36182 -
2017-05-11 17:45:10 +00:00
michael
a5ae6778e3 * Fix bug #31720
git-svn-id: trunk@36181 -
2017-05-11 16:08:26 +00:00
nickysn
1529aee506 + apply the "x:=k+x" / "x:=k [and/or/xor] x" optimization even when there are
two implicit type conversions, inserted by the compiler. This makes it work
  for smaller ints also (e.g. int16 and int8 on 32-bit platforms, etc.)

git-svn-id: trunk@36180 -
2017-05-11 15:27:11 +00:00
michael
dbc9b7f8b4 * Fix Bug ID #31733
git-svn-id: trunk@36179 -
2017-05-11 15:13:56 +00:00
Mattias Gaertner
e783e54e8c fcl-passrc: implemented $elseif
git-svn-id: trunk@36178 -
2017-05-11 14:18:13 +00:00
Mattias Gaertner
cbe98e75d8 fcl-passrc: $warning, $note, $hint
git-svn-id: trunk@36177 -
2017-05-11 11:07:25 +00:00
joost
1fba4f936b * Avoid double parameters (paths) on compilation of fpmake-executables
git-svn-id: trunk@36176 -
2017-05-10 21:23:00 +00:00