This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/36074] New: [4.4 Regression]: 447.dealII in SPEC CPU 2006 failed to compile


Gcc 4.4 revision 134755 failed to compile 447.dealII in SPEC CPU 2006
on Linux Intel64 with -O2 -ffast-math

In file included from
/usr/gcc-4.4/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/../../../../include/c++/4.4.0/vector:74,
                 from include/base/tensor_base.h:25,
                 from include/base/tensor.h:18,
                 from include/base/polynomials_bdm.h:19,
                 from polynomials_bdm.cc:14:
/usr/gcc-4.4/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/../../../../include/c++/4.4.0/bits/vector.tcc:
In member function 'void std::vector<_Tp,
_Alloc>::_M_fill_insert(__gnu_cxx::__normal_iterator<typename
std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer, std::vector<_Tp,
_Alloc> >, size_t, const _Tp&) [with _Tp = Tensor<2, 2>, _Alloc =
std::allocator<Tensor<2, 2> >]':
/usr/gcc-4.4/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/../../../../include/c++/4.4.0/bits/vector.tcc:350:
internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
specmake[5]: *** [polynomials_bdm.o] Error 1

(gdb) r  -fpreprocessed x.ii -quiet -dumpbase x.ii -mtune=generic -auxbase x
-O2 -version -ffast-math -o x.s
Starting program:
/usr/gcc-4.4/libexec/gcc/x86_64-unknown-linux-gnu/4.4.0/cc1plus -fpreprocessed
x.ii -quiet -dumpbase x.ii -mtune=generic -auxbase x -O2 -version -ffast-math
-o x.s
GNU C++ (GCC) version 4.4.0 20080428 (experimental) [trunk revision 134755]
(x86_64-unknown-linux-gnu)
        compiled by GNU C version 4.4.0 20080428 (experimental) [trunk revision
134755], GMP version 4.2.2, MPFR version 2.3.0-p4.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 37249754a30773432dac8305adbf4674

Program received signal SIGSEGV, Segmentation fault.
execute_ssa_ccp (store_ccp=<value optimized out>)
    at /net/gnu-13/export/gnu/src/gcc/gcc/gcc/tree-ssa-ccp.c:405
405       val->lattice_val = VARYING;
Missing separate debuginfos, use: debuginfo-install glibc.x86_64
(gdb) p val
No symbol "val" in current context.
(gdb) list
400     static inline void
401     set_value_varying (tree var)
402     {
403       prop_value_t *val = &const_val[SSA_NAME_VERSION (var)];
404
405       val->lattice_val = VARYING;
406       val->value = NULL_TREE;
407       val->mem_ref = NULL_TREE;
408     }
409
(gdb) bt
#0  execute_ssa_ccp (store_ccp=<value optimized out>)
    at /net/gnu-13/export/gnu/src/gcc/gcc/gcc/tree-ssa-ccp.c:405
#1  0x00000000006165ff in execute_one_pass (pass=0xf2a7a0)
    at /net/gnu-13/export/gnu/src/gcc/gcc/gcc/passes.c:1133
#2  0x0000000000616815 in execute_pass_list (pass=0xf2a7a0)
    at /net/gnu-13/export/gnu/src/gcc/gcc/gcc/passes.c:1192
#3  0x000000000061682d in execute_pass_list (pass=0xea8a40)
    at /net/gnu-13/export/gnu/src/gcc/gcc/gcc/passes.c:1193
#4  0x00000000006c635f in tree_rest_of_compilation (fndecl=0x2aaab1f23a90)
    at /net/gnu-13/export/gnu/src/gcc/gcc/gcc/tree-optimize.c:420
#5  0x00000000007d2a82 in cgraph_expand_function (node=0x2aaab231a200)
    at /net/gnu-13/export/gnu/src/gcc/gcc/gcc/cgraphunit.c:1157
#6  0x00000000007d45dc in cgraph_optimize ()
    at /net/gnu-13/export/gnu/src/gcc/gcc/gcc/cgraphunit.c:1220
#7  0x000000000044e80d in cp_write_global_declarations ()
    at /net/gnu-13/export/gnu/src/gcc/gcc/gcc/cp/decl2.c:3524
#8  0x000000000068d744 in toplev_main (argc=<value optimized out>, 
    argv=<value optimized out>)
    at /net/gnu-13/export/gnu/src/gcc/gcc/gcc/toplev.c:971
#9  0x00002aaaaaee9074 in __libc_start_main () from /lib64/libc.so.6
#10 0x0000000000402aea in _start ()
(gdb)

Revision 134716 is OK. This regression may be introduced by

http://gcc.gnu.org/ml/gcc-cvs/2008-04/msg00959.html
http://gcc.gnu.org/ml/gcc-cvs/2008-04/msg00974.html


-- 
           Summary: [4.4 Regression]: 447.dealII in SPEC CPU 2006 failed to
                    compile
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl dot tools at gmail dot com
GCC target triplet: x86_64-unknown-linux-gnu


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]