[patch] Fix PR c++/28112: ICE with invalid argument in attribute

Mark Mitchell mark@codesourcery.com
Wed Jun 21 18:55:00 GMT 2006


Volker Reichelt wrote:

> 2006-06-21  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
> 
> 	PR c++/28112
> 	* attribs.c (decl_attributes): Check for invalid arguments.

I think we should avoid creating an attribute with invalid arguments;
once we figure out the attribute is erroneous, just throw it away.

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713



More information about the Gcc-patches mailing list