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

Andrea Bocci <fwyzard at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fwyzard at gmail dot com

--- Comment #12 from Andrea Bocci <fwyzard at gmail dot com> ---
Another example of this bug, where 

#pragma GCC diagnostic ignored "-Warray-bounds" 

does not work with LTO:
  - https://github.com/cms-sw/cmssw/pull/45340#issuecomment-2217442378
  - https://github.com/cms-sw/cmssw/issues/45179

The only workaround seems to be to remove -Warray-bounds from the compiler
flags in all places where the affected header file is included.

Reply via email to