This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/37078] [4.4 Regression] ICE when compiling gmp 4.2.3
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Aug 2008 16:10:35 -0000
- Subject: [Bug middle-end/37078] [4.4 Regression] ICE when compiling gmp 4.2.3
- References: <bug-37078-15353@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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