[Bug c++/25625] [4.0/4.1/4.2 Regression] Fails to compile C++ code when -frepo is specified.

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Jan 1 18:33:00 GMT 2006



------- Comment #4 from pinskia at gcc dot gnu dot org  2006-01-01 18:33 -------
Reduced testcase:
template< typename T, T N > struct integral_c {
  static const T value = N;
  typedef integral_c< T, value + 1 > next;
};
template< typename T, T N > T const integral_c< T, N >::value;
integral_c<int,0> a;


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
      Known to fail|                            |4.1.0 4.0.3 4.2.0
      Known to work|                            |3.4.0 4.0.0
   Last reconfirmed|0000-00-00 00:00:00         |2006-01-01 18:33:56
               date|                            |


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




More information about the Gcc-bugs mailing list