------- Comment #2 from rguenth at gcc dot gnu dot org 2006-04-17 20:07 ------- And this only fails for array types without their size specified. Confirmed.
Btw. inside NumShift the two array types are <array_type 0xb7d86398 atype type <integer_type 0xb7d1733c long int sizes-gimplified public SI size <integer_cst 0xb7d07408 constant invariant 32> unit size <integer_cst 0xb7d07198 constant invariant 4> align 32 symtab 0 alias set -1 precision 32 min <integer_cst 0xb7d07498 -2147483648> max <integer_cst 0xb7d074b0 2147483647> pointer_to_this <pointer_type 0xb7d1f114>> BLK align 32 symtab 0 alias set -1 pointer_to_this <pointer_type 0xb7d864ac>> <array_type 0xb7d86450 atype1 type <integer_type 0xb7d1733c long int sizes-gimplified public SI size <integer_cst 0xb7d07408 constant invariant 32> unit size <integer_cst 0xb7d07198 constant invariant 4> align 32 symtab 0 alias set -1 precision 32 min <integer_cst 0xb7d07498 -2147483648> max <integer_cst 0xb7d074b0 2147483647> pointer_to_this <pointer_type 0xb7d1f114>> BLK align 32 symtab 0 alias set -1 pointer_to_this <pointer_type 0xb7d86508>> still we create Variable: aD.1278, UID 1278, long intD.2[<unknown>] *, type memory tag: TMT.5D.1303, default def: aD.1278_1 Variable: a1D.1279, UID 1279, long intD.2[<unknown>] *, type memory tag: TMT.6D.1304, default def: a1D.1279_2 # TMT.5D.1303_6 = V_MAY_DEF <TMT.5D.1303_5>; (*aD.1278_1)[0] = 0; # TMT.6D.1304_8 = V_MAY_DEF <TMT.6D.1304_7>; (*a1D.1279_2)[0] = 1; # VUSE <TMT.5D.1303_6>; D.1282_3 = (*aD.1278_1)[0]; -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2006-04-17 20:07:06 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27184