[Patch] Fix tree check ICE in PR c/28287

Mark Mitchell mark@codesourcery.com
Wed Aug 16 23:59:00 GMT 2006


Danny Smith wrote:

> 2006-08-15  Danny Smith  <dannysmith@users.sourceforge.net>
> 
> 	PR 28287 c:
> 	* c-common.c (handle_weak_attribute): Ignore and warn if
> 	not a FUNCTION_ or VAR_DECL
> 
> testsuite/ChangeLog
> 
> 	* gcc.dg/attr-invalid.c: Add tests for invalid weak attribute.

OK.

:REVIEWMAIL:

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



More information about the Gcc-patches mailing list