This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[C++ Patch] PR 50611


Hi,

for this largish testcase (reduced from a big one by Jakub) we ICE due to error reporting routines re-entered. In 4_6-branch the situation is worse, because for the original testcase we don't produce any useful diagnostics at all before ICEing.

Thus the below, which seems pretty straightforward to me given that unqualified_name_lookup_error, called by tsubst_copy_and_build (in turn called by tsubst, called by dump_template_bindings) errors out unconditionally.

Tested mainline and 4_6-branch. Ok for both?

Thanks,
Paolo.

///////////////////////

Attachment: CL_50611
Description: Text document

Attachment: patch_50611
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]