------- Comment #1 from rguenth at gcc dot gnu dot org 2008-01-23 10:56 -------
Confirmed. We mangle the function type and come along the CONST_DECL for b
which refers to the CONST_DECL of a. Some recursion is missing somewhere
here.
But we should not mangle for this non-instantiated template anyway, which
happens if you remove the attribute.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Known to work| |3.3.6
Priority|P3 |P2
Last reconfirmed|0000-00-00 00:00:00 |2008-01-23 10:56:18
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34937