https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110963

--- Comment #5 from Theodoros Theodoridis <theodort at inf dot ethz.ch> ---
(In reply to Richard Biener from comment #4)
> Alternatively you can put __attribute__((hot)) on 'main' which we otherwise
> consider cold.  Maybe that's a good idea for future DCE regression searches?


Thanks for the feedback. IIRC, I have reported at least one more case where
renaming 'main' would make the issue go away. So if adding __attribute__((hot))
makes sense, then I'll include it when searching.

Reply via email to