Re: PATCH to attribute_takes_identifier_p for c++/46803

2011-03-11 Thread Jason Merrill
On 03/11/2011 04:35 PM, Jason Merrill wrote: Tested x86_64-pc-linux-gnu, applied to trunk. Hmm, I thought bootstrap used -Werror, but I just noticed some build warnings from this change. Fixed thus. commit 9bf1c74e01512f43f764c9a4d437f9d999b74117 Author: jason Date: Fri Mar 11 22:38:58 201

PATCH to attribute_takes_identifier_p for c++/46803

2011-03-11 Thread Jason Merrill
In 46803 we have an unknown attribute that apparently takes an identifier as its first argument; since my introduction of attribute_takes_identifier_p, we assume that most attributes do not take an identifier as their first argument. But it won't hurt to assume the contrary for unknown attribu