[Bug c++/34937] [4.1/4.2/4.3 regression] ICE with attribute weak

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jan 23 10:59:00 GMT 2008



------- 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



More information about the Gcc-bugs mailing list