------- Comment #5 from rguenth at gcc dot gnu dot org 2008-08-11 16:10 -------
Confirmed. (-O2 -m32)
#1 0x0000000000c288e4 in set_value_range (vr=0x7fffffffd5e0, t=VR_RANGE,
min=0x7ffff73c52d0, max=0x7ffff73c5300, equiv=0x0)
at /space/rguenther/src/svn/trunk/gcc/tree-vrp.c:395
395 gcc_assert (!is_overflow_infinity (min)
(gdb) l
390
391 cmp = compare_values (min, max);
392 gcc_assert (cmp == 0 || cmp == -1 || cmp == -2);
393
394 if (needs_overflow_infinity (TREE_TYPE (min)))
395 gcc_assert (!is_overflow_infinity (min)
396 || !is_overflow_infinity (max));
397 }
398
399 if (t == VR_UNDEFINED || t == VR_VARYING)
(gdb) call debug_tree (min)
<integer_cst 0x7ffff73c52d0 type <integer_type 0x7ffff7ebb840 long int>
constant public overflow 2147483647>
(gdb) call debug_tree (max)
<integer_cst 0x7ffff73c5300 type <integer_type 0x7ffff7ebb840 long int>
constant public overflow 2147483647>
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2008-08-11 16:10:35
date| |
Summary|ICE when compiling gmp 4.2.3|[4.4 Regression] ICE when
| |compiling gmp 4.2.3
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37078