https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125935
Duncan Roe <duncan_roe at optusnet dot com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |duncan_roe at optusnet dot
com.au
--- Comment #6 from Duncan Roe <duncan_roe at optusnet dot com.au> ---
(In reply to Sam James from comment #5)
> (In reply to Jonathan Wakely from comment #4)
> > I don't think any users would get confused by the debug info saying 'bool'
> > even for code compiled with -std=c99.
>
> They may when debugging some janky custom bool type they had vs standard
> _Bool.
(original submitter of gdb bug 34308 here)
I am requesting that GCC generate debug info saying 'bool' for -std=C23 onward
*only*. GCC should keep generating debug info saying '_Bool' for earlier C
standards.
gcc -std=C23 gives an error on attempted definition of a custom bool type (I
had one).