[gcc r16-9] Document peculiarities of BOOLEAN_TYPE

2025-04-17 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:3dabe6a53ef3ac24956938e2974d1c21a2a5c7ee commit r16-9-g3dabe6a53ef3ac24956938e2974d1c21a2a5c7ee Author: Eric Botcazou Date: Thu Apr 17 20:46:57 2025 +0200 Document peculiarities of BOOLEAN_TYPE gcc/ * tree.def (BOOLEAN_TYPE): Add more details

Re: [PATCH] Fix wrong optimization of conditional expression with enumeration type

2025-04-17 Thread Eric Botcazou
ents of vector masks, + although it is believed to be true for all boolean types built in the + front-ends of the various languages. */ DEFTREECODE (BOOLEAN_TYPE, "boolean_type", tcc_type, 0) /* Integer types in all languages, including char in C. -- Eric Botcazou

Re: [Bug] problem with FP compliance using option -march=native

2025-04-17 Thread Eric Botcazou
standard. This is implemented for C and C++, where it enables contraction within one expression, but not across different statements. The default is '-ffp-contract=off' for C in a standards compliant mode ('-std=c11' or similar), '-ffp-contract=fast' otherwise. -- Eric Botcazou

Re: [PATCH] Fix wrong optimization of conditional expression with enumeration type

2025-04-17 Thread Eric Botcazou
tcc_type, 0) /* Integer types in all languages, including char in C. -- Eric Botcazou

[gcc r14-11645] Fix wrong optimization of conditional expression with enumeration type

2025-04-16 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:62151c32e3dc06322dec5543dc231e310140d3a3 commit r14-11645-g62151c32e3dc06322dec5543dc231e310140d3a3 Author: Eric Botcazou Date: Wed Apr 16 22:01:31 2025 +0200 Fix wrong optimization of conditional expression with enumeration type This is a regression

[gcc r15-9535] Fix wrong optimization of conditional expression with enumeration type

2025-04-16 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:d5d7dfab811de74cff88759785d0d5068b3b1121 commit r15-9535-gd5d7dfab811de74cff88759785d0d5068b3b1121 Author: Eric Botcazou Date: Wed Apr 16 22:01:31 2025 +0200 Fix wrong optimization of conditional expression with enumeration type This is a regression

[PATCH] Fix wrong optimization of conditional expression with enumeration type

2025-04-16 Thread Eric Botcazou
Botcazou * tree-ssa-phiopt.cc (factor_out_conditional_operation): Do not bypass the int_fits_type_p test for boolean types whose precision is not 1. 2025-04-15 Eric Botcazou * gnat.dg/opt105.adb: New test. * gnat.dg/opt105_pkg.ads, gnat.dg/opt105_pkg.adb

[gcc r14-11611] Revert very recent backport of changes to the type system

2025-04-14 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:5457388f58262bee41ae1d744ff6f3da34119e2d commit r14-11611-g5457388f58262bee41ae1d744ff6f3da34119e2d Author: Eric Botcazou Date: Mon Apr 14 23:35:43 2025 +0200 Revert very recent backport of changes to the type system The backport of the change made for PR c

Fix PR lto/119792

2025-04-14 Thread Eric Botcazou
branch), where the change is equally problematic, until a way out is devised for Ada. Tested on x86-64/Linux, applied on the 14 branch. 2025-04-14 Eric Botcazou PR lto/119792 Revert Backported from master: 2024-12-12 Martin Uecker PR c/113688

[gcc r14-11603] Add testcase for PR lto/119792

2025-04-14 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:569f826774a90e18d6a020a30efd6075587ebcb3 commit r14-11603-g569f826774a90e18d6a020a30efd6075587ebcb3 Author: Eric Botcazou Date: Mon Apr 14 09:23:30 2025 +0200 Add testcase for PR lto/119792 It demonstrates a serious LTO breakage for the Ada language

[gcc r15-9419] Fix implementation of Win32 thread model for C++ modules

2025-04-14 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:5c82694319a168a1369bafa4c6e21b664a5d0bc8 commit r15-9419-g5c82694319a168a1369bafa4c6e21b664a5d0bc8 Author: Eric Botcazou Date: Mon Apr 14 09:32:20 2025 +0200 Fix implementation of Win32 thread model for C++ modules This applies the same magic to config/i386

[gcc r15-9418] Add testcase for PR lto/119792

2025-04-14 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:ec4bf5b6c22e205c9396fc7250da971ec75e3aa3 commit r15-9418-gec4bf5b6c22e205c9396fc7250da971ec75e3aa3 Author: Eric Botcazou Date: Mon Apr 14 09:23:30 2025 +0200 Add testcase for PR lto/119792 It demonstrates a serious LTO breakage for the Ada language

[Ada] Fix PR ada/119643

2025-04-12 Thread Eric Botcazou
to the wrong conclusion that it does not. Tested on x86-64/Linux, applied on the mainline. 2025-04-12 Eric Botcazou PR ada/119643 * sem_ch8.adb (Inherit_Renamed_Profile): Add guard against the peculiarities of Natural and Positive. 2025-04-12 Eric Botcazou

[gcc r15-9394] Ada: Natural/Positive not ignored in subprogram renaming

2025-04-12 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:ecef0d7c53d59a701bc09e2df8fbec5d4c61267a commit r15-9394-gecef0d7c53d59a701bc09e2df8fbec5d4c61267a Author: Eric Botcazou Date: Sat Apr 12 11:35:44 2025 +0200 Ada: Natural/Positive not ignored in subprogram renaming The language says that the profile of a

[PATCH] Fix PR target/119673

2025-04-11 Thread Eric Botcazou
Hi, this applies the same magic to config/i386/gthr-win32.h that was applied to gthr-posix.h (https://gcc.gnu.org/cgit/gcc/commit/?id=6a4d1c374eed17) for the sake of C++ modules (thanks to Andrew for the pointer!). Built for {i686,x86_64}-w64-mingw32, OK for the mainline? 2025-04-11 Eric

Re: [COMMITTED] gcc-15/changes: Document Ada changes

2025-04-08 Thread Eric Botcazou
> Thanks Fernando, Seconded. > I've pushed the attached changes. I have made a few subsequent tweaks (attached). -- Eric Botcazou diff --git a/htdocs/gcc-15/changes.html b/htdocs/gcc-15/changes.html index 8220d130..e29fca9d 100644 --- a/htdocs/gcc-15/changes.html +++ b/ht

gcc-wwwdocs branch master updated. 4d03ca0c8c9d1ee86776ced617b05ad61168fdcf

2025-04-08 Thread Eric Botcazou via Gcc-cvs-wwwdocs
--- commit 4d03ca0c8c9d1ee86776ced617b05ad61168fdcf Author: Eric Botcazou Date: Tue Apr 8 13:10:59 2025 +0200 Small fixes to previous changes to gcc-15/changes diff --git a/htdocs/gcc-15/changes.html b/htdocs/gcc-15/changes.html index 8220d130..e29fca9d 100644 --- a/htdocs/gcc-15/changes.html +++ b/htdocs/gcc-15/ch

[Ada] Fix wrong 'Access to aliased constrained array of controlled type

2025-04-07 Thread Eric Botcazou
ys is pointer-to-constrained-array and, therefore, its value must designate the array itself and not the bounds. Tested on x86-64/Linux, applied on the mainline (branches are not affected). 2025-04-07 Eric Botcazou ada/ * gcc-interface/utils.cc (convert) : Use fold_convert

[gcc r15-9244] Ada: Fix wrong 'Access to aliased constrained array of controlled type

2025-04-07 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:f085dbf97ed4445830127c955909ff2b887ded69 commit r15-9244-gf085dbf97ed4445830127c955909ff2b887ded69 Author: Eric Botcazou Date: Mon Apr 7 10:33:52 2025 +0200 Ada: Fix wrong 'Access to aliased constrained array of controlled type For technical reasons

[gcc r13-9492] Ada: Fix thinko in Eigensystem for complex Hermitian matrices

2025-04-05 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:7acd7d8d2a082e96ce91ef284cb55d28bfa00186 commit r13-9492-g7acd7d8d2a082e96ce91ef284cb55d28bfa00186 Author: Eric Botcazou Date: Fri Apr 4 11:45:23 2025 +0200 Ada: Fix thinko in Eigensystem for complex Hermitian matrices The implementation solves the

Re: [PATCH] Further use of mod_scope in modified_type_die

2025-04-05 Thread Eric Botcazou
> Let's involve Eric here, I have no idea what was intended here. We discussed it with Tom internally and he makes the final decisions here. -- Eric Botcazou

Re: Does gcc have different inlining heuristics on different platforms?

2025-04-04 Thread Eric Botcazou via Gcc
ib/gcc/x86_64-w64-mingw32/13.3.1/../../../../x86_64- w64-mingw32/bin/ld.exe: C:\tmp\ccCnskmU.o (symbol from plugin): symbol `__fpclassify' definition: UNDEF, visibility: DEFAULT, resolution: RESOLVED_EXEC attempt to open C:\tmp\ccbENa6D.ltrans0.ltrans.o succeeded C:\tmp\ccbENa6D.ltrans0.ltrans.o This is with GNU ld. -- Eric Botcazou

[gcc r15-9197] Ada: Fix thinko in Eigensystem for complex Hermitian matrices

2025-04-04 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:42d6a4a985a6aa1c8c06daceb66e3408566a2e3a commit r15-9197-g42d6a4a985a6aa1c8c06daceb66e3408566a2e3a Author: Eric Botcazou Date: Fri Apr 4 11:45:23 2025 +0200 Ada: Fix thinko in Eigensystem for complex Hermitian matrices The implementation solves the

Re: [PATCH] cse: Fix up delete_trivially_dead_insns [PR119594]

2025-04-04 Thread Eric Botcazou
if there is no previous use of REG: case REG: if (x == dest) { if (incr > 0 && counts[REGNO (x)] != 0) counts[REGNO (x)] += incr; } else counts[REGNO (x)] += incr; return; IIUC this would both fix the bug and preserve the deletion if insn 26 and 27 are swapped. -- Eric Botcazou

Re: [PATCH] cse: Fix up delete_trivially_dead_insns [PR119594]

2025-04-04 Thread Eric Botcazou
in the RTL stream, which is precisely the case that we may lead to wrong code. -- Eric Botcazou

[Ada] Fix thinko in Eigensystem for complex Hermitian matrices

2025-04-04 Thread Eric Botcazou
throughout the implementation, mostly in the commentary and without functional changes. Tested on x86-64/Linux, applied on all active branches. 2025-04-04 Eric Botcazou ada/ * libgnat/a-ngcoar.adb (Eigensystem): Adjust notation and fix the layout of the real symmetric matrix in

[gcc r12-11016] Ada: Fix thinko in Eigensystem for complex Hermitian matrices

2025-04-04 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:b65f4fe10996c247751b0636773009659d92ab6c commit r12-11016-gb65f4fe10996c247751b0636773009659d92ab6c Author: Eric Botcazou Date: Fri Apr 4 11:45:23 2025 +0200 Ada: Fix thinko in Eigensystem for complex Hermitian matrices The implementation solves the

[gcc r14-11527] Ada: Fix thinko in Eigensystem for complex Hermitian matrices

2025-04-04 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:a210011c5c7f7be5e7a9aea294947bdc555202ce commit r14-11527-ga210011c5c7f7be5e7a9aea294947bdc555202ce Author: Eric Botcazou Date: Fri Apr 4 11:45:23 2025 +0200 Ada: Fix thinko in Eigensystem for complex Hermitian matrices The implementation solves the

gcc-wwwdocs branch master updated. fd8dacf0e9644d60a511194ed6247dca35d47cd6

2025-04-02 Thread Eric Botcazou via Gcc-cvs-wwwdocs
--- commit fd8dacf0e9644d60a511194ed6247dca35d47cd6 Author: Eric Botcazou Date: Wed Apr 2 11:36:13 2025 +0200 Update the list of front-ends present in the main distribution diff --git a/htdocs/frontends.html b/htdocs/frontends.html index 2dec80c9..5a4ec767 100644 --- a/htdocs/frontends.html +++ b/htdocs/frontends.htm

[gcc r15-9139] Fix support of --enable-default-pie for cross Ada compiler

2025-04-01 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:358f7a954584ccefeef41390852d002c60ec11c0 commit r15-9139-g358f7a954584ccefeef41390852d002c60ec11c0 Author: Eric Botcazou Date: Wed Apr 2 00:15:20 2025 +0200 Fix support of --enable-default-pie for cross Ada compiler gnattools/ PR ada/119440

Fix too late initialization of tasking runtime with standalone library

2025-03-27 Thread Eric Botcazou
is idempotent. Tested on x86-64/Linux, applied on the mainline (branches are not affected). 2025-03-27 Eric Botcazou ada/ * libgnarl/s-tasini.adb (Tasking_Runtime_Initialize): Add pragma Linker_Constructor for the procedure. -- Eric Botcazoudiff --git a/gcc/ada

[gcc r15-8987] Ada: Fix too late initialization of tasking runtime with standalone library

2025-03-27 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:f4649a8901b2ebd6bd87451c8b758022600bf281 commit r15-8987-gf4649a8901b2ebd6bd87451c8b758022600bf281 Author: Eric Botcazou Date: Thu Mar 27 20:29:51 2025 +0100 Ada: Fix too late initialization of tasking runtime with standalone library The

[gcc r15-8444] Fix formatting of version message for gnat driver

2025-03-19 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:b6953ec3e1ced56b190d95637b966762c09a13b4 commit r15-8444-gb6953ec3e1ced56b190d95637b966762c09a13b4 Author: Eric Botcazou Date: Wed Mar 19 18:15:29 2025 +0100 Fix formatting of version message for gnat driver Like the main driver (as well as gccgo, gccrs

[Ada] Fix formatting of version message for gnat driver

2025-03-19 Thread Eric Botcazou
Like the main driver (as well as gccgo, gccrs, gcov, etc) the gnat driver prints the standard version message in response to the --version switch, but it is not properly formatted. Tested on x86-64/Linux, applied on the mainline. 2025-03-19 Eric Botcazou * gnatvsn.adb

[Ada] Fix misoptimization at -O2 in LTO mode

2025-03-19 Thread Eric Botcazou
mainline, 14 and 13 branches. 2025-03-19 Eric Botcazou * gcc-interface/decl.cc (gnat_to_gnu_entity) : Set the may_alias attribute if a specific GCC type is built. -- Eric Botcazoudiff --git a/gcc/ada/gcc-interface/decl.cc b/gcc/ada/gcc-interface/decl.cc index 1854c587543

[gcc r14-11421] Fix misoptimization at -O2 in LTO mode

2025-03-19 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:5497ff92a38292d3b18ceb3fe284af83f3f8377e commit r14-11421-g5497ff92a38292d3b18ceb3fe284af83f3f8377e Author: Eric Botcazou Date: Wed Mar 19 08:55:04 2025 +0100 Fix misoptimization at -O2 in LTO mode This is a regression in recent releases. The problem is that

[gcc r14-11420] Fix spurious visibility error with partially parameterized formal package

2025-03-19 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:21c83cd4732dfaa4d49c01231a4e28082add821a commit r14-11420-g21c83cd4732dfaa4d49c01231a4e28082add821a Author: Eric Botcazou Date: Wed Mar 19 08:22:33 2025 +0100 Fix spurious visibility error with partially parameterized formal package This is not a regression

[gcc r15-8288] Fix misoptimization at -O2 in LTO mode

2025-03-19 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:3a59a1e1bbc7c16477902149d200ce2d3d6c8df5 commit r15-8288-g3a59a1e1bbc7c16477902149d200ce2d3d6c8df5 Author: Eric Botcazou Date: Wed Mar 19 08:55:04 2025 +0100 Fix misoptimization at -O2 in LTO mode This is a regression in recent releases. The problem is that

[gcc r13-9438] Fix misoptimization at -O2 in LTO mode

2025-03-19 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:2123635378d32d884c8ebfa5d01c8006b24ff54f commit r13-9438-g2123635378d32d884c8ebfa5d01c8006b24ff54f Author: Eric Botcazou Date: Wed Mar 19 08:55:04 2025 +0100 Fix misoptimization at -O2 in LTO mode This is a regression in recent releases. The problem is that

[gcc r15-8285] Fix spurious visibility error with partially parameterized formal package

2025-03-19 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:278715f255d07ae955cb2c0519b8f1233dfc6bf9 commit r15-8285-g278715f255d07ae955cb2c0519b8f1233dfc6bf9 Author: Eric Botcazou Date: Wed Mar 19 08:22:33 2025 +0100 Fix spurious visibility error with partially parameterized formal package This is not a regression

[gcc r13-9437] Fix spurious visibility error with partially parameterized formal package

2025-03-19 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:1f679fd10f93d23ad274a5c583b9cef463bf7954 commit r13-9437-g1f679fd10f93d23ad274a5c583b9cef463bf7954 Author: Eric Botcazou Date: Wed Mar 19 08:22:33 2025 +0100 Fix spurious visibility error with partially parameterized formal package This is not a regression

[Ada] Fix spurious visibility error with partially parameterized formal package

2025-03-19 Thread Eric Botcazou
internal to Instantiate_Formal_Package, where a specific construct (the abbreviated instance) built for the nested formal package discombobulates the processing done for the outer formal package. Tested on x86-64/Linux, applied on the mainline, 14 and 13 branches. 2025-03-19 Eric Botcazou

[gcc r13-9427] Plug small loophole in the pattern matching done by -fdump-ada-spec

2025-03-15 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:cb735b2768410e1ab201899c65daeaaed2baff71 commit r13-9427-gcb735b2768410e1ab201899c65daeaaed2baff71 Author: Eric Botcazou Date: Fri Mar 14 00:01:46 2025 +0100 Plug small loophole in the pattern matching done by -fdump-ada-spec gcc/c-family/ PR ada

[c-family] Fix PR ada/119265

2025-03-13 Thread Eric Botcazou
This plugs a small loophole in the pattern matching done by -fdump-ada-spec. Tested on x86-64/Linux, applied on mainline, 14 and 13 branches. 2025-03-13 Eric Botcazou PR ada/119265 * c-ada-spec.cc (dump_ada_node) : Deal with typedefs of unsigned __int128. -- Eric

[gcc r15-8043] Plug small loophole in the pattern matching done by -fdump-ada-spec

2025-03-13 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:ab4e9fd943124f0630e560a56a5477d5d7ca2c1f commit r15-8043-gab4e9fd943124f0630e560a56a5477d5d7ca2c1f Author: Eric Botcazou Date: Fri Mar 14 00:01:46 2025 +0100 Plug small loophole in the pattern matching done by -fdump-ada-spec gcc/c-family/ PR ada

[gcc r14-11408] Plug small loophole in the pattern matching done by -fdump-ada-spec

2025-03-13 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:1016eea220ffb75a8b8c3031918e1834a8a544e8 commit r14-11408-g1016eea220ffb75a8b8c3031918e1834a8a544e8 Author: Eric Botcazou Date: Fri Mar 14 00:01:46 2025 +0100 Plug small loophole in the pattern matching done by -fdump-ada-spec gcc/c-family/ PR

Re: [PATCH] ifcvt: Fix ICE with (fix:SI (fix:DF (reg:DF))) [PR117712]

2025-02-28 Thread Eric Botcazou
tophe > tested this on arm, ok for trunk? > > 2025-02-27 Jakub Jelinek > > PR rtl-optimization/117712 > * expr.cc (force_operand): Handle {,UNSIGNED_}FIX with > FIX operand using expand_fix on the inner FIX operand. > > * gcc.dg/pr117712.c: New test. Looks good to me, thanks. -- Eric Botcazou

Re: [PATCH] arm: Remove inner 'fix:HF/SF/DF' from fixed-point patterns (PR 117712)

2025-02-19 Thread Eric Botcazou
from the middle-end change and papering over it in various back-ends should be the very last resort solution. -- Eric Botcazou

Re: [PATCH] i386: Change RTL representation of bt[lq] [PR118623]

2025-02-10 Thread Eric Botcazou
es the former variant with the CCC & CCXC modes. -- Eric Botcazou

Re: [PATCH] [testsuite] [sparc] select ultrasparc for fsmuld test

2025-02-06 Thread Eric Botcazou
also tested with gcc-14 targeting > leon3-elf with -mfix-ut699. Ok to install? > > > for gcc/testsuite/ChangeLog > > * gcc.target/sparc/vis3move-3.c: Select ultrasparc. Skip with > -mfix-ut699. OK. -- Eric Botcazou

Re: [PATCH] [testsuite] [sparc] skip sparc-ret-1 with -mfix-ut699

2025-02-06 Thread Eric Botcazou
99. Ok to install? > > > for gcc/testsuite/ChangeLog > > * gcc.target/sparc/sparc-ret-1.c: Skip on -mfix-ut699. OK. -- Eric Botcazou

Re: [PATCH] [testsuite] [sparc] skip tls tests if emulated

2025-02-06 Thread Eric Botcazou
* gcc.target/sparc/tls-ld-uint32.c: Likewise. > * gcc.target/sparc/tls-ld-uint8.c: Likewise. OK. -- Eric Botcazou

Re: [PATCH] [testsuite] [sparc] use -mtune in alignment tuning test

2025-02-06 Thread Eric Botcazou
gara7-align.c: Use -mtune. OK. -- Eric Botcazou

[gcc r15-7359] Ada: Fix assertion failure with iterator in container aggregate

2025-02-04 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:64c66f5bce60fcc4a943bcac1865db2a72aaa1bd commit r15-7359-g64c66f5bce60fcc4a943bcac1865db2a72aaa1bd Author: Eric Botcazou Date: Tue Feb 4 19:48:09 2025 +0100 Ada: Fix assertion failure with iterator in container aggregate It's just a missing test fo

[Ada] Fix PR ada/118731

2025-02-04 Thread Eric Botcazou
It's just a missing test for the presence of a nonempty parameter. Tested on x86-64/Linux, applied on the mainline. 2025-02-04 Eric Botcazou PR ada/118731 * sem_aggr.adb (Resolve_Iterated_Association): Add missing guard. -- Eric Botcazoudiff --git a/gcc/ada/sem_aggr.

[Ada] Fix PR ada/118712

2025-02-01 Thread Eric Botcazou
branches. 2025-02-01 Eric Botcazou PR ada/118712 * sem_warn.adb (Check_References): Deal with small adjustments of references. 2025-02-01 Eric Botcazou * gnat.dg/warn33.adb: New test. * gnat.dg/warn33_pkg.ads: New helper. -- Eric Botcazoudiff --git a

[gcc r13-9358] Ada: Fix segfault on uninitialized variable as operand of primitive operator

2025-02-01 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:a10a46d7b61d694dc0114175c45deb61df96e918 commit r13-9358-ga10a46d7b61d694dc0114175c45deb61df96e918 Author: Eric Botcazou Date: Sat Feb 1 10:56:44 2025 +0100 Ada: Fix segfault on uninitialized variable as operand of primitive operator ...of derived real type

[gcc r14-11266] Ada: Fix segfault on uninitialized variable as operand of primitive operator

2025-02-01 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:8c79b66dbcaa63fb76abbae9d794dbce68338400 commit r14-11266-g8c79b66dbcaa63fb76abbae9d794dbce68338400 Author: Eric Botcazou Date: Sat Feb 1 10:56:44 2025 +0100 Ada: Fix segfault on uninitialized variable as operand of primitive operator ...of derived real type

[gcc r15-7316] Ada: Fix segfault on uninitialized variable as operand of primitive operator

2025-02-01 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:8ca6bbf84c168056c94b5f0374fb82916ee24772 commit r15-7316-g8ca6bbf84c168056c94b5f0374fb82916ee24772 Author: Eric Botcazou Date: Sat Feb 1 10:56:44 2025 +0100 Ada: Fix segfault on uninitialized variable as operand of primitive operator ...of derived real type

Re: [PATCH 28/61] Fix wrong instruction in the delay slot

2025-02-01 Thread Eric Botcazou
n't ignore the empty > block when searching for the next active instruction. -- Eric Botcazou

[Ada] Fix wrong elaboration for allocator at library level of dynamic library

2025-01-31 Thread Eric Botcazou
The problem was preexisting for class-wide allocators, but now occurs for allocators of controlled types on the mainline, because of the recent overhaul of the finalization machinery. Tested on x86-64/Linux, applied on the mainline. 2025-01-31 Eric Botcazou * gcc-interface

[gcc r15-7304] Fix wrong elaboration for allocator at library level of dynamic library

2025-01-31 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:3b49727014f29d46a605228d137e5e582df3 commit r15-7304-g3b49727014f29d46a605228d137e5e582df3 Author: Eric Botcazou Date: Fri Jan 31 12:41:19 2025 +0100 Fix wrong elaboration for allocator at library level of dynamic library The problem was preexisting

Re: [COMMITTED] Regenerate sparc.opt.urls

2025-01-20 Thread Eric Botcazou
> things up. Indeed, I did not notice that the bot's outcome was "failed", thanks. -- Eric Botcazou

Re: [COMMITTED] Regenerate sparc.opt.urls

2025-01-19 Thread Eric Botcazou
> sparc added a -mvis3b option, but the sparc.opt.url file wasn't > regenerated. > > Fixes: d309844d6fe0 ("Fix bootstrap failure on SPARC with -O3 > -mcpu=niagara4") Thanks, but how is one supposed to detect this? Everything worked fine. -- Eric Botcazou

[SPARC] Fix PR target/118512

2025-01-18 Thread Eric Botcazou via Gcc
just aligns the compiler with the assembler. Bootstrapped/regtested on SPARC64/Solaris 11, applied on the mainline. 2025-01-18 Eric Botcazou PR target/118512 * config/sparc/sparc-c.cc (sparc_target_macros): Deal with VIS 3B. * config/sparc/sparc.cc (dump_target_flag_bits

[gcc r15-7023] Fix bootstrap failure on SPARC with -O3 -mcpu=niagara4

2025-01-18 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:d309844d6fe02e695eb82cbd30fd135e836f24eb commit r15-7023-gd309844d6fe02e695eb82cbd30fd135e836f24eb Author: Eric Botcazou Date: Sat Jan 18 18:58:02 2025 +0100 Fix bootstrap failure on SPARC with -O3 -mcpu=niagara4 This is a regression present on the mainline

[Ada] Fix PR ada/118459

2025-01-14 Thread Eric Botcazou
This adds the missing support for the S/390 and RISC-V architectures to the object file reader present in the run-time library, fixing the regression. Tested on x86-64/Linux, applied on the mainline. 2025-01-13 Eric Botcazou PR ada/118459 * libgnat/s-objrea.ads (Object_Arch

[gcc r15-6889] Ada: add missing support for the S/390 and RISC-V architectures

2025-01-14 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:744a59f3f55bfc890f755c57c72919566e1bcad5 commit r15-6889-g744a59f3f55bfc890f755c57c72919566e1bcad5 Author: Eric Botcazou Date: Tue Jan 14 11:00:24 2025 +0100 Ada: add missing support for the S/390 and RISC-V architectures ...to the object file reader present

Re: [PATCH] dwarf2out: Emit DWARF 6 DW_AT_language_{name,version}

2025-01-08 Thread Eric Botcazou
salvage the non-obsoleted parts of the above change? -- Eric Botcazou

Re: [Ada] Fix PR ada/118247

2025-01-07 Thread Eric Botcazou
eak something, so the simpler, the better. -- Eric Botcazou

[gcc r13-9281] ada: Fix small thinko in previous change to two-pass aggregate expansion

2025-01-06 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:908ad66ea64ef84014d3ea9f2f3b62ed3968b9e3 commit r13-9281-g908ad66ea64ef84014d3ea9f2f3b62ed3968b9e3 Author: Eric Botcazou Date: Fri Dec 13 20:50:44 2024 +0100 ada: Fix small thinko in previous change to two-pass aggregate expansion We need a type tailored to

[gcc r14-11130] ada: Fix small thinko in previous change to two-pass aggregate expansion

2025-01-06 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:5d4e9c7043cdda9651353d6c5d56a0522a397ad2 commit r14-11130-g5d4e9c7043cdda9651353d6c5d56a0522a397ad2 Author: Eric Botcazou Date: Fri Dec 13 20:50:44 2024 +0100 ada: Fix small thinko in previous change to two-pass aggregate expansion We need a type tailored to

[Ada] Fix PR ada/118247

2025-01-06 Thread Eric Botcazou
This is a regression introduced by https://gcc.gnu.org/pipermail/gcc-cvs/2024-July/405522.html in the form of a spurious relinking of the gnatbind executable for the install target of cross Ada compilers. Tested on x86-64/Linux, applied on the mainline. 2025-01-06 Eric Botcazou

[gcc r15-6600] Ada: fix spurious relinking of gnatbind for cross compilers

2025-01-06 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:144ddb0cdfa7a09ccbaaea5ec72837346fbc1d8d commit r15-6600-g144ddb0cdfa7a09ccbaaea5ec72837346fbc1d8d Author: Eric Botcazou Date: Mon Jan 6 12:20:00 2025 +0100 Ada: fix spurious relinking of gnatbind for cross compilers The problem has been introduced by r15

[Ada] Fix PR ada/117936

2025-01-05 Thread Eric Botcazou
This just aligns the documentation with the code. Tested with 'make doc', applied on the mainline. 2025-01-06 Eric Botcazou PR ada/117936 * doc/gnat_rm/implementation_defined_pragmas.rst (Unimplemented_Unit): Adjust the description of the err

[gcc r15-6565] Ada: fix documentation of pragma Unimplemented_Unit

2025-01-05 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:90b6d3bc84da803e14627548545626215a127b4d commit r15-6565-g90b6d3bc84da803e14627548545626215a127b4d Author: Eric Botcazou Date: Mon Jan 6 08:46:06 2025 +0100 Ada: fix documentation of pragma Unimplemented_Unit gcc/ada PR ada/117936

[gcc r15-6558] Ada: Fix build for dummy s-taprop

2025-01-05 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:31f1bec65ba257adc346f952fd79a1ec3165a2e6 commit r15-6558-g31f1bec65ba257adc346f952fd79a1ec3165a2e6 Author: Estevan Castilho (Tevo) Date: Sat Dec 28 20:37:37 2024 + Ada: Fix build for dummy s-taprop gcc/ada * libgnarl/s-taprop__dummy.adb: Remov

[gcc r12-10884] Ada: Fix build for dummy s-taprop

2025-01-05 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:85319f4637648691882a79ebac3d63c4d0204735 commit r12-10884-g85319f4637648691882a79ebac3d63c4d0204735 Author: Estevan Castilho (Tevo) Date: Sat Dec 28 20:37:37 2024 + Ada: Fix build for dummy s-taprop gcc/ada * libgnarl/s-taprop__dummy.adb: Remo

[gcc r13-9279] Ada: Fix build for dummy s-taprop

2025-01-05 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:431404685ffc3044da0c5dcbb0a40861632c093a commit r13-9279-g431404685ffc3044da0c5dcbb0a40861632c093a Author: Estevan Castilho (Tevo) Date: Sat Dec 28 20:37:37 2024 + Ada: Fix build for dummy s-taprop gcc/ada * libgnarl/s-taprop__dummy.adb: Remov

[gcc r14-11128] Ada: Fix build for dummy s-taprop

2025-01-05 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:81f74b83f9634d1ad6a1d9805a95dd856bc960de commit r14-11128-g81f74b83f9634d1ad6a1d9805a95dd856bc960de Author: Estevan Castilho (Tevo) Date: Sat Dec 28 20:37:37 2024 + Ada: Fix build for dummy s-taprop gcc/ada * libgnarl/s-taprop__dummy.adb: Remo

Re: [PATCH] Ada: Fix build for dummy s-taprop

2025-01-05 Thread Eric Botcazou
ful for bringing up a new target. Thanks, patch applied on all active branches although it lacks a Changelog: * libgnarl/s-taprop__dummy.adb: Remove use clause for System.Parameters. (Unlock): Remove Global_Lock formal parameter. (Write_Lock): Likewise. -- Eric Botcazou

[gcc r12-10882] ada: Fix internal error on aggregate within container aggregate

2025-01-05 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:9b618e2e883ffada66f6c0c6a6a672f35286413c commit r12-10882-g9b618e2e883ffada66f6c0c6a6a672f35286413c Author: Eric Botcazou Date: Fri May 26 00:09:14 2023 +0200 ada: Fix internal error on aggregate within container aggregate This just applies the same fix to

[gcc r12-10883] ada: Fix internal error on aggregate nested in container aggregate

2025-01-05 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:6c7c99f95661db80b6e1b52c10c34e9ce9c5eb6a commit r12-10883-g6c7c99f95661db80b6e1b52c10c34e9ce9c5eb6a Author: Eric Botcazou Date: Wed Sep 6 09:37:29 2023 +0200 ada: Fix internal error on aggregate nested in container aggregate This handles the case where a

[gcc r12-10881] ada: Fix crash on vector initialization

2025-01-05 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:e8b53a5263946be717169e2549eabf67e6a227ad commit r12-10881-ge8b53a5263946be717169e2549eabf67e6a227ad Author: Marc Poulhiès Date: Mon Mar 27 16:47:04 2023 +0200 ada: Fix crash on vector initialization Initializing a vector using Vec : V.Vector := [Som

Re: [PATCH 2/2] Ada: Fix GNU/Hurd maximum priority

2024-12-22 Thread Eric Botcazou
> gcc/ada/ChangeLog: > > * libgnat/system-gnu.ads: Set Max_Priority to 60. Likewise. -- Eric Botcazou

Re: [PATCH 1/2] Ada: Add GNU/Hurd glibc api bits

2024-12-22 Thread Eric Botcazou
_sigset. > [__GNU__]: Define PTHREAD_*SIZE Thanks, applied. -- Eric Botcazou

[gcc r15-6413] Ada: Fix GNU/Hurd maximum priority

2024-12-22 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:d9d92b1c1b418dc5f8298cd75f8bdd5b0bfa9837 commit r15-6413-gd9d92b1c1b418dc5f8298cd75f8bdd5b0bfa9837 Author: Samuel Thibault Date: Sun Dec 22 01:13:04 2024 +0100 Ada: Fix GNU/Hurd maximum priority gcc/ada/ChangeLog: * libgnat/system-gnu.ads: Se

[gcc r15-6412] Ada: Add GNU/Hurd glibc api bits

2024-12-22 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:e7e653d3836909182ee0cf46bc2fcc04f3c055f8 commit r15-6412-ge7e653d3836909182ee0cf46bc2fcc04f3c055f8 Author: Samuel Thibault Date: Sun Dec 22 01:13:03 2024 +0100 Ada: Add GNU/Hurd glibc api bits They are mostly shared with Linux gcc/ada/ChangeLog:

[gcc r15-6354] Output the load address in backtraces for PIE executables on Darwin

2024-12-18 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:1d148e0401b599a3cae4183d3f33b7fa65c40464 commit r15-6354-g1d148e0401b599a3cae4183d3f33b7fa65c40464 Author: Simon Wright Date: Wed Dec 18 22:26:27 2024 +0100 Output the load address in backtraces for PIE executables on Darwin This aligns Darwin with Linux and

[SPARC] Fix PR target/118096

2024-12-18 Thread Eric Botcazou
This replaces the use of FAIL in the new vec_cmp[u] expanders by that of a predicate for the operator, which is (apparently) required for the optabs machinery to properly compute the set of supported vector comparisons. Tested on SPARC64/Solaris 11.4, applied on the mainline. 2024-12-18 Eric

[gcc r15-6353] Fix bootstrap failure on SPARC with -O3 -mvis3

2024-12-18 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:ed5ef9b39291e9d76e5caf4d96d7e6b09a35591e commit r15-6353-ged5ef9b39291e9d76e5caf4d96d7e6b09a35591e Author: Eric Botcazou Date: Wed Dec 18 21:48:36 2024 +0100 Fix bootstrap failure on SPARC with -O3 -mvis3 This replaces the use of FAIL in the new vec_cmp[u

Re: [PATCH v3] ada: PR target/117538 Traceback includes load address if executable is PIE.

2024-12-18 Thread Eric Botcazou
gt; > gcc/ada/Changelog: > > PR target/117538 > * libgnat/s-trasym.adb: Returns the traceback, with the program load address > if available. This is OK, thanks. Do you want me to apply it? -- Eric Botcazou

[gcc r13-9256] ada: Fix internal error with Atomic Volatile_Full_Access object

2024-12-16 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:ab42776278ba7ab477e4f9650eedea83ceefd798 commit r13-9256-gab42776278ba7ab477e4f9650eedea83ceefd798 Author: Eric Botcazou Date: Thu Aug 22 21:18:15 2024 +0200 ada: Fix internal error with Atomic Volatile_Full_Access object The initial implementation of the

[gcc r14-11093] ada: Fix internal error with Atomic Volatile_Full_Access object

2024-12-16 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:dfd4d76b01831d3ad4a46da2349cf7668e6beef9 commit r14-11093-gdfd4d76b01831d3ad4a46da2349cf7668e6beef9 Author: Eric Botcazou Date: Thu Aug 22 21:18:15 2024 +0200 ada: Fix internal error with Atomic Volatile_Full_Access object The initial implementation of the

[gcc r13-9249] Fix precondition failure with Ada.Numerics.Generic_Real_Arrays.Eigenvalues

2024-12-12 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:0f74991d88948238530ed1216d334ac123483c5d commit r13-9249-g0f74991d88948238530ed1216d334ac123483c5d Author: Eric Botcazou Date: Thu Dec 12 16:25:09 2024 +0100 Fix precondition failure with Ada.Numerics.Generic_Real_Arrays.Eigenvalues This fixes a precondition

[Ada] Fix PR ada/117996

2024-12-12 Thread Eric Botcazou
This fixes a precondition failure triggered when the Eigenvalues routine of Ada.Numerics.Generic_Real_Arrays is instantiated with -gnata, beause it calls Sort_Eigensystem on an empty vector. Tested on x86-64/Linux, applied on all active branches. 2024-12-12 Eric Botcazou PR ada

[gcc r14-11083] Fix precondition failure with Ada.Numerics.Generic_Real_Arrays.Eigenvalues

2024-12-12 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:d470d64b398684f510637fe8ada570fff92af841 commit r14-11083-gd470d64b398684f510637fe8ada570fff92af841 Author: Eric Botcazou Date: Thu Dec 12 16:25:09 2024 +0100 Fix precondition failure with Ada.Numerics.Generic_Real_Arrays.Eigenvalues This fixes a

[gcc r12-10856] Fix precondition failure with Ada.Numerics.Generic_Real_Arrays.Eigenvalues

2024-12-12 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:62c1d98b870f84bd511deba7b93e8c49e38f4335 commit r12-10856-g62c1d98b870f84bd511deba7b93e8c49e38f4335 Author: Eric Botcazou Date: Thu Dec 12 16:25:09 2024 +0100 Fix precondition failure with Ada.Numerics.Generic_Real_Arrays.Eigenvalues This fixes a

[gcc r15-6176] Fix precondition failure with Ada.Numerics.Generic_Real_Arrays.Eigenvalues

2024-12-12 Thread Eric Botcazou via Gcc-cvs
https://gcc.gnu.org/g:b563a3a00db064d4d47fd171379e1d34d0698faa commit r15-6176-gb563a3a00db064d4d47fd171379e1d34d0698faa Author: Eric Botcazou Date: Thu Dec 12 16:25:09 2024 +0100 Fix precondition failure with Ada.Numerics.Generic_Real_Arrays.Eigenvalues This fixes a precondition

Re: [PATCHv4 0/3] ada: Add GNU/Hurd x86_64 support

2024-12-11 Thread Eric Botcazou
> Yes, please, I don't have commit access. OK, done. -- Eric Botcazou

  1   2   3   4   5   6   7   8   9   10   >