[Bug c/43661] [4.5 Regression] ice in fold_comparison, at fold-const.c:9579

2010-04-06 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2010-04-06 08:02 --- Caused by r145254. Shorter testcase: int func (int x) { return 0 ? (unsigned short) (0 ? : 1 * (signed char) (x ^ x) = 0) : 1; } -- jakub at gcc dot gnu dot org changed: What|Removed

[Bug c/43661] [4.5 Regression] ice in fold_comparison, at fold-const.c:9579

2010-04-06 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-04-06 09:00 --- These kind of asserts are really bogus ... Well. We have an unfolded tree. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/43661] [4.5 Regression] ice in fold_comparison, at fold-const.c:9579

2010-04-06 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-04-06 09:10 --- I have a fix for the ICE. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/43661] [4.5 Regression] ice in fold_comparison, at fold-const.c:9579

2010-04-06 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-04-06 10:37 --- Subject: Bug 43661 Author: rguenth Date: Tue Apr 6 10:36:57 2010 New Revision: 157984 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=157984 Log: 2010-04-06 Richard Guenther rguent...@suse.de PR

[Bug c/43661] [4.5 Regression] ice in fold_comparison, at fold-const.c:9579

2010-04-06 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-04-06 10:47 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED