[Bug middle-end/124427] PPC: False positive -Wmaybe-uninitialized with GCC 15 while compiling powerpc kernel selftests

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 10 10:18:02 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124427

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The bad diagnostic is a dup of bug 99768.

But the code is undefined. Either should be using -fno-strict-aliasing or fix
up the aliasing issues in the code.

*** This bug has been marked as a duplicate of bug 99768 ***


More information about the Gcc-bugs mailing list