[Bug tree-optimization/103989] [12 regression] std::optional and bogus -Wmaybe-unitialized at -Og since r12-1992-g6feb628a706e86eb
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jan 13 15:05:30 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103989
--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Perhaps if we punt for -Og caller (and maybe -Og callees) on IPA inlining
except for always_inline, we could set some flag if IPA inlining happened and
schedule some extra cleanup passes just for those rare cases?
Though arguably, if a call to always_inline function was indirect during
einline, we don't need to guarantee that it will be inlined.
But, what about -Og -fno-early-inlining?
More information about the Gcc-bugs
mailing list