[Bug target/117628] [15 Regression] arm/linux-atomic.c contains invalid C23 (trying to typedef bool)

2024-11-18 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117628

Jeffrey A. Law  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|NEW |RESOLVED

--- Comment #5 from Jeffrey A. Law  ---
Fixed on the trunk.

[Bug target/117628] [15 Regression] arm/linux-atomic.c contains invalid C23 (trying to typedef bool)

2024-11-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117628

--- Comment #4 from GCC Commits  ---
The master branch has been updated by Jeff Law :

https://gcc.gnu.org/g:1100c0576b0c6f78ede0d3fecfc6c6e8148f954f

commit r15-5409-g1100c0576b0c6f78ede0d3fecfc6c6e8148f954f
Author: Jeff Law 
Date:   Mon Nov 18 10:11:01 2024 -0700

Fix more c23 bool fallout

While these haven't shown up in my tester (not configs I test) and I think
we're likely going to be deprecating the nds32 target. we might as well go
ahead and fix them.

I'm going to include this under the pr117628 umbrella.

PR target/117628

libgcc/
* config/arm/freebsd-atomic.c (bool): Remove unnecessary typedef.
* config/arm/linux-atomic-64bit.c: Likewise.
* config/arm/linux-atomic.c: Likewise.
* config/nds32/linux-atomic.c: Likewise.
* config/nios2/linux-atomic.c: Likewise.

[Bug target/117628] [15 Regression] arm/linux-atomic.c contains invalid C23 (trying to typedef bool)

2024-11-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117628

--- Comment #3 from GCC Commits  ---
The master branch has been updated by Jeff Law :

https://gcc.gnu.org/g:39a39d1f38ccb9ba292b22003dc3c7febb0b6512

commit r15-5408-g39a39d1f38ccb9ba292b22003dc3c7febb0b6512
Author: Jeff Law 
Date:   Mon Nov 18 09:59:54 2024 -0700

[RFA] Fix csky and c6x build failures

csky fails to build libgcc after the c23 changes because it has a typedef
for
bool.  AFAICT it's internal to the file, so removing the typedef isn't an
ABI
change.

Similiarly for c6x which includes unwind-arm-common.inc.  I suspect most,
if
not all of the arm-v7 and older targets are failing to build right now.

I've built and regression tested both csky-linux-gnu and c6x-elf with this
change.  OK for the trunk?

PR target/117628
libgcc/
* config/csky/linux-atomic.c (bool): Remove unnecessary typedef.
* unwind-arm-common.inc (bool): Similarly.

[Bug target/117628] [15 Regression] arm/linux-atomic.c contains invalid C23 (trying to typedef bool)

2024-11-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117628

Richard Biener  changed:

   What|Removed |Added

Version|unknown |15.0
   Priority|P3  |P1

[Bug target/117628] [15 Regression] arm/linux-atomic.c contains invalid C23 (trying to typedef bool)

2024-11-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117628

Andrew Pinski  changed:

   What|Removed |Added

 CC||doko at gcc dot gnu.org

--- Comment #2 from Andrew Pinski  ---
*** Bug 117640 has been marked as a duplicate of this bug. ***

[Bug target/117628] [15 Regression] arm/linux-atomic.c contains invalid C23 (trying to typedef bool)

2024-11-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117628

Andrew Pinski  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Target Milestone|--- |15.0
 Ever confirmed|0   |1
Summary|New gcc build failure on 32 |[15 Regression]
   |bit ARM |arm/linux-atomic.c contains
   ||invalid C23 (trying to
   ||typedef bool)
   Last reconfirmed||2024-11-16
   Keywords||build
 Target||arm

--- Comment #1 from Andrew Pinski  ---
.