https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97783
Jan Hubicka <hubicka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|ASSIGNED |RESOLVED --- Comment #6 from Jan Hubicka <hubicka at gcc dot gnu.org> --- The testcase is invalid since there is leaf attribute on function glob but it is not leaf since it calls back and modifies static variable. I filled in https://sourceware.org/bugzilla/show_bug.cgi?id=28611