Commit Graph

54632 Commits

Author SHA1 Message Date
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
pierre
c39c8c1794 Merge commits 41973, 43427 and 45937
------------------------------------------------------------------------
r41973 | pierre | 2019-05-02 12:59:11 +0000 (Thu, 02 May 2019) | 1 line

Add flags field to TStatfs record
------------------------------------------------------------------------
--- Merging r41973 into '.':
U    rtl/linux/ptypes.inc
--- Recording mergeinfo for merge of r41973 into '.':
 U   .
------------------------------------------------------------------------
r43427 | florian | 2019-11-09 18:27:21 +0000 (Sat, 09 Nov 2019) | 1 line

  * TIOCtlRequest is declared as unsigned long according to man 2 ioctl
------------------------------------------------------------------------
--- Merging r43427 into '.':
G    rtl/linux/ptypes.inc
--- Recording mergeinfo for merge of r43427 into '.':
 G   .
------------------------------------------------------------------------
r45837 | pierre | 2020-07-23 21:03:19 +0000 (Thu, 23 Jul 2020) | 1 line

 Define __USE_LARGEFILE64 for sparc-linux, and adapt filed ffree type to that macro
------------------------------------------------------------------------
--- Merging r45837 into '.':
G    rtl/linux/ptypes.inc
--- Recording mergeinfo for merge of r45837 into '.':
 G   .

git-svn-id: branches/fixes_3_2@46284 -
2020-08-06 08:40:16 +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
d7de35c5b8 Partial merge of commit 39813, just the part that adds %OPT=-CE header line to tests needing explicit fpu exception checks
git-svn-id: branches/fixes_3_2@45971 -
2020-07-31 14:45:13 +00:00
pierre
a9b02a2991 Update fpcm/fpcmake.inc and fpcm/revision.inc
git-svn-id: branches/fixes_3_2@45970 -
2020-07-31 14:42:56 +00:00
marco
9d4703335b --- Merging r44789 into '.':
U    utils/fpcm/fpcmake.ini
--- Recording mergeinfo for merge of r44789 into '.':
 U   .

# revisions: 44789
r44789 | jonas | 2020-04-18 17:44:49 +0200 (Sat, 18 Apr 2020) | 1 line
Changed paths:
   M /trunk/utils/fpcm/fpcmake.ini

  - removed FPC pre-2.1 optimization options

git-svn-id: branches/fixes_3_2@45870 -
2020-07-28 15:32:35 +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
marco
0a7bb007e0 --- Merging r45818 into '.':
U   packages/chm
 U   packages/gdbint
 U   packages/ide
 U   packages/xforms
--- Recording mergeinfo for merge of r45818 into '.':
 U   .

# revisions: 45818
r45818 | pierre | 2020-07-21 14:17:40 +0200 (Tue, 21 Jul 2020) | 1 line
Changed paths:
   M /trunk/packages/chm
   M /trunk/packages/gdbint
   M /trunk/packages/ide
   M /trunk/packages/xforms

 Add bin subdirectories to svn:ignore property

git-svn-id: branches/fixes_3_2@45868 -
2020-07-28 14:41:40 +00:00
pierre
0c37879db2 Commit 45866 correspnods to change in commit 45638 in trunk,
merge here for svn:mergeinfo 
------------------------------------------------------------------------
r45638 | florian | 2020-06-11 17:30:12 +0000 (Thu, 11 Jun 2020) | 1 line

  * compilation on targets without fpu fixed
------------------------------------------------------------------------
--- Recording mergeinfo for merge of r45638 into '.':
 U   .

git-svn-id: branches/fixes_3_2@45867 -
2020-07-28 10:36:25 +00:00
pierre
ae1c9ac76e Fix compilation on targets without floating point types
git-svn-id: branches/fixes_3_2@45866 -
2020-07-28 09:28:59 +00:00
pierre
8ff9f4f743 Merge commit 45825
------------------------------------------------------------------------
r45825 | pierre | 2020-07-22 09:36:13 +0000 (Wed, 22 Jul 2020) | 1 line

 Revert commit #45737, as it introduces problelms for other test cases
------------------------------------------------------------------------
--- Merging r45825 into '.':
U    tests/Makefile
U    tests/Makefile.fpc
--- Recording mergeinfo for merge of r45825 into '.':
 U   .

git-svn-id: branches/fixes_3_2@45852 -
2020-07-25 12:48:03 +00:00
pierre
27960785a6 Merge commit 45836
------------------------------------------------------------------------
r45836 | pierre | 2020-07-23 20:59:03 +0000 (Thu, 23 Jul 2020) | 1 line

 Fix error in assembly startup code for sparc linux
------------------------------------------------------------------------
--- Merging r45836 into '.':
U    rtl/linux/sparc/prt0.as
--- Recording mergeinfo for merge of r45836 into '.':
 U   .

git-svn-id: branches/fixes_3_2@45851 -
2020-07-25 12:44:49 +00:00
pierre
a096c78e23 Try to fix rtl compilation error for some systems after last merge
git-svn-id: branches/fixes_3_2@45850 -
2020-07-25 11:28:01 +00:00
marco
775567e8f7 # revisions: 44598,45635,45757,45764,45772
git-svn-id: branches/fixes_3_2@45849 -
2020-07-24 21:09:00 +00:00
Jonas Maebe
bd4f2057e5 --- Merging r43186 into '.':
U    compiler/ngtcon.pas
A    tests/webtbs/tw36156.pp
--- Recording mergeinfo for merge of r43186 into '.':
 U   .
--- Merging r43594 into '.':
U    compiler/ncnv.pas
A    tests/test/units/cocoaall/tw36362.pp
--- Recording mergeinfo for merge of r43594 into '.':
 G   .
--- Merging r44788 into '.':
U    packages/fpmkunit/src/fpmkunit.pp
--- Recording mergeinfo for merge of r44788 into '.':
 G   .
--- Merging r45380 into '.':
G    packages/fpmkunit/src/fpmkunit.pp
--- Recording mergeinfo for merge of r45380 into '.':
 G   .
--- Merging r45673 into '.':
U    compiler/pinline.pas
A    tests/webtbs/tw37228.pp
--- Recording mergeinfo for merge of r45673 into '.':
 G   .

git-svn-id: branches/fixes_3_2@45770 -
2020-07-11 14:40:18 +00:00
Jonas Maebe
0df6e2d6a5 --- Merging r45767 into '.':
U    packages/cocoaint/src/CocoaAll.pas
--- Recording mergeinfo for merge of r45767 into '.':
 U   .

git-svn-id: branches/fixes_3_2@45769 -
2020-07-11 14:10:11 +00:00
pierre
9ad32e036a Merge commit 45737
------------------------------------------------------------------------
r45737 | pierre | 2020-07-07 11:40:36 +0000 (Tue, 07 Jul 2020) | 1 line

 Use FPCOPT variable instead of OPT, to also pass BINUTILSPREFIX as -XP option for createlst and gparmake compilation
------------------------------------------------------------------------

git-svn-id: branches/fixes_3_2@45746 -
2020-07-09 07:32:40 +00:00
pierre
27723aa97d Merge commit 45738
------------------------------------------------------------------------
r45738 | pierre | 2020-07-07 12:52:24 +0000 (Tue, 07 Jul 2020) | 1 line

 Avoid rewriting revision.inc if content is unchanged
------------------------------------------------------------------------
--- Merging r45738 into '.':
U    utils/fpcm/fpmake.pp
--- Recording mergeinfo for merge of r45738 into '.':
 U   .

git-svn-id: branches/fixes_3_2@45745 -
2020-07-09 07:26:50 +00:00
marco
a0f699ac3e # revisions: 44312,44313
git-svn-id: branches/fixes_3_2@45705 -
2020-06-27 20:47:37 +00:00
marco
7717e2c92e # revisions: 45676,45683
git-svn-id: branches/fixes_3_2@45703 -
2020-06-27 16:38:32 +00:00
marco
c5c9a86789 # revisions: 44295,44951,44955,45230
git-svn-id: branches/fixes_3_2@45702 -
2020-06-27 16:34:33 +00:00
svenbarth
a5f9ff9507 Merged revision(s) 45692-45694 from trunk:
* partial fix for Mantis #37253: po_hascallingconvention needs to be set as well when setting tprocdef.proccalloption
........
- partial fix for Mantis #37253: use SOCKADDR_STORAGE provided by the WinSock2 unit (which also has the correct size)
........
- remove FPC 3.0 compatibility IFDEF
........

git-svn-id: branches/fixes_3_2@45699 -
2020-06-26 21:15:22 +00:00
marco
09e9b70562 # revisions: 44255
git-svn-id: branches/fixes_3_2@45690 -
2020-06-24 18:09:54 +00:00
marco
baf8b99261 # revisions: 45370
git-svn-id: branches/fixes_3_2@45689 -
2020-06-24 17:58:59 +00:00
marco
b9e071c1c2 # revisions: 45336
git-svn-id: branches/fixes_3_2@45688 -
2020-06-24 17:46:40 +00:00
marco
615b5199c4 # revisions: 45226,45647,45648,45649,45657
git-svn-id: branches/fixes_3_2@45687 -
2020-06-24 17:23:56 +00:00
marco
dd481d3952 # revisions: 44293,44294,44435,44877,45188,45539
git-svn-id: branches/fixes_3_2@45686 -
2020-06-24 17:20:11 +00:00
marco
0e01824ae1 --- Merging r44265 into '.':
U    rtl/freebsd/i386/cprt0.as
--- Recording mergeinfo for merge of r44265 into '.':
 U   .
--- Merging r44273 into '.':
G    rtl/freebsd/i386/cprt0.as
--- Recording mergeinfo for merge of r44273 into '.':
 G   .

# revisions: 44265,44273

git-svn-id: branches/fixes_3_2@45682 -
2020-06-23 08:10:59 +00:00
marco
066ef146f5 --- Merging r44186 into '.':
U    packages/ide/fpdebug.pas
--- Recording mergeinfo for merge of r44186 into '.':
 U   .
--- Merging r44187 into '.':
G    packages/ide/fpdebug.pas
--- Recording mergeinfo for merge of r44187 into '.':
 G   .
--- Merging r44190 into '.':
G    packages/ide/fpdebug.pas
--- Recording mergeinfo for merge of r44190 into '.':
 G   .

# revisions: 44186,44187,44190

git-svn-id: branches/fixes_3_2@45681 -
2020-06-23 08:08:15 +00:00
marco
522350a85d * fixes to 3.2.1
git-svn-id: branches/fixes_3_2@45662 -
2020-06-20 16:47:24 +00:00
michael
5665a1e3f7 * Merging revisions 45631 from trunk:
------------------------------------------------------------------------
    r45631 | michael | 2020-06-10 09:54:23 +0200 (Wed, 10 Jun 2020) | 1 line
    
    * Fix bug ID #37197: add version numbers of CentOS
    ------------------------------------------------------------------------

git-svn-id: branches/fixes_3_2@45632 -
2020-06-10 08:04:50 +00:00
michael
85fdf6d52a * Fix bug ID #37172 (fixes branch)
git-svn-id: branches/fixes_3_2@45584 -
2020-06-03 20:54:31 +00:00
marco
7201fbe85e # revisions: 43880,44093
git-svn-id: branches/fixes_3_2@45533 -
2020-05-30 16:02:35 +00:00
Tomas Hajny
f6a3332e36 * fixes for some wrong names and additions of some missing packages
git-svn-id: branches/fixes_3_2@45481 -
2020-05-24 13:17:44 +00:00
marco
42a7ca2a92 --- Merging r43589 into '.':
U    rtl/linux/pthread.inc
U    rtl/unix/cthreads.pp
--- Recording mergeinfo for merge of r43589 into '.':
 U   .

# revisions: 43589
r43589 | florian | 2019-11-25 21:58:18 +0100 (Mon, 25 Nov 2019) | 1 line
Changed paths:
   M /trunk/rtl/linux/pthread.inc
   M /trunk/rtl/unix/cthreads.pp

  * patch by Benjamin Rosseaux: TEvent.WaitFor on *nix uses Monotonic Clock now

git-svn-id: branches/fixes_3_2@45460 -
2020-05-22 10:35:15 +00:00
marco
9b25c9bda6 # revisions: 45424
git-svn-id: branches/fixes_3_2@45428 -
2020-05-18 19:06:19 +00:00
marco
921fb2f4ec --- Merging r45410 into '.':
U    compiler/scandir.pas
A    tests/webtbs/tw37095.pp
A    tests/webtbs/tw37095d
A    tests/webtbs/tw37095d/uw37095.pp
--- Recording mergeinfo for merge of r45410 into '.':
 U   .

# revisions: 45410
r45410 | jonas | 2020-05-17 23:27:00 +0200 (Sun, 17 May 2020) | 2 lines
Changed paths:
   M /trunk/compiler/scandir.pas
   A /trunk/tests/webtbs/tw37095.pp
   A /trunk/tests/webtbs/tw37095d
   A /trunk/tests/webtbs/tw37095d/uw37095.pp

  * fixed unitdir directive for relative paths in case the current module's
    path is not set, broken by r43312 (mantis #37095)

git-svn-id: branches/fixes_3_2@45412 -
2020-05-18 06:52:17 +00:00
marco
95217ad437 --- Merging r45406 into '.':
U    packages/ide/wchmhwrap.pas
--- Recording mergeinfo for merge of r45406 into '.':
 U   .

# revisions: 45406

git-svn-id: branches/fixes_3_2@45407 -
2020-05-17 18:29:57 +00:00
marco
663e13d20e # revisions: 45398
git-svn-id: branches/fixes_3_2@45399 -
2020-05-17 12:04:20 +00:00
marco
4eedce268c * spell fix
git-svn-id: branches/fixes_3_2@45385 -
2020-05-16 14:26:52 +00:00
Jonas Maebe
275968ee88 --- Merging r45381 into '.':
U    packages/cocoaint/src/CocoaAll.pas
--- Recording mergeinfo for merge of r45381 into '.':
 U   .

git-svn-id: branches/fixes_3_2@45382 -
2020-05-16 13:42:23 +00:00
marco
b0ff5f8d9e # revisions: 45359
git-svn-id: branches/fixes_3_2@45377 -
2020-05-16 13:26:17 +00:00
Jonas Maebe
68457f0dc5 - disabled cs_opt_use_load_modify_store by default, because it does not
handle LOC_(C)SUBSETREF/REG. The optimisation itself has been fixed
    in trunk (r45301-r45305), the changes are too invasive to merge to
    fixes_3_2 at this time (mantis #37018)

git-svn-id: branches/fixes_3_2@45317 -
2020-05-09 11:07:58 +00:00
michael
529ab21bbb * Merging revisions 45252 from trunk:
------------------------------------------------------------------------
    r45252 | michael | 2020-05-04 11:54:39 +0200 (Mon, 04 May 2020) | 1 line
    
    * Better uses clause for Delphi, less warnings
    ------------------------------------------------------------------------

git-svn-id: branches/fixes_3_2@45253 -
2020-05-04 09:55:12 +00:00