[Bug rtl-optimization/51366] [cygwin] ICE in maybe_record_trace_start, at dwarf2cfi.c:2244

gcc@Denis-Excoffier.org gcc-bugzilla@gcc.gnu.org
Mon Dec 19 15:38:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51366

--- Comment #5 from Denis Excoffier <gcc@Denis-Excoffier.org> 2011-12-19 15:31:46 UTC ---
Reduced test case is:

% cat exclude.c
int version;
int zz1(char *);

static void zz2(int flags)
{
 static int initialized = 0;
 char xx[4096];
 if (initialized)
  return;
 initialized = 1;
 zz2(flags | (version ? 2 : 0));
 zz2(flags);
 zz1(xx);
}

void zz3()
{
 zz2(0);
}
% gcc -v -O -c exclude.c
Using built-in specs.
COLLECT_GCC=/tmp/lcl/uxl/gcc/bin/gcc
COLLECT_LTO_WRAPPER=/cygdrive/D/Home/dexcoff1/dexcoff1/cyglcl/uxl/gcc-4.7-201112
10/bin/../libexec/gcc/i686-pc-cygwin/4.7.0/lto-wrapper.exe
Target: i686-pc-cygwin
Configured with: /tmp/lcl/tmp/gcc/gcc-4.7-20111210/configure
--prefix=/tmp/lcl/u
xl/gcc-4.7-20111210 --with-local-prefix=/usr/local/here
--enable-languages=c,c++
 --disable-sjlj-exceptions
Thread model: single
gcc version 4.7.0 20111210 (experimental) (GCC) 
COLLECT_GCC_OPTIONS='-v' '-O' '-c' '-mtune=generic' '-march=pentiumpro'

/cygdrive/D/Home/dexcoff1/dexcoff1/cyglcl/uxl/gcc-4.7-20111210/bin/../libexec/g
cc/i686-pc-cygwin/4.7.0/cc1.exe -quiet -v -iprefix
/cygdrive/D/Home/dexcoff1/dex
coff1/cyglcl/uxl/gcc-4.7-20111210/bin/../lib/gcc/i686-pc-cygwin/4.7.0/
-D__CYGWI
N32__ -D__CYGWIN__ -Dunix -D__unix__ -D__unix -idirafter
/usr/lib/../include/w32
api -idirafter ../../include/w32api exclude.c -quiet -dumpbase exclude.c
-mtune=
generic -march=pentiumpro -auxbase exclude -O -version -o /tmp/ccK5Dvq6.s
GNU C (GCC) version 4.7.0 20111210 (experimental) (i686-pc-cygwin)
        compiled by GNU C version 4.7.0 20111210 (experimental), GMP version
5.0
.2, MPFR version 3.1.0-p4, MPC version 0.9
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
ignoring nonexistent directory
"/cygdrive/D/Home/dexcoff1/dexcoff1/cyglcl/uxl/gc
c-4.7-20111210/bin/../lib/gcc/i686-pc-cygwin/4.7.0/../../../../i686-pc-cygwin/in
clude"
ignoring duplicate directory
"/cygdrive/D/Home/dexcoff1/dexcoff1/cyglcl/uxl/gcc-
4.7-20111210/bin/../lib/gcc/../../lib/gcc/i686-pc-cygwin/4.7.0/include"
ignoring nonexistent directory "/usr/local/here/include"
ignoring duplicate directory
"/cygdrive/D/Home/dexcoff1/dexcoff1/cyglcl/uxl/gcc-
4.7-20111210/bin/../lib/gcc/../../lib/gcc/i686-pc-cygwin/4.7.0/include-fixed"
ignoring nonexistent directory
"/cygdrive/D/Home/dexcoff1/dexcoff1/cyglcl/uxl/gc
c-4.7-20111210/bin/../lib/gcc/../../lib/gcc/i686-pc-cygwin/4.7.0/../../../../i68
6-pc-cygwin/include"
ignoring nonexistent directory "../../include/w32api"
#include "..." search starts here:
#include <...> search starts here:

/cygdrive/D/Home/dexcoff1/dexcoff1/cyglcl/uxl/gcc-4.7-20111210/bin/../lib/gcc/i686-pc-cygwin/4.7.0/include

/cygdrive/D/Home/dexcoff1/dexcoff1/cyglcl/uxl/gcc-4.7-20111210/bin/../lib/gcc/i686-pc-cygwin/4.7.0/include-fixed

/cygdrive/D/Home/dexcoff1/dexcoff1/cyglcl/uxl/gcc-4.7-20111210/bin/../lib/gcc/../../include
 /usr/include
 /usr/lib/../include/w32api
End of search list.
GNU C (GCC) version 4.7.0 20111210 (experimental) (i686-pc-cygwin)
        compiled by GNU C version 4.7.0 20111210 (experimental), GMP version
5.0.2, MPFR version 3.1.0-p4, MPC version 0.9
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: e4de487ff334f86f04bb7cab20aac91a
exclude.c: In function 'zz2':
exclude.c:14:1: internal compiler error: in maybe_record_trace_start, at
dwarf2cfi.c:2244
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
%



More information about the Gcc-bugs mailing list