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: [RFC] hot/cold attributes on labels


On 10/20/2010 02:23 PM, Andi Kleen wrote:
> I would be a bit worried about what this syntax does for syntax error
> recovery, because now you can have parts of a type in 
> the middle of a expression.  Without a parser generator
> double checking this it's hard to know.

This patch does not change the parser at all.

We already accept __attribute__ on labels, though
the syntax is slightly different for C and C++.
At present the only valid attribute for labels is
unused.


r~


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