[Bug bootstrap/40788] New: [4.5 regression] ICE : tree check: expected class 'expression', have 'declaration' (var_decl) in gimplify_va_arg_expr, at builtins.c:5107

ro at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Jul 17 19:25:00 GMT 2009


Between 20090702 and 20090717, compiling genattrtab.c in stage 2 fails on
Solaris 11/SPARC like this:

% /vol/gccsrc/obj/gcc-4.5.0-20090717/11-gcc/./prev-gcc/xgcc
-B/vol/gccsrc/obj/gcc-4.5.0-20090717/11-gcc/./prev-gcc/
-B/vol/gcc/sparc-sun-solaris2.11/bin/ -B/vol/gcc/sparc-sun-solaris2.11/bin/
-B/vol/gcc/sparc-sun-solaris2.11/lib/ -isystem
/vol/gcc/sparc-sun-solaris2.11/include -isystem
/vol/gcc/sparc-sun-solaris2.11/sys-include    -c  -g -O2 -DIN_GCC   -W -Wall
-Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Werror -Wold-style-definition -Wc++-compat -fno-common
 -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I/vol/gcc/src/gcc-dist/gcc
-I/vol/gcc/src/gcc-dist/gcc/build -I/vol/gcc/src/gcc-dist/gcc/../include
-I/vol/gcc/src/gcc-dist/gcc/../libcpp/include -I/vol/gcc/include
-I/vol/gcc/include -I/vol/gcc/src/gcc-dist/gcc/../libdecnumber
-I/vol/gcc/src/gcc-dist/gcc/../libdecnumber/dpd -I../libdecnumber -o
build/genattrtab.o /vol/gcc/src/gcc-dist/gcc/genattrtab.c
/vol/gcc/src/gcc-dist/gcc/genattrtab.c: In function 'attr_rtx_1':
/vol/gcc/src/gcc-dist/gcc/genattrtab.c:479:28: internal compiler error: tree
check: expected class 'expression', have 'declaration' (var_decl) in
gimplify_va_arg_expr, at builtins.c:5107

This can be reproduced even with cc1 -fpreprocessed -quiet genattrtab.i


-- 
           Summary: [4.5 regression] ICE : tree check: expected class
                    'expression', have 'declaration' (var_decl) in
                    gimplify_va_arg_expr, at builtins.c:5107
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ro at gcc dot gnu dot org
 GCC build triplet: sparc-sun-solaris2.11
  GCC host triplet: sparc-sun-solaris2.11
GCC target triplet: sparc-sun-solaris2.11


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



More information about the Gcc-bugs mailing list