[Bug c++/35074] [4.3 regression] ICE with attribute "aligned" for template classes

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Feb 4 13:43:00 GMT 2008



------- Comment #2 from rguenth at gcc dot gnu dot org  2008-02-04 13:42 -------
Without checking the code is rejected with:

t.C:6: error: prototype for 'void A<T>::foo() const' does not match any in
class 'A<T>'
t.C:3: error: candidate is: void A<T>::foo() const

Doug, I believe this is your change with canonical types.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dgregor at cs dot indiana
                   |                            |dot edu
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |ice-checking, rejects-valid
   Last reconfirmed|0000-00-00 00:00:00         |2008-02-04 13:42:26
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35074



More information about the Gcc-bugs mailing list