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.