This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/68701] [4.9/5/6 Regression] "gcc -m32 -finstrument-functions -ffixed-ebp" produces internal compiler error
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 08 Dec 2015 08:26:18 +0000
- Subject: [Bug target/68701] [4.9/5/6 Regression] "gcc -m32 -finstrument-functions -ffixed-ebp" produces internal compiler error
- Auto-submitted: auto-generated
- References: <bug-68701-4 at http dot gcc dot gnu dot org/bugzilla/>
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?