This is the mail archive of the gcc@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]

Re: I give up


On Friday 28 December 2001 10:06, Finny Merrill wrote:
> On Fri, 28 Dec 2001, Andris Pavenis wrote:
> > On Friday 28 December 2001 08:51, Finny Merrill wrote:
> > > What in hell does this piece of greek mean? I have NO idea what it
> > > means, it only happens when I compile in release mode, with all
> > > optimizations turned on.
> >
> > Which gcc version?
>
> [griever@linux linux]$ gcc -v
> Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
> gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98)
> [griever@linux linux]$
>
> > Does the problem go away if command line options -fomit-frame-pointer
> > or/and (possibly some other one) is removed?
>
> Yes, omit-frame-pointer is the cause
>
> > If You're using gcc-3.0, 3.0.1 or 3.0.2 then please try gcc-3.0.3 as
> > earlier gcc-3.0.X versions had problems with option -fomit-frame-pointer
> > (PR#4529, PR#4763 and maybe some others in GCC GNATS database)

You may try to look whether it is possible to apply fix (one line only) to 
RedHat versions of GCC (I don't know as I'm not using RedHat distribution). 
See:

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4529&database=gcc

for details.

Andris



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