https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63349

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-checking,
                   |                            |ice-on-valid-code
   Target Milestone|4.8.4                       |---
      Known to fail|                            |4.2.4, 4.4.7

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Also happens with 4.2.x, so indeed pretty old bug.  Triggers with checking
only.

#3  0x000000000113556e in get_narrower (op=<component_ref 0x7ffff67d58d0>, 
    unsignedp_ptr=0x7fffffffc3e0)
    at /space/rguenther/src/svn/trunk/gcc/tree.c:8532
8532          && DECL_SIZE (TREE_OPERAND (op, 1)) != 0
(gdb) p debug_tree (op)
 <component_ref 0x7ffff67d58d0
    type <integer_type 0x7ffff66c8690 int public type_6 SI
        size <integer_cst 0x7ffff66e5030 constant 32>
        unit size <integer_cst 0x7ffff66e5048 constant 4>
        align 32 symtab 0 alias set -1 canonical type 0x7ffff66c8690 precision
32 min <integer_cst 0x7ffff66c4fd8 -2147483648> max <integer_cst 0x7ffff66e5000
2147483647>
        pointer_to_this <pointer_type 0x7ffff66e9738>>

    arg 0 <var_decl 0x7ffff66d1c60 b
        type <record_type 0x7ffff6821f18 timeval type_5 type_6 SI size
<integer_cst 0x7ffff66e5030 32> unit size <integer_cst 0x7ffff66e5048 4>
            align 32 symtab 0 alias set -1 canonical type 0x7ffff6821f18 fields
<field_decl 0x7ffff68224c0 tv_sec> context <translation_unit_decl
0x7ffff7ff81e0 D.1>
            full-name "struct timeval"
            X() X(constX&) this=(X&) n_parents=0 use_template=0
interface-unknown
            chain <type_decl 0x7ffff6822390 timeval>>
        used decl_5 SI file /tmp/t.C line 9 col 24 size <integer_cst
0x7ffff66e5030 32> unit size <integer_cst 0x7ffff66e5048 4>
        align 32 context <function_decl 0x7ffff6825a20 test>
        chain <var_decl 0x7ffff66d1bd0 a type <record_type 0x7ffff6821f18
timeval>
            used decl_5 SI file /tmp/t.C line 9 col 21 size <integer_cst
0x7ffff66e5030 32> unit size <integer_cst 0x7ffff66e5048 4>
            align 32 context <function_decl 0x7ffff6825a20 test>>>
    arg 1 <identifier_node 0x7ffff6831108 tv_sec
        bindings <(nil)>
        local bindings <(nil)>>>
$2 = void

Reply via email to