Re: [C++ Patch] PR 50436

2013-11-25 Thread Paolo Carlini
On 11/23/2013 08:36 PM, Jason Merrill wrote: On 11/06/2013 05:56 AM, Paolo Carlini wrote: in this bug, filed by Zack, we loop forever after error in constant_value_1. Straightforward thing to do, detect and break out. This doesn't handle mutual infinite recursion, such as the modified testcas

Re: [C++ Patch] PR 50436

2013-11-23 Thread Jason Merrill
On 11/06/2013 05:56 AM, Paolo Carlini wrote: in this bug, filed by Zack, we loop forever after error in constant_value_1. Straightforward thing to do, detect and break out. This doesn't handle mutual infinite recursion, such as the modified testcase below. I think the right answer is to make

[C++ Patch] PR 50436

2013-11-06 Thread Paolo Carlini
Hi, in this bug, filed by Zack, we loop forever after error in constant_value_1. Straightforward thing to do, detect and break out. Tested x86_64-linux. Thanks, Paolo. /cp 2013-11-06 Paolo Carlini PR c++/50436 * init.c (constant_value_1): Break out of