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 38634 (Take 2)


Hi,

today I was going through some pending issues, and decided to rework my first try at fixing this very old ICE on invalid:

    http://gcc.gnu.org/ml/gcc-patches/2013-06/msg00480.html

In the first try, bailing out early in case of error without undoing the committed changes to decl1 made me a little nervous. The below variant works at first on newdecl and only if push_template_decl goes well, copies it back to decl1. Still passes testing on x86_64-linux.

Thanks,
Paolo.

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

Attachment: CL_38634
Description: Text document

Attachment: patch_38634_2
Description: Text document


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