This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Compilation using -O2 Problem
- To: help-gcc at gnu dot org
- Subject: Re: Compilation using -O2 Problem
- From: "Ashutosh S. Rajekar" <asr at giaspna dot vsnl dot net dot in>
- Date: Sat, 9 Oct 1999 18:34:55 -0500
- Newsgroups: gnu.gcc.help
- Organization: VSNL
- References: <7tiqq8$fnj$1@nntp.smartdna.com>
- Xref: wodc7nx0 gnu.gcc.help:1343
On Thu, 7 Oct 1999, Gerald E. Bennett wrote:
> I am trying to compile my code,
> it compiles fine when I don't use the -O2 option
> as as soon as I ue it I get the following errror:
>
> hashtabledata.cpp:38: Internal compiler error.
GCC uses many pointers when it is compiling your program. When it
just manages to screw up, either because of slow mem and fast CPU, or the
other way, it gets a SIG11, or SIGSEGV, a segmentation violation, or
internal compiler error. Just compile the program again, and it will work
smoothly.
> Why is this ?
> How can I get more compile info to know what's going on ?
Try the man page. Or you can get the gcc docs from any mirror site,
say www.djgpp.com, or whatever.
-------------------
Ashutosh S. Rajekar
http://i.am/asr