C++ PATCH: PR 20673

David Daney ddaney@avtrex.com
Tue Apr 5 18:04:00 GMT 2005


Mark Mitchell wrote:
> This patch fixes a problem in attribute handling introduced by my
> conversion of the C++ front end to use non-tree data structures for
> declarators.  I failed to correctly translate one particular case,
> causing us to ignore attributes applied directly to an identifier.
> 
> Tested on x86_64-unknown-linux-gnu, applied on the 4.0 branch and on
> the mainline.
> 
> --
> Mark Mitchell
> CodeSourcery, LLC
> mark@codesourcery.com
> 
> 2005-04-05  Mark Mitchell  <mark@codesourcery.com>
> 
> 	PR c++/20673
> 	* decl.c (grokdeclarator): Correct attribute handling.
> 
> 2005-04-05  Mark Mitchell  <mark@codesourcery.com>
> 
> 	PR c++/20673
> 	* g++.dg/ext/attrib21.C: New test.
> 

Did you mean PR c++/20763 ?


David Daney



More information about the Gcc-patches mailing list