https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53875
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c++ |middle-end --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This even happens in C. It happens during expand phase: ;; Generating RTL for gimple basic block 2 ;; pthread_self (); (nil) Maybe at -O0 or -Og, during expand we still expand the call ...