[Bug tree-optimization/89550] [8/9/10 Regression] Spurious array-bounds warning when using __PRETTY_FUNCTION__ as a string_view
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 27 03:39:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89550
--- Comment #8 from Martin Sebor <msebor at gcc dot gnu.org> ---
GCC 10 doesn't warn on the submitted test case so it looks like the change in
r269485 suppressed it. The patch was submitted here:
https://gcc.gnu.org/ml/gcc-patches/2019-03/msg00321.html
There's no test case in the commit and from the description on gcc-patches it's
not clear if the patch was supposed to be a fix for this bug or just some
general fix. Jakub, should this be resolved as fixed or what?
More information about the Gcc-bugs
mailing list