[Bug middle-end/41182] [4.5 Regression] ICE: tree check: expected integer_cst, have nop_expr in tree_int_cst_lt, at tree.c:5259

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Sep 20 20:29:00 GMT 2009



------- Comment #3 from pinskia at gcc dot gnu dot org  2009-09-20 20:29 -------
6148      comp_const = fold_convert_loc (loc, TREE_TYPE (arg0), op1);

op1 is already not folded:
(gdb) p debug_tree(op1)
 <nop_expr 0x7ffff6fcc040
    type <integer_type 0x7ffff7ed8780 long unsigned int public unsigned DI
        size <integer_cst 0x7ffff7ec7bd0 constant 64>
        unit size <integer_cst 0x7ffff7ec7c00 constant 8>
        align 64 symtab 0 alias set -1 canonical type 0x7ffff7ed8780 precision
64 min <integer_cst 0x7ffff7ec7c30 0> max <integer_cst 0x7ffff7ec7ba0
18446744073709551615>>
    constant
    arg 0 <integer_cst 0x7ffff6fc6990 type <integer_type 0x7ffff7ed8780 long
unsigned int> constant 2>>
$5 = void


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pinskia at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED


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



More information about the Gcc-bugs mailing list