Commit Graph

57072 Commits

Author SHA1 Message Date
svenbarth
e4c275a349 * extend test so that it also covers the SetToString/StringToSet variants take/return Integer arguments
git-svn-id: trunk@43047 -
2019-09-21 14:36:16 +00:00
svenbarth
ad8de624b8 * make halt codes unique
git-svn-id: trunk@43046 -
2019-09-21 14:36:13 +00:00
Károly Balogh
eb71d11b99 m68k: also handle OS_64 register sizes in cgsize2subreg
git-svn-id: trunk@43045 -
2019-09-20 13:48:30 +00:00
Károly Balogh
435b57bdb1 m68k: allow vecnode to use word size index registers
git-svn-id: trunk@43044 -
2019-09-20 11:37:18 +00:00
Károly Balogh
19a6964088 m68k: add subregisters. on 68k, these are not as universal as on x86 and work differently, but the compiler needs this infrastructure to do 16bit math (which is a massive improvement on '000) or word-size indexes on CPUs which support it
git-svn-id: trunk@43043 -
2019-09-20 11:35:35 +00:00
pierre
912bc1e65b + Add math unit dependency to types$(PPUEXT) rule.
* Fix missing close-brace in several types$(PPUEXT) rules.

git-svn-id: trunk@43042 -
2019-09-19 20:49:12 +00:00
michael
df6c01be27 * Lazarus project file for json test
git-svn-id: trunk@43041 -
2019-09-19 17:14:49 +00:00
michael
8d4a46a5bd command-line version of test progam
git-svn-id: trunk@43040 -
2019-09-19 17:11:55 +00:00
michael
64795253ae * Fix serverfilter and Refresh
git-svn-id: trunk@43039 -
2019-09-19 08:39:59 +00:00
michael
3dba0fe5b2 Call CurrentIndexBuf only once
git-svn-id: trunk@43038 -
2019-09-19 08:39:35 +00:00
michael
9396decb19 * Make sure FieldDefs.Update operates on prepared query
git-svn-id: trunk@43037 -
2019-09-19 08:02:05 +00:00
michael
b9e94a961d * Added test for bug ID #36086 (lookup on empty dataset)
git-svn-id: trunk@43035 -
2019-09-19 07:40:26 +00:00
michael
18479fa113 * Fix bug #36086 (Lookup causes AV if dataset is empty)
git-svn-id: trunk@43034 -
2019-09-19 07:35:38 +00:00
michael
19791c0a06 * Fix bug ID #36085
git-svn-id: trunk@43033 -
2019-09-19 07:31:53 +00:00
Mattias Gaertner
c769b8dc7d pastojs: type helper for jsvalue
git-svn-id: trunk@43032 -
2019-09-18 15:46:49 +00:00
Mattias Gaertner
1145d0d18a pas2js: replace setArrayLength with faster non recursive version
git-svn-id: trunk@43031 -
2019-09-18 15:34:33 +00:00
pierre
5cc4f0be20 Fix bug report #36081: fix cycling starting with i386-linux 3.0.4 release compiler
git-svn-id: trunk@43029 -
2019-09-18 07:45:47 +00:00
pierre
eb3a470f45 * assemble.pas (TInternalAssembler.TreePass0): Avoid range/overflow check error.
(TInternalAssembler.TreePass2): Check that objsymend and objsym are in same section
    and avoid range/overflow check error.

git-svn-id: trunk@43028 -
2019-09-17 21:06:18 +00:00
florian
94832d5eea * fixed define
git-svn-id: trunk@43027 -
2019-09-17 18:42:40 +00:00
michael
9aa024c7df * Allow sourcing program from stdn with -- option (bug ID 35945)
git-svn-id: trunk@43026 -
2019-09-17 10:35:36 +00:00
michael
ccfe575645 * Fix bug #36080, add wirecompression to IBConnection
git-svn-id: trunk@43025 -
2019-09-17 09:54:13 +00:00
michael
0ce71294ea * Fix Bug ID #0033025 : Prepare should be called only once for repeated use
git-svn-id: trunk@43024 -
2019-09-17 09:38:17 +00:00
michael
63106e3844 * Remove debug statement
git-svn-id: trunk@43023 -
2019-09-17 07:14:28 +00:00
pierre
0fa70759a2 * cutils.pas (size_2_align): Move to..
globals.pas (size_2_align): ...here.
     Change parameter type to asizeuint to avoid overflows.
     (var_align_size, const_align_size): Also change parameter type to asizeuint.
     i386/cpupara.pas, i8086/cpupara.pas, x86_64/cpupara.pas: Add globals
     to implementation uses clause because of size_2_align move.

git-svn-id: trunk@43022 -
2019-09-16 14:50:43 +00:00
Mattias Gaertner
3e673c09a9 pastojs: changed constraints to TPasElementArray, changed TInlineSpecializeExpr to NameExpr:TPasExpr and Params:TFPList
git-svn-id: trunk@43021 -
2019-09-16 14:26:33 +00:00
Mattias Gaertner
4f64058a9f fcl-passrc: changed constraints to TPasElementArray, changed TInlineSpecializeExpr to NameExpr:TPasExpr and Params:TFPList
git-svn-id: trunk@43020 -
2019-09-16 14:26:17 +00:00
pierre
0b2a6e5a74 * tests/Makefile.fpc: Add NATIVE_FPC=$(FPC) to tstunits rule make call.
* tests/Makefile: Regenerate.
  * tests/tstunits/Makefile.fpc: Pass FPCFPMAKE=$(NATIVE_FPC) to rtl and packages
    recompilation rules, to avoid truobles for cross-compilation.
  * tests/tstunits/Makefile: Regenerate.

git-svn-id: trunk@43019 -
2019-09-16 07:41:37 +00:00
Jonas Maebe
9678542ba6 + add "thunk" attribute for stubs/thunks and emit it for LLVM
- also removed wrong "noreturn" attribute for interface thunks generated
     for high level code generator targets

git-svn-id: trunk@43018 -
2019-09-15 20:43:12 +00:00
Jonas Maebe
ff2d718699 * fixed occasional rounding error with currency constants on the LLVM targets
(fixes test/tcustomattr13.pp)

git-svn-id: trunk@43017 -
2019-09-15 20:43:09 +00:00
Jonas Maebe
4deb62ad87 * fix for "ldr label" support in AArch64 assembler reader (r42988)
git-svn-id: trunk@43016 -
2019-09-15 17:26:25 +00:00
Jonas Maebe
13902c1c7a * fixed compilation for __ARM_EABI_UNWINDER__ with -dexcdebug
git-svn-id: trunk@43015 -
2019-09-15 17:26:21 +00:00
florian
bfd83911e4 * set stack alignment for i386-linux to 16 byte boundaries, this implies a fixed stack layout inside the subroutine code as well
git-svn-id: trunk@43014 -
2019-09-15 17:17:33 +00:00
florian
719ff5fb4c * converted _FPC_libc21_haltproc into a pascal subroutine so stack alignment is kept
git-svn-id: trunk@43013 -
2019-09-15 17:17:32 +00:00
florian
3e6e72118b * keep stack aligned to 16 byte boundaries in assembler subroutines calling other subroutines
git-svn-id: trunk@43012 -
2019-09-15 17:17:31 +00:00
florian
1872bee116 * stack checking checks also proper alignment
git-svn-id: trunk@43011 -
2019-09-15 17:17:30 +00:00
florian
bd35c02257 * cosmetics: indention
git-svn-id: trunk@43010 -
2019-09-15 17:17:30 +00:00
florian
48c5636fbc * make InvokeKernelRegister work for caller cleared stack/fixed stack and keep stack 16 byte aligned if needed
git-svn-id: trunk@43009 -
2019-09-15 17:17:29 +00:00
florian
26d8cc9142 + define FPC_STACKALIGNMENT
git-svn-id: trunk@43008 -
2019-09-15 17:17:28 +00:00
florian
49005d3948 * tests are not supposed to work anymore on linux with a fixed 16 byte aligned stack
git-svn-id: trunk@43007 -
2019-09-15 17:17:28 +00:00
florian
896e031e84 * interrupt procedures fixed for i386 targets with a fixed stack with 16 byte alignment
git-svn-id: trunk@43006 -
2019-09-15 17:17:27 +00:00
florian
72391dc4b8 * fix tests for targets with fixed stack which must be 16 byte aligned
git-svn-id: trunk@43005 -
2019-09-15 17:17:26 +00:00
Jonas Maebe
9e7cf37cd6 * changed resulttype and firstpass processing from recursion into loop, based
on patch/idea by J. Gareth Moreton (as part of his patch in #35857)

git-svn-id: trunk@43004 -
2019-09-15 16:18:14 +00:00
michael
f4921daee6 * Fix prepare without parameters
git-svn-id: trunk@43003 -
2019-09-15 10:14:29 +00:00
michael
671e3ddec7 * Demo for macro support
git-svn-id: trunk@43002 -
2019-09-15 10:14:01 +00:00
michael
15f999bcce * Implement macro support, by Zdravko Gabrovski (Bug ID 36057)
git-svn-id: trunk@43001 -
2019-09-15 10:13:20 +00:00
Jonas Maebe
78c901e3c4 * mention LLVM define
git-svn-id: trunk@43000 -
2019-09-14 17:31:11 +00:00
Jonas Maebe
617cc6984b * call DoUnhandledException instead of RunError(217) when the the psabi eh
unwinder returns an error (this is usually because there is no outer
    exception catching frame anymore -> unhandled exception) (based on patch by
    Cyrax, mantis #35751)

git-svn-id: trunk@42999 -
2019-09-14 17:30:53 +00:00
Jonas Maebe
a051b8d225 - remmoved doregister parameter from t*sym constructors, as the registration
is handled automatically nowadays

git-svn-id: trunk@42998 -
2019-09-14 17:30:45 +00:00
Jonas Maebe
d14fd51d0b * fix potential crash with copied goto nodes on nestedparentfp platforms
o as described in the comment for the tgotonode.labsym field, it will
     be null for copied gotonodes

git-svn-id: trunk@42997 -
2019-09-14 17:22:23 +00:00
marco
bcabeb36a1 * another input fix.
git-svn-id: trunk@42996 -
2019-09-14 15:28:55 +00:00