[Bug middle-end/102700] [12 Regression] wrong location in -Wuninitialized after -O2 vectorization

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 19 14:09:42 GMT 2022


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WONTFIX
             Status|NEW                         |RESOLVED

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
There is nothing to fix, the only possibility would be to move uninit
diagnostics earlier.  The "regression" is that we now vectorize at -O2, but
that's a feature.
So you can argue this behavior is a feature.

So, WONTFIX.


More information about the Gcc-bugs mailing list