This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/68701] [4.9/5/6 Regression] "gcc -m32 -finstrument-functions -ffixed-ebp" produces internal compiler error


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]