https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90132
Martin Sebor changed:
What|Removed |Added
Resolution|--- |WONTFIX
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90132
--- Comment #7 from Jason Mancini ---
Okay! The patch in Comment #1 worked for me. Someone else can fix or reject as
it's not an important bug then.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90132
--- Comment #6 from Jakub Jelinek ---
Even in that case, several times in the past we've just decided to recommend
--disable-werror in those cases instead of adding too ugly workarounds for some
warnings (while for the default we always add
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90132
--- Comment #5 from Jason Mancini ---
But bootstrap-O3 is a documented target, which is equivalent to BOOT_CFLAGS='-g
-O3', per https://gcc.gnu.org/install/build.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90132
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #4
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90132
--- Comment #3 from Richard Biener ---
I guess the basic issue again that we warn for unreachable code. Note
libdecnumber is barely maintained and quite a big mess...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90132
--- Comment #2 from Martin Sebor ---
I think the following test case reproduces what's going on in decNumber.c.
Both GCC 8 and 9 issue the warning (IIRC, the warning was added in GCC 7 for
writes but enhanced to reads in GCC 8).
$ cat a.c &&
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90132
Martin Sebor changed:
What|Removed |Added
Keywords||diagnostic