[Bug middle-end/29135] internal compiler error at cfgexpand.c:515
de at cs dot brown dot edu
gcc-bugzilla@gcc.gnu.org
Tue Sep 19 21:49:00 GMT 2006
------- Comment #3 from de at cs dot brown dot edu 2006-09-19 21:49 -------
Subject: Re: internal compiler error at cfgexpand.c:515
It seems to still be a problem with 4.1.1 (released 20060511). Maybe
this is a slightly different problem?
If not, what version has fixed this? Or, how can I change my code to
avoid the stack overflow?
Thanks,
David
/usr/bin/gcc-4.1 -Wall -pedantic -g -c -o desh.o desh.c -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,java,fortran,objc,obj-c++,ada,treelang
--prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu
--enable-libstdcxx-debug --enable-java-awt=gtk --enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0/jre
--enable-mpfr --with-tune=i686 --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.1 20060511 (prerelease) (Debian 4.1.0-4)
/usr/lib/gcc/i486-linux-gnu/4.1.1/cc1 -quiet -v desh.c -quiet -dumpbase
desh.c -mtune=i686 -auxbase-strip desh.o -g -Wall -pedantic -version -o
/tmp/ccBamZow.s
ignoring nonexistent directory "/usr/local/include/i486-linux-gnu"
ignoring nonexistent directory "/usr/include/i486-linux-gnu"
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/usr/lib/gcc/i486-linux-gnu/4.1.1/include
/usr/include
End of search list.
GNU C version 4.1.1 20060511 (prerelease) (Debian 4.1.0-4) (i486-linux-gnu)
compiled by GNU C version 4.1.1 20060511 (prerelease) (Debian
4.1.0-4).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 0094fb0542a7fdae5375a0ba89472de3
desh.c: In function 'main':
desh.c:256: internal compiler error: in expand_one_stack_var_at, at
cfgexpand.c:515
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
pinskia at gcc dot gnu dot org wrote:
>------- Comment #2 from pinskia at gcc dot gnu dot org 2006-09-19 04:19 -------
>char input[((size_t)~0 >> 1)];
>
>hehehehehehehe.
>
>Anyways this has been fixed for 4.1.0 by rejecting this code saying there is a
>stack (32bit) overflow.
>
>*** This bug has been marked as a duplicate of 21107 ***
>
>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29135
More information about the Gcc-bugs
mailing list