https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38018 Bug 38018 depends on bug 37565, which changed state.
Bug 37565 Summary: __optimize__ attribute doesn't work correctly https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37565 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED