[Patch] PR target/28648 Tree check ICE on invalid attribute.

Danny Smith dannysmith@clear.net.nz
Wed Aug 23 02:56:00 GMT 2006


> From: Steve Ellcey 
> Sent: Wednesday, August 23, 2006 4:27 AM
> 
> Danny,
> 
> I am getting new testsuite failures on all my platforms (ia64 
> HP-UX and Linux, hppa HP-UX) that I believe are due to this 
> patch.  The test gcc.dg/attr-invalid.c appears to be looking 
> for a warning that includes the string 'attribute ignored' 
> but the warning that comes out says 'attribute directive 
> ignored' and does not match the expected warning.
> 

Sorry.

This fixes the unrecognized attribute cases for me.  My deja gnu fu is
not that strong.
Is there a better way to  do this?  Or should I make dllimport warnings
onditional on target?


testsuite

	gcc.dg/attr-invalid.c:  Insert an " |directive" substitution
into 
	dg-warning strings for dllimport.


 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: attr-invalid.diff
Type: application/octet-stream
Size: 1139 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20060823/d01630cf/attachment.obj>


More information about the Gcc-patches mailing list