------- Comment #6 from rguenth at gcc dot gnu dot org  2006-07-05 14:23 -------
Program received signal SIGSEGV, Segmentation fault.
0x080f8a12 in type_dependent_expression_p (expression=0x0)
    at /space/rguenther/src/svn/gcc-4_1-branch/gcc/cp/pt.c:12518
12518     if (TREE_CODE (expression) == IDENTIFIER_NODE)

#1  0x080b8640 in fold_non_dependent_expr (expr=0x0)
    at /space/rguenther/src/svn/gcc-4_1-branch/gcc/cp/pt.c:3363
#2  0x081aa65c in constant_value_1 (decl=0xb7d775d8, integral_p=1 '\001')
    at /space/rguenther/src/svn/gcc-4_1-branch/gcc/cp/init.c:1592
#3  0x081aa93b in integral_constant_value (decl=0xb7d775d8)
    at /space/rguenther/src/svn/gcc-4_1-branch/gcc/cp/init.c:1632
#4  0x080b86ce in fold_decl_constant_value (expr=0xb7d775d8)
    at /space/rguenther/src/svn/gcc-4_1-branch/gcc/cp/pt.c:3397
#5  0x080b9281 in convert_nontype_argument (type=0xb7d7b284, expr=0xb7d775d8)
    at /space/rguenther/src/svn/gcc-4_1-branch/gcc/cp/pt.c:3544
#6  0x080bab48 in convert_template_argument (parm=0xb7d739b0, arg=0xb7d775d8, 
    args=0xb7deb9e0, complain=tf_none, i=1, in_decl=0xb7deec98)
    at /space/rguenther/src/svn/gcc-4_1-branch/gcc/cp/pt.c:3998
#7  0x080bb077 in coerce_template_parms (parms=0xb7deb640, args=0xb7e117b0, 
    in_decl=0xb7deec98, complain=tf_none, require_all_arguments=1)
    at /space/rguenther/src/svn/gcc-4_1-branch/gcc/cp/pt.c:4081

#2  0x081aa65c in constant_value_1 (decl=0xb7d775d8, integral_p=1 '\001')
    at /space/rguenther/src/svn/gcc-4_1-branch/gcc/cp/init.c:1592
1592              init = fold_non_dependent_expr (DECL_INITIAL (decl));
(gdb) call debug_tree (decl)
 <var_decl 0xb7d775d8 value
    type <integer_type 0xb7e0fc94 int readonly type_6 SI
        size <integer_cst 0xb7d6a3f0 constant invariant 32>
        unit size <integer_cst 0xb7d6a180 constant invariant 4>
        align 32 symtab 0 alias set -1 precision 32 min <integer_cst 0xb7d6a3a8
-2147483648> max <integer_cst 0xb7d6a3c0 2147483647>>
    readonly constant used public static tree_2 external nonlocal decl_3 decl_6
SI file t.ii line 8 size <integer_cst 0xb7d6a3f0 32> unit size <integer_cst
0xb7d6a180 4>
    align 32 context <record_type 0xb7e152e0 template_arity<T1>>
    template-info 0xb7e14720 chain <type_decl 0xb7e13888 template_arity>>

janis, can you check what fixed this on the trunk?  Or what made it fail on the
branch? (4.1.0 fails, too, so maybe start at the branch point).


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |janis at gcc dot gnu dot
                   |                            |org, rguenth at gcc dot gnu
                   |                            |dot org


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

Reply via email to