https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60165
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #17 from Manuel López-Ibáñez <manu at gcc dot gnu.org> --- I don't think this is a bug. GCC warns at higher levels because it can inline. Doing more optimization at -O2 is a separate issue.