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

--- Comment #19 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to H.J. Lu from comment #18)
> > Perhaps a better approach is to error out for -fstack-protector-all -pg
> > without -fentry.
> 
> It can happen without -fstack-protector-all.
I see.

I suggest to warn that for -pg -fshrink-wrap the results will be unreliable
without -mfentry instead of silently switching to -mfentry.

Reply via email to