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: Bizzare segmentation violation


Tony Bryant <brd@paradise.net.nz> writes:

|> I've a piece of C++ code here that causes an "Internal compiler error: 
|> segmentation violation" when complied with yesterday's mainline GCC. 
|> 
|> Strange thing is that 
|> 
|> "sh-elf-g++ -c mycode.cc"
|> 
|> doesn't work,
|> 
|> but
|> 
|> "sh-elf-g++ -E mycode.cc -o tmp/mycode.cc"
|> "sh-elf-g++ -c tmp/mycode.cc -o mycode.o"
|> 
|> works fine! It runs fine too.

I suspect there is some GC bug.  I have a similar problem on ia64, see
http://gcc.gnu.org/ml/gcc/2002-06/msg01109.html.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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