https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #356 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to John Paul Adrian Glaubitz from comment #355) > (In reply to John Paul Adrian Glaubitz from comment #352) > > I will try to figured out what optimization flag triggered the ICE. Also, I > > will provide the preprocessed source in the next comment as usual. > > It's -findirect-inlining, removing the flag from an otherwise -O1 command > line causes the ICE. Can you file a seperate bug for this since I think it is a generic IPA issue ratehr than specific to sh?