[Bug c++/21165] [4.0/4.1 Regression] bogus error on a user-defined conversion in a template
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Apr 26 15:10:00 GMT 2005
------- Additional Comments From reichelt at gcc dot gnu dot org 2005-04-26 15:10 -------
Reduced testcase that ICE's with checking enabled:
===================================
template<typename T> bool foo()
{
const int i = T();
return i>0;
};
===================================
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
GCC build triplet|sparc-sun-solaris2.9 |
GCC host triplet|sparc-sun-solaris2.9 |
GCC target triplet|sparc-sun-solaris2.9 |
Keywords| |monitored
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21165
More information about the Gcc-bugs
mailing list