[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug c++/29698] ICE on sizeof(<template type>) inside a template func




------- Comment #1 from pinskia at gcc dot gnu dot org  2006-11-03 18:29 -------
template<class _T1, class _T2>
 struct pair{};
template <typename INT>
int foo(INT m)
{
        return sizeof(pair<int, int>);
}


This was never broken in 4.1.1, this was only broken on the 4.1 branch and only
for two weeks at that.

*** This bug has been marked as a duplicate of 29435 ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE
            Version|4.1.1                       |4.1.2


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



Reply to: