https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82738 Bug 82738 depends on bug 111278, which changed state.
Bug 111278 Summary: error: call to ‘...’ declared with attribute error: code path is reachable with -Og, but not -O2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111278 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WONTFIX