https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110091
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2023-06-02 Keywords| |compile-time-hog Component|middle-end |tree-optimization Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Function split decides to split out the call to anotherfunc (and the clobber of the entry struct) from bar and then the diagnostic gets confused from that. This is a bad split in the first place. ``` Splitting function at: Split point at BB 6 header time: 19.904000 header size: 12 split time: 7.260000 split size: 2 bbs: 6 SSA names to pass: ... void bar.part.0 () { struct tEntry entry; <bb 4> [local count: 1073741824]: <bb 2> [local count: 1073741824]: anotherfunc (5); entry ={v} {CLOBBER(eol)}; <bb 3> [local count: 1073741824]: return; } ```