[Bug c++/49165] [4.3/4.4/4.5 Regression] ICE on for-loop/throw combination

2011-06-27 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49165 Richard Guenther changed: What|Removed |Added Target Milestone|4.3.6 |4.4.7 --- Comment #16 from Richard Gue

[Bug c++/49165] [4.3/4.4/4.5 Regression] ICE on for-loop/throw combination

2011-06-27 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49165 Richard Guenther changed: What|Removed |Added Priority|P3 |P2

[Bug c++/49165] [4.3/4.4/4.5 Regression] ICE on for-loop/throw combination

2011-05-27 Thread gcc at portuosus dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49165 --- Comment #15 from Vijay Rao 2011-05-27 22:19:00 UTC --- Ok, thanks for this. While using 4.5.1 I'm also stuck in a toolchain using 3.4.6 for which the latter doesn't fail when one of the conditional args is of type bool but does give the "void

[Bug c++/49165] [4.3/4.4/4.5 Regression] ICE on for-loop/throw combination

2011-05-27 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49165 --- Comment #14 from Jakub Jelinek 2011-05-27 19:23:49 UTC --- Author: jakub Date: Fri May 27 19:23:46 2011 New Revision: 174351 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174351 Log: PR c++/49165 * c-common.c (c_common_truthv

[Bug c++/49165] [4.3/4.4/4.5 Regression] ICE on for-loop/throw combination

2011-05-27 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49165 --- Comment #13 from Jakub Jelinek 2011-05-27 19:19:39 UTC --- Author: jakub Date: Fri May 27 19:19:36 2011 New Revision: 174350 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174350 Log: PR c++/49165 * c-common.c (c_common_truthv

[Bug c++/49165] [4.3/4.4/4.5 Regression] ICE on for-loop/throw combination

2011-05-27 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49165 --- Comment #12 from Jakub Jelinek 2011-05-27 12:30:29 UTC --- Created attachment 24369 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24369 gcc46-pr49165.patch Indeed, c_common_truthvalue_conversion needs to be aware of it too.

[Bug c++/49165] [4.3/4.4/4.5 Regression] ICE on for-loop/throw combination

2011-05-27 Thread gcc at portuosus dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49165 --- Comment #11 from Vijay Rao 2011-05-27 07:58:25 UTC --- Does this fix the situation when the 2nd operand of the conditional operator is of type int? extern "C" void abort (); int bar (bool x, int y) { if (y < 10 && (x ? 1 : throw 1))

[Bug c++/49165] [4.3/4.4/4.5 Regression] ICE on for-loop/throw combination

2011-05-26 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49165 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |4.3.6 Summary|[4.3/4.4/4.5/4.6