Re: [C++ Patch / RFC] PR 52432

2012-09-20 Thread Paolo Carlini
On 09/20/2012 12:58 PM, Paolo Carlini wrote: On 09/20/2012 06:08 AM, Jason Merrill wrote: OK. Thanks Jason. Unfortunately I can't apply the patch because apparently it triggers rather mysterious failures in the library testsuite, ICEs as Seg faults in 17_intro/headers/c++1998. Ah, ah, with t

Re: [C++ Patch / RFC] PR 52432

2012-09-20 Thread Paolo Carlini
On 09/20/2012 06:08 AM, Jason Merrill wrote: OK. Thanks Jason. Unfortunately I can't apply the patch because apparently it triggers rather mysterious failures in the library testsuite, ICEs as Seg faults in 17_intro/headers/c++1998. I have troubles debugging it because I can't reproduce out

Re: [C++ Patch / RFC] PR 52432

2012-09-19 Thread Jason Merrill
OK. Jason

[C++ Patch / RFC] PR 52432

2012-09-19 Thread Paolo Carlini
Hi all, Jason, the large testcase attached by Jon to this PR triggers an "Internal compiler error: Error reporting routines re-entered." from -fdump-tree-gimple. The immediate cause seems obvious: in one place in tsubst_copy_and_build we are calling unqualified_name_lookup_error unconditional