[Bug target/68701] [4.9/5/6 Regression] "gcc -m32 -finstrument-functions -ffixed-ebp" produces internal compiler error
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 8 08:26:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68701
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(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?
More information about the Gcc-bugs
mailing list