Commit Graph

21390 Commits

Author SHA1 Message Date
tg74
ea15ebdb91 working on backport bugfix 0037785
git-svn-id: branches/tg74/fixes_3_2@48151 -
2021-01-13 06:02:41 +00:00
tg74
8ab84bbddd working on backport bugfix 0037785
git-svn-id: branches/tg74/fixes_3_2@48144 -
2021-01-12 09:39:19 +00:00
tg74
e7f8011ab6 bugfix internal assembler vgather,vpgather,vscatter,vpscatter and register R13 vgatherdpd xmm0, [R13 + XMM0], xmm1
git-svn-id: branches/tg74/fixes_3_2@48133 -
2021-01-11 06:07:55 +00:00
marco
7bc877cc94 * Reverse-merged /trunk:r47746
git-svn-id: branches/fixes_3_2@48015 -
2021-01-03 15:55:57 +00:00
marco
fd02f9b727 # revisions: 44426,44562,45115,45371,45375,45511,44641,44559,47746
git-svn-id: branches/fixes_3_2@47934 -
2021-01-01 18:05:20 +00:00
pierre
a3db71325e Merge of commit #47207
------------------------------------------------------------------------
r47207 | pierre | 2020-10-26 13:40:45 +0000 (Mon, 26 Oct 2020) | 1 line

 Change CLZ support for arm32 minimal CPU to armv5t according to ARM documentation in arminst.dat
------------------------------------------------------------------------
--- Merging r47207 into '.':
U    compiler/arm/armins.dat
U    compiler/arm/armtab.inc
--- Recording mergeinfo for merge of r47207 into '.':
 U   .

git-svn-id: branches/fixes_3_2@47923 -
2020-12-31 11:18:37 +00:00
florian
06a0e48958 -- Zusammenführen von r43183 in ».«:
U    compiler/dbgdwarf.pas
-- Aufzeichnung der Informationen für Zusammenführung von r43183 in ».«:
 U   .
-- Zusammenführen von r47286 in ».«:
U    compiler/symdef.pas
-- Aufzeichnung der Informationen für Zusammenführung von r47286 in ».«:
 G   .
-- Zusammenführen von r44070 in ».«:
U    rtl/objpas/sysutils/sysstr.inc
-- Aufzeichnung der Informationen für Zusammenführung von r44070 in ».«:
 G   .

git-svn-id: branches/fixes_3_2@47912 -
2020-12-30 14:52:55 +00:00
florian
643d7c4d02 --- Merging r40738 into '.':
U    rtl/linux/Makefile.fpc
U    rtl/linux/Makefile
--- Recording mergeinfo for merge of r40738 into '.':
 U   .

git-svn-id: branches/fixes_3_2@47910 -
2020-12-30 14:33:38 +00:00
florian
e232588635 -- Zusammenführen von r46974 in ».«:
U    compiler/nflw.pas
A    tests/webtbs/tw37823.pp
-- Aufzeichnung der Informationen für Zusammenführung von r46974 in ».«:
 U   .

git-svn-id: branches/fixes_3_2@47909 -
2020-12-30 14:31:24 +00:00
florian
7eeaf5d5a0 -- Zusammenführen von r46973 in ».«:
U    compiler/htypechk.pas
U    compiler/ncal.pas
A    tests/webtbs/tw37796.pp
-- Aufzeichnung der Informationen für Zusammenführung von r46973 in ».«:
 U   .

git-svn-id: branches/fixes_3_2@47908 -
2020-12-30 14:22:51 +00:00
pierre
8e9f91ee79 Merge commit 47798 to fixes branch
------------------------------------------------------------------------
r47798 | pierre | 2020-12-16 23:16:37 +0000 (Wed, 16 Dec 2020) | 1 line

 Try to fix sparc32 code generation error for overflow test
------------------------------------------------------------------------
--- Merging r47798 into '.':
U    compiler/sparcgen/cgsparc.pas
--- Recording mergeinfo for merge of r47798 into '.':
 U   .

git-svn-id: branches/fixes_3_2@47825 -
2020-12-20 22:04:33 +00:00
svenbarth
f3c1733daa * undo merge of 45365 as it requires another revision that's only in trunk
git-svn-id: branches/fixes_3_2@47822 -
2020-12-20 10:50:55 +00:00
svenbarth
036c9f7ff2 --- Merging r45365 into '.':
U    compiler/systems/t_embed.pas
--- Recording mergeinfo for merge of r45365 into '.':
 U   .
--- Merging r45707 into '.':
U    compiler/defcmp.pas
A    tests/tbs/tb0675.pp
--- Recording mergeinfo for merge of r45707 into '.':
 G   .
--- Merging r46279 into '.':
U    compiler/pexpr.pas
A    tests/test/tarrconstr8.pp
--- Recording mergeinfo for merge of r46279 into '.':
 G   .
--- Merging r47110 into '.':
U    compiler/symdef.pas
A    tests/tbs/tb0679.pp
A    tests/tbs/tb0680.pp
--- Recording mergeinfo for merge of r47110 into '.':
 G   .

git-svn-id: branches/fixes_3_2@47819 -
2020-12-19 21:21:05 +00:00
svenbarth
c60ce2af07 --- Merging r43264 into '.':
U    compiler/dbgdwarf.pas
--- Recording mergeinfo for merge of r43264 into '.':
 U   .
--- Merging r45050 into '.':
U    compiler/defutil.pas
U    compiler/nmat.pas
--- Recording mergeinfo for merge of r45050 into '.':
 G   .
--- Merging r45051 into '.':
U    compiler/scanner.pas
--- Recording mergeinfo for merge of r45051 into '.':
 G   .
--- Merging r45052 into '.':
G    compiler/scanner.pas
--- Recording mergeinfo for merge of r45052 into '.':
 G   .
--- Merging r45053 into '.':
G    compiler/scanner.pas
A    tests/tbs/tb0670.pp
--- Recording mergeinfo for merge of r45053 into '.':
 G   .
--- Merging r47601 into '.':
G    compiler/scanner.pas
--- Recording mergeinfo for merge of r47601 into '.':
 G   .
--- Merging r47602 into '.':
U    compiler/scandir.pas
U    tests/tbs/tb0596.pp
--- Recording mergeinfo for merge of r47602 into '.':
 G   .

git-svn-id: branches/fixes_3_2@47804 -
2020-12-17 22:08:25 +00:00
svenbarth
c6e377b4a9 --- Merging r45972 into '.':
U    compiler/defcmp.pas
--- Recording mergeinfo for merge of r45972 into '.':
 U   .
--- Merging r47101 into '.':
U    compiler/pexpr.pas
A    tests/webtbs/tw37844.pp
--- Recording mergeinfo for merge of r47101 into '.':
 G   .
--- Merging r47253 into '.':
G    compiler/defcmp.pas
A    tests/webtbs/tw38012.pp
--- Recording mergeinfo for merge of r47253 into '.':
 G   .
--- Merging r47424 into '.':
U    compiler/pdecsub.pas
A    tests/webtbs/tw38083.pp
--- Recording mergeinfo for merge of r47424 into '.':
 G   .
--- Merging r47425 into '.':
U    compiler/nflw.pas
A    tests/webtbs/tw38058.pp
--- Recording mergeinfo for merge of r47425 into '.':
 G   .
--- Merging r47686 into '.':
U    compiler/ncal.pas
A    tests/test/tgenfunc23.pp
--- Recording mergeinfo for merge of r47686 into '.':
 G   .

git-svn-id: branches/fixes_3_2@47803 -
2020-12-17 21:47:29 +00:00
svenbarth
e6ad8a0dfa Merged revision(s) 44172, 44188, 45457 - 45458, 45645, 46218, 46953 from trunk:
r46953
* fix for Mantis #37806: allow undefineddefs for Include() and Exclude() + added tests
---------------------
r46218
* fix for Mantis #37187: inside generics the constant code in pexpr does not handle all cases and thus current_procinfo needs to be checked as well + added test
---------------------
r45645
* correctly set the generic related defoptions for an outlined procdef
---------------------
r45458
  * make more use of is_typeparam
---------------------
r45457
  * constrained type parameters are not undefined defs, resolves #37107
---------------------
r44188
* keep track of the fileposinfo for generic constraints
---------------------
r44172
* only resolve a dummy symbol if it is a type symbol (thus truly a dummy symbol) + added tests
---------------------

git-svn-id: branches/fixes_3_2@47802 -
2020-12-17 21:31:16 +00:00
yury
b9fe6b9612 Merged revision(s) 47683, 47749 from trunk:
* The code generator of the exit statement must set the fc_gotolabel flag in flowcontrol for inlined routines/code blocks. It fixes the incorrect assumption that such exit statements terminate the main routine.
........
* Renamed fc_block_with_exit to fc_no_direct_exit to expand its usage.
* Set fc_no_direct_exit in case when a routine has an additional implicit exit code, such as calling FreeInstance in the destructor.
........

git-svn-id: branches/fixes_3_2@47800 -
2020-12-17 15:22:03 +00:00
svenbarth
8a249b2d74 Merged revision(s) 44256-44257, 44746, 45329 from trunk:
* fix for Mantis #36706: only link a library against the dynamic loader if we're not linking against the C library anyway

Note: I did not yet find a case where we *do* need to link a library against the loader; this will have to be investigated further, but for 3.2.0 this is safest
........
* fix for Mantis #36738: when copying a record using its copy operator we assume that we've copied the whole record; this way managed records inside non-managed records are handled correctly
+ added (adjusted) test
........
* when checking for an existing operator overload for the assignment operator, check for the correct variant (explicit or not) matching the overload
+ added tests
........
* GetLoadErrorStr (currently) returns a ShortString, so avoid a useless conversion to AnsiString
........

git-svn-id: branches/fixes_3_2@47771 -
2020-12-13 21:52:13 +00:00
Jonas Maebe
c9c1c1686c --- Merging r46880 into '.':
U    rtl/aarch64/mathu.inc
--- Recording mergeinfo for merge of r46880 into '.':
 U   .
--- Merging r40512 into '.':
A    tests/webtbs/tw33607.pp
--- Recording mergeinfo for merge of r40512 into '.':
 G   .
--- Merging r42961 into '.':
U    compiler/aarch64/aasmcpu.pas
--- Recording mergeinfo for merge of r42961 into '.':
 G   .
--- Merging r44932 into '.':
G    compiler/aarch64/aasmcpu.pas
--- Recording mergeinfo for merge of r44932 into '.':
 G   .
--- Merging r44933 into '.':
U    compiler/aarch64/racpugas.pas
--- Recording mergeinfo for merge of r44933 into '.':
 G   .
--- Merging r44998 into '.':
U    compiler/aarch64/racpu.pas
--- Recording mergeinfo for merge of r44998 into '.':
 G   .
--- Merging r45667 into '.':
G    compiler/aarch64/racpugas.pas
U    compiler/rautils.pas
A    tests/webtbs/tw37218.pp
--- Recording mergeinfo for merge of r45667 into '.':
 G   .
--- Merging r45814 into '.':
U    compiler/aarch64/rgcpu.pas
A    tests/webtbs/tw37393.pp
--- Recording mergeinfo for merge of r45814 into '.':
 G   .
--- Merging r46690 into '.':
G    compiler/aarch64/aasmcpu.pas
--- Recording mergeinfo for merge of r46690 into '.':
 G   .
--- Merging r46871 into '.':
U    compiler/aarch64/cgcpu.pas
--- Recording mergeinfo for merge of r46871 into '.':
 G   .

git-svn-id: branches/fixes_3_2@47756 -
2020-12-11 15:40:07 +00:00
pierre
23eb698f81 r47711 | pierre | 2020-12-07 16:35:46 +0000 (Mon, 07 Dec 2020) | 9 lines
* Initialize result out parameter by caling the constructor Init, not the method Reset.
      This out parameter called 'result' is of type tcgpara, which is an object, but not a class,
      it has no virtual method, which means that the VMT is never used, and thus the
      fact that the object is not 'constructed' can be easily missed.
      Nevertheless, it could generate problems as the different fields have unassigned
      and thus random value, while reset method can dereference location field
      if not nil.
      Issue found by using -gttt compiler option.

------------------------------------------------------------------------
--- Merging r47711 into '.':
U    compiler/aarch64/cpupara.pas
--- Recording mergeinfo for merge of r47711 into '.':
 U   .

git-svn-id: branches/fixes_3_2@47723 -
2020-12-08 12:26:12 +00:00
svenbarth
4dca62b568 Merged revision(s) 43114-43115, 46943 from trunk:
* fix for Mantis #36121: define FPC_ISO and FPC_EXTENDEDPASCAL for modes ISO and EXTENDEDPASCAL respectively
........
+ add tests to check for correct definition of the FPC_* mode defines
........
* according to ISO 10206 (Extended Pascal) 6.9.3.5 the "otherwise"-clause is supported for case-statements
+ added test
........

git-svn-id: branches/fixes_3_2@47594 -
2020-11-25 22:42:41 +00:00
svenbarth
846775f4b6 Merged revision(s) 46875-46876 from trunk:
* generate an internal error if the section name should be larger than 8
........
* fix for Mantis #37745: section names where the string offset has more than 7 digits need to be Base64 encoded
........

git-svn-id: branches/fixes_3_2@47590 -
2020-11-25 22:25:26 +00:00
svenbarth
63e2259556 Merged revision(s) 42673, 47066, 47070 from trunk:
* x86_64: Fixed code generation for try..finally blocks, so that exit label from inner try..finally stays within scope of procedure's implicit try..finally block if one is present. Mantis #34772.

........
  * patch by J. Gareth Moreton: propagate exit use in nested try...except statements,
    resolves #35841
........
  * fix #35841 also for break and continue
........

git-svn-id: branches/fixes_3_2@47589 -
2020-11-25 22:20:21 +00:00
svenbarth
92a580d3a6 Merged revision(s) 41868-41869 from trunk:
* ensure that the correct amount of parameters is used for an operator overload (this is essentially important for unary operators that were declared with two arguments)
........
* fix for Mantis #35348: correctly handle symbols that aren't parameter types (e.g. default values)
+ added test
........

git-svn-id: branches/fixes_3_2@47587 -
2020-11-25 21:39:12 +00:00
svenbarth
7988446f1a Merged revision(s) 39802, 39816-39817 from trunk:
* fix for Mantis #34332: allow 2 parameter form of Copy also for ShortString variables
+ added test
........
* have the fpc_*_copy compiler intrinsics reference the intrinsic symbol they belong to
........
* fix for Mantis #34333: improve error output for incorrect calls to Copy()
........

git-svn-id: branches/fixes_3_2@47586 -
2020-11-25 21:24:41 +00:00
florian
37e676d927 -- Zusammenführen von r47415 in ».«:
U    compiler/nbas.pas
A    tests/webtbs/tw38069.pp
A    tests/webtbs/uw38069.pp
-- Aufzeichnung der Informationen für Zusammenführung von r47415 in ».«:
 U   .

git-svn-id: branches/fixes_3_2@47422 -
2020-11-15 14:15:06 +00:00
florian
f8e55c4350 -- Zusammenführen von r39934 in ».«:
U    compiler/defcmp.pas
U    compiler/node.pas
U    compiler/pexpr.pas
A    tests/webtbs/tw34037.pp
-- Aufzeichnung der Informationen für Zusammenführung von r39934 in ».«:
 U   .

git-svn-id: branches/fixes_3_2@47421 -
2020-11-15 14:05:21 +00:00
florian
52235af80c -- Zusammenführen von r44119 in ».«:
U    compiler/hlcgobj.pas
A    tests/webtbs/tw35590.pp
-- Aufzeichnung der Informationen für Zusammenführung von r44119 in ».«:
 U   .

git-svn-id: branches/fixes_3_2@47152 -
2020-10-22 19:38:01 +00:00
marco
2b9ddf3bee # revisions: 45519,46865,46918
git-svn-id: branches/fixes_3_2@47095 -
2020-10-11 15:53:29 +00:00
florian
d0f65b36ab --- Recording mergeinfo for merge of r39871 into '.':
U   .
--- Recording mergeinfo for merge of r42891 into '.':
 U   .
--- Merging r43167 into '.':
U    compiler/aarch64/cgcpu.pas
U    rtl/aarch64/aarch64.inc
--- Recording mergeinfo for merge of r43167 into '.':
 U   .
--- Recording mergeinfo for merge of r45788 into '.':
 G   .
--- Merging r46870 into '.':
U    rtl/linux/aarch64/sighnd.inc
U    rtl/linux/aarch64/sighndh.inc
--- Recording mergeinfo for merge of r46870 into '.':
 G   .
--- Merging r46872 into '.':
G    rtl/linux/aarch64/sighnd.inc
--- Recording mergeinfo for merge of r46872 into '.':
 G   .
--- Merging r46913 into '.':
U    compiler/systems/t_linux.pas
--- Recording mergeinfo for merge of r46913 into '.':
 G   .

git-svn-id: branches/fixes_3_2@47037 -
2020-10-03 09:22:40 +00:00
pierre
b1249dcc32 * Merge commit #45720
------------------------------------------------------------------------
r45720 | pierre | 2020-07-02 16:26:13 +0000 (Thu, 02 Jul 2020) | 1 line

 Obsolete system_mips_embedded, as it is a duplicate of system_mipseb_embedded
------------------------------------------------------------------------
--- Merging r45720 into '.':
U    compiler/systems.inc
U    compiler/systems.pas
--- Recording mergeinfo for merge of r45720 into '.':
 U   .

git-svn-id: branches/fixes_3_2@47004 -
2020-09-29 14:53:00 +00:00
pierre
0830edbde5 Regenerate all Makefile's after ios introduction and macos->macosclassic changes inside utils/fpcm/fpcmake.ini
git-svn-id: branches/fixes_3_2@46923 -
2020-09-23 09:47:20 +00:00
pierre
756fcb95e4 ------------------------------------------------------------------------
r45788 | pierre | 2020-07-15 09:01:10 +0000 (Wed, 15 Jul 2020) | 1 line

 Also issue -mfpu option when calling GNU assembler for fpu_fpa family
------------------------------------------------------------------------
--- Merging r45788 into '.':
U    compiler/arm/agarmgas.pas
--- Recording mergeinfo for merge of r45788 into '.':
 U   .

git-svn-id: branches/fixes_3_2@46922 -
2020-09-23 09:19:51 +00:00
pierre
c27981c5f4 Merge commits 46484 and 46487 to fix linux-powerpc64le snapshot generation.
------------------------------------------------------------------------
r46484 | pierre | 2020-08-18 22:52:47 +0200 (Tue, 18 Aug 2020) | 1 line

 Avoid internalerror 200203273 by handling LOC_CSUBSETREG and LOC_CSUBSETREF as LOC_SUBSETREG in tcgassignmentnode.pass_generate_code
------------------------------------------------------------------------
--- Merging r46484 into '.':
U    compiler/ncgld.pas
--- Recording mergeinfo for merge of r46484 into '.':
 U   .
------------------------------------------------------------------------
r46487 | pierre | 2020-08-18 23:58:19 +0200 (Tue, 18 Aug 2020) | 1 line

 Amend commit 46484: Do not accept LOC_CSUBSETREF location type as this represents read-only memory region which should never be modified
------------------------------------------------------------------------
--- Merging r46487 into '.':
G    compiler/ncgld.pas
--- Recording mergeinfo for merge of r46487 into '.':
 G   .

git-svn-id: branches/fixes_3_2@46921 -
2020-09-23 08:53:55 +00:00
Jonas Maebe
ff7f5ee423 --- Merging r44456 into '.':
U    compiler/compiler.pas
--- Recording mergeinfo for merge of r44456 into '.':
 U   .

git-svn-id: branches/fixes_3_2@46879 -
2020-09-16 19:35:09 +00:00
Jonas Maebe
b6eafa3039 * regenerated Makefiles
git-svn-id: branches/fixes_3_2@46868 -
2020-09-15 19:54:06 +00:00
Jonas Maebe
76045bfc04 * merged macOS/AArch64 support + revisions these changes depended on
git-svn-id: branches/fixes_3_2@46866 -
2020-09-15 19:40:36 +00:00
pierre
74ce84f8e4 * Revert merge of commits 46507, 46510 and 46532,
because it broke 'make singlezipinstall'

git-svn-id: branches/fixes_3_2@46718 -
2020-08-27 20:02:16 +00:00
pierre
919c932443 * Merge commits 46507, 46510 and 46532
------------------------------------------------------------------------
r46507 | pierre | 2020-08-20 13:17:59 +0000 (Thu, 20 Aug 2020) | 1 line

 Do not set EXCLUDE_80BIT_TARGETS to 1 if OPT variable contains -dFPC_SOFT_FPUX80
------------------------------------------------------------------------
--- Merging r46507 into '.':
U    compiler/Makefile
U    compiler/Makefile.fpc
--- Recording mergeinfo for merge of r46507 into '.':
 U   .
------------------------------------------------------------------------
r46510 | pierre | 2020-08-20 16:01:34 +0000 (Thu, 20 Aug 2020) | 4 lines

  Fix error in previous commit
  Try to avoid unneeded steps for fullinstallsymlink

------------------------------------------------------------------------
--- Merging r46510 into '.':
G    compiler/Makefile
G    compiler/Makefile.fpc
--- Recording mergeinfo for merge of r46510 into '.':
 G   .
------------------------------------------------------------------------
r46532 | pierre | 2020-08-21 09:13:59 +0000 (Fri, 21 Aug 2020) | 6 lines

   * Remove debug ECHO lines
   * Fix detection of -dFPC_SOFT_FPUX80, as OPT is reset after
     being copied over to LOCALOPT.
   + Add FULL_TARGETS that list all targets concerned by fullcyle and associated targets.

------------------------------------------------------------------------
--- Merging r46532 into '.':
G    compiler/Makefile
G    compiler/Makefile.fpc
--- Recording mergeinfo for merge of r46532 into '.':
 G   .

git-svn-id: branches/fixes_3_2@46683 -
2020-08-25 08:36:19 +00:00
pierre
a037b1931e * Merge commit #46501
------------------------------------------------------------------------
r46501 | pierre | 2020-08-20 05:20:26 +0000 (Thu, 20 Aug 2020) | 1 line

 Also add platformopt to DllCmd[1], as done for ExeCmd[1]
------------------------------------------------------------------------
--- Merging r46501 into '.':
U    compiler/systems/t_linux.pas
--- Recording mergeinfo for merge of r46501 into '.':
 U   .

git-svn-id: branches/fixes_3_2@46680 -
2020-08-24 21:53:51 +00:00
pierre
2dbe24fec5 * Merge commit #39997
------------------------------------------------------------------------
r39997 | pierre | 2018-10-20 18:11:25 +0000 (Sat, 20 Oct 2018) | 1 line

 Also fix first_abs_real like in rev 39988
------------------------------------------------------------------------
--- Merging r39997 into '.':
U    compiler/ninl.pas
--- Recording mergeinfo for merge of r39997 into '.':
 U   .

git-svn-id: branches/fixes_3_2@46555 -
2020-08-22 21:12:55 +00:00
pierre
922c95d317 * Merge 39989 to allow correct fullcycle with -O4
------------------------------------------------------------------------
r39989 | florian | 2018-10-20 09:16:51 +0000 (Sat, 20 Oct 2018) | 2 lines

* wrong ifdef exposed by warning with -O3 fixed

------------------------------------------------------------------------
--- Merging r39989 into '.':
U    compiler/ppcgen/hlcgppc.pas
--- Recording mergeinfo for merge of r39989 into '.':
 U   .

git-svn-id: branches/fixes_3_2@46286 -
2020-08-06 09:31:05 +00:00
pierre
4ba3bfb227 * Also merge 39991 to avoid wrong typecast in first_sqrt_real
------------------------------------------------------------------------
r39991 | florian | 2018-10-20 10:18:45 +0000 (Sat, 20 Oct 2018) | 2 lines

* same fix as in r39988 for fpc_first_sqrt

------------------------------------------------------------------------
--- Merging r39991 into '.':
U    compiler/ninl.pas
--- Recording mergeinfo for merge of r39991 into '.':
 U   .

git-svn-id: branches/fixes_3_2@46285 -
2020-08-06 09:13:20 +00:00
svenbarth
1e64c9947e Merged revision(s) 45974 from trunk:
* fix for Mantis #37355: the method name and the named parameters need to be separated by a single #0
+ added test
........

git-svn-id: branches/fixes_3_2@46278 -
2020-08-05 21:33:45 +00:00
pierre
cc46cc56e2 Merge invalid typecast fix 39988
------------------------------------------------------------------------
r39988 | pierre | 2018-10-19 23:04:55 +0000 (Fri, 19 Oct 2018) | 1 line

 Fix wrong explicit typecast that lead to memory corruption in first_sqr_real
------------------------------------------------------------------------
--- Merging r39988 into '.':
U    compiler/ninl.pas
--- Recording mergeinfo for merge of r39988 into '.':
 U   .

git-svn-id: branches/fixes_3_2@46238 -
2020-08-05 06:33:11 +00:00
pierre
ec4954111e Remove multiple calls to cg.g_check_for_fpu_exception, only keep call to cg.maybe_check_for_fpu_exception (merging error)
git-svn-id: branches/fixes_3_2@46231 -
2020-08-04 15:30:31 +00:00
pierre
d1f31fab15 Merge commits 42525 and 45891 that add
checks for fpu exceptions for arm and aarch64.
------------------------------------------------------------------------
r42525 | florian | 2019-07-28 21:06:36 +0000 (Sun, 28 Jul 2019) | 2 lines

+ software handling of exceptions on arm
* reworked software handling of exceptions so they can be check lazily
------------------------------------------------------------------------
--- Merging r42525 into '.':
U    compiler/arm/cgcpu.pas
U    compiler/arm/narmadd.pas
U    compiler/arm/narminl.pas
U    compiler/arm/narmmat.pas
U    compiler/ncgcal.pas
U    compiler/procinfo.pas
U    rtl/arm/arm.inc
--- Recording mergeinfo for merge of r42525 into '.':
 U   .
Summary of conflicts:
  Tree conflicts: 1
------------------------------------------------------------------------
r42891 | florian | 2019-09-01 17:26:11 +0000 (Sun, 01 Sep 2019) | 1 line

+ support for software floating point exception handling on AArch64 (-CE)
------------------------------------------------------------------------
--- Merging r42891 into '.':
U    compiler/aarch64/cgcpu.pas
U    compiler/aarch64/ncpuadd.pas
U    compiler/aarch64/ncpuinl.pas
U    compiler/aarch64/ncpumat.pas
U    rtl/aarch64/aarch64.inc
U    rtl/aarch64/math.inc
U    rtl/aarch64/mathu.inc
--- Recording mergeinfo for merge of r42891 into '.':
 G   .

git-svn-id: branches/fixes_3_2@46225 -
2020-08-04 10:30:50 +00:00
svenbarth
52be8c6631 Merged revision(s) 42776 from trunk:
* fix for Mantis #35981: ensure that the "specialize" token is only really used in non-Delphi modes
........

git-svn-id: branches/fixes_3_2@45994 -
2020-08-02 17:51:34 +00:00
pierre
80553119b5 Merge cs_check_fpu_exception part of commit 39813
Adapt ppudump to added entry to tlocalswitch enum type.

git-svn-id: branches/fixes_3_2@45984 -
2020-08-02 09:02:10 +00:00
pierre
43b80d4afa Merge commit #42582:
------------------------------------------------------------------------
r42582 | pierre | 2019-08-05 09:02:16 +0000 (Mon, 05 Aug 2019) | 1 line

 Do not use -Sew (turn warnings into errors) if CYCLELEVEL is equal to 1
------------------------------------------------------------------------
--- Merging r42582 into '.':
U    compiler/Makefile
U    compiler/Makefile.fpc
--- Recording mergeinfo for merge of r42582 into '.':
 U   .

git-svn-id: branches/fixes_3_2@45869 -
2020-07-28 14:51:42 +00:00