https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105438
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |11.4 Summary|Incorrect array-bounds |[11/12/13 Regression] |warning with array size |Incorrect array-bounds |carried over from a |warning with array size |previous template |carried over from a |instantiation |previous template | |instantiation --- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Richard Biener from comment #5) > It's IPA ICF that merges the two functions. We then end up inlining but not > using the original function body but the merged one. I wonder if we could get wrong code because of that ...