[Bug go/114875] runtime/runtime.h should be updated to compile under C23

2024-04-29 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114875 Ian Lance Taylor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug go/114875] runtime/runtime.h should be updated to compile under C23

2024-04-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114875 --- Comment #5 from Andrew Pinski --- Also it is not just true/false. It is: typedef _Bool bool; The rest looks ok too.

[Bug go/114875] runtime/runtime.h should be updated to compile under C23

2024-04-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114875 --- Comment #4 from Andrew Pinski --- (In reply to jeffrey.cliff from comment #2) > and more importantly - it's a header, which means *any code that uses it* > also won't build. Considering it is an internal header to libgo and not installed, i

[Bug go/114875] runtime/runtime.h should be updated to compile under C23

2024-04-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114875 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Status|WAITING

[Bug go/114875] runtime/runtime.h

2024-04-27 Thread jeffrey.cliff at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114875 --- Comment #2 from jeffrey.cliff at gmail dot com --- whoops, accidentally hit submit before I had all the details tl;dr at least in gcc 14.1 [but probably elsewhere] in libgo/runtime/runtime.h defines an enum of enum { true= 1,

[Bug go/114875] runtime/runtime.h

2024-04-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114875 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |WAITING Ever confirmed|0