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]

Re: [patch c++]: Fix for PR c++/51344 - cc1plus hangs when compiling


On 01/17/2012 02:30 PM, Kai Tietz wrote:
2012/1/17 Jason Merrill<jason@redhat.com>:
How does this happen? Are we setting DECL_ATTRIBUTES twice?

Yes, we call it for this example twice. One time in 'begin_class_definition'. and second time in 'do_friend'.

Surely the call from begin_class_definition isn't for the function declaration, though.


Jason


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