This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Too many if statements crash cc1
- To: gcc at gcc dot gnu dot org
- Subject: Too many if statements crash cc1
- From: " J S Hammond" <jshammond at my-Deja dot com>
- Date: Tue, 06 Jun 2000 17:02:36 -0700
- Organization: My Deja Email (http://www.my-deja.com:80)
- Reply-To: jshammond at my-Deja dot com
I am building a cross compiler for a custom
processor using WinNT as the host machine.
This is for compiling only, we use our own
tools for assembling and linking. The gcc
version is 2.95.
If I put more than 757 if statments in a
single function cc1 crashes while compiling
and returns a STATUS_ACCESS_VIOLATION as
well as a core file. It takes half as many
if-else statements to cause this. I have
tried these programs (and one with many more
if statements) on the native gcc compiler
and those compiled with no errors. Spreading
the if statements out over multiple functions
makes the compiler happy.
Is there something that I can change in the
cross compiler building that will fix this?
Thanks,
Jeff
--== Sent via Deja.com http://www.deja.com/ ==--
Before you buy.