This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/54098] [4.8 Regression] ICE on valid code
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 26 Jul 2012 09:00:10 +0000
- Subject: [Bug tree-optimization/54098] [4.8 Regression] ICE on valid code
- Auto-submitted: auto-generated
- References: <bug-54098-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54098
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2012-07-26
Target Milestone|--- |4.8.0
Summary|[tree-vrp] ICE on valid |[4.8 Regression] ICE on
|code |valid code
Ever Confirmed|0 |1
--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-07-26 09:00:10 UTC ---
Confirmed, mine.
Program received signal SIGSEGV, Segmentation fault.
0x0000000000e03ca0 in compare_values_warnv (val1=0x0, val2=0x7ffff70bef00,
strict_overflow_p=0x7fffffffd83b "")
at /space/rguenther/src/svn/trunk/gcc/tree-vrp.c:1148
1148 gcc_assert (POINTER_TYPE_P (TREE_TYPE (val1))
(gdb) p val1
$1 = (tree) 0x0
lhs_vr is undefined in vrp_visit_phi_node at
7671 if (edges > 0
7672 && gimple_phi_num_args (phi) > 1
7673 && edges == old_edges)
7674 {
7675 int cmp_min = compare_values (lhs_vr->min, vr_result.min);
7676 int cmp_max = compare_values (lhs_vr->max, vr_result.max);