[Bug c/55851] [4.8 Regression] ICE in size_binop_loc, at fold-const.c:1385

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 3 11:16:00 GMT 2013


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|middle-end                  |c

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> 2013-01-03 11:15:57 UTC ---
Confirmed.  TYPE_SIZE_UNIT of the ARRAY_TYPE is not of sizetype.

 <array_type 0x7ffff68e01f8
    type <integer_type 0x7ffff67f63f0 char sizes-gimplified public string-flag
QI
        size <integer_cst 0x7ffff67e2f00 constant 8>
        unit size <integer_cst 0x7ffff67e2f20 constant 1>
        align 8 symtab 0 alias set -1 canonical type 0x7ffff67f63f0 precision 8
min <integer_cst 0x7ffff67e2f60 -128> max <integer_cst 0x7ffff67e2fa0 127>
        pointer_to_this <pointer_type 0x7ffff68033f0>>
    sizes-gimplified type_1 BLK
    size <var_decl 0x7ffff68cf7b8 D.1378
        type <integer_type 0x7ffff67f60a8 bitsizetype public unsigned DI
...
    unit size <var_decl 0x7ffff68cf4c0 something.0
        type <enumeral_type 0x7ffff68e0000 unsigned type_0 SI
...

oops.

C frontend bug.



More information about the Gcc-bugs mailing list