This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bizzare segmentation violation
- From: Andreas Schwab <schwab at suse dot de>
- To: Tony Bryant <brd at paradise dot net dot nz>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 21 Jun 2002 13:07:17 +0200
- Subject: Re: Bizzare segmentation violation
- References: <20020621115511.3F11F56F7@kidstv.dyndns.org>
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."