[Bug middle-end/67512] [5/6 Regression] internal compiler error: in invert_tree_comparison, at fold-const.c:2456

2015-09-09 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67512 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/67512] [5/6 Regression] internal compiler error: in invert_tree_comparison, at fold-const.c:2456

2015-09-09 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67512 --- Comment #7 from Marek Polacek --- Author: mpolacek Date: Wed Sep 9 17:14:29 2015 New Revision: 227596 URL: https://gcc.gnu.org/viewcvs?rev=227596&root=gcc&view=rev Log: PR middle-end/67512 * tree-ssa-uninit.c (pred_equal_p):

[Bug middle-end/67512] [5/6 Regression] internal compiler error: in invert_tree_comparison, at fold-const.c:2456

2015-09-09 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67512 --- Comment #6 from Marek Polacek --- Author: mpolacek Date: Wed Sep 9 17:09:32 2015 New Revision: 227594 URL: https://gcc.gnu.org/viewcvs?rev=227594&root=gcc&view=rev Log: PR middle-end/67512 * tree-ssa-uninit.c (pred_equal_p):

[Bug middle-end/67512] [5/6 Regression] internal compiler error: in invert_tree_comparison, at fold-const.c:2456

2015-09-09 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67512 --- Comment #5 from Marek Polacek --- With the patch we don't ICE anymore but we lose this warning: ice.c:10:3: warning: ā€˜zā€™ may be used uninitialized in this function [-Wmaybe-uninitialized] fn3 (z); ^ but I think that's not a fault of th

[Bug middle-end/67512] [5/6 Regression] internal compiler error: in invert_tree_comparison, at fold-const.c:2456

2015-09-09 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67512 --- Comment #4 from Marek Polacek --- --- a/gcc/tree-ssa-uninit.c +++ b/gcc/tree-ssa-uninit.c @@ -1296,7 +1296,8 @@ pred_equal_p (pred_info x1, pred_info x2) return false; c1 = x1.cond_code; - if (x1.invert != x2.invert) + if (x1.inver

[Bug middle-end/67512] [5/6 Regression] internal compiler error: in invert_tree_comparison, at fold-const.c:2456

2015-09-09 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67512 --- Comment #3 from Marek Polacek --- (as it should, it is only supposed to handle tcc_comparisons)

[Bug middle-end/67512] [5/6 Regression] internal compiler error: in invert_tree_comparison, at fold-const.c:2456

2015-09-09 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67512 --- Comment #2 from Marek Polacek --- Here, invert_tree_comparison is asked to return the logical inverse for BIT_AND_EXPR and crashes on that.

[Bug middle-end/67512] [5/6 Regression] internal compiler error: in invert_tree_comparison, at fold-const.c:2456

2015-09-09 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67512 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|