[Bug target/68701] [4.9/5/6 Regression] "gcc -m32 -finstrument-functions -ffixed-ebp" produces internal compiler error
ubizjak at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Dec 8 09:03:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68701
--- Comment #6 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Jakub Jelinek from comment #5)
> (In reply to Uroš Bizjak from comment #4)
> > (In reply to Jakub Jelinek from comment #3)
> > > As main needs dynamic stack realignment, I wonder if we just shouldn't error
> > > out on trying to compile it with -ffixed-ebp.
> >
> > It is still possible to compile with -maccumulate-outgoing-args. Perhaps we
> > can error out with the advice that -ffixed-ebp requires -m-o-a option, as is
> > already the case with stack probing?
>
> Yeah. Or if neither -m{,no-}accumulate-outgoing-args is specified, perhaps
> turn that on automatically instead if -ffixed-ebp and only error out if
> explicit -mno-accumulate-outgoing-args?
IMO, this is a good idea.
More information about the Gcc-bugs
mailing list