--- Comment #7 from gdr at cs dot tamu dot edu 2006-10-19 21:57 ---
Subject: Re: diagnostic on correct code; regression from
3.4.4
On Thu, 19 Oct 2006, pinskia at gcc dot gnu dot org wrote:
| Reduced testcase:
Very nice.
| template< bool C > int assertion_failed( int);
| template<
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-10-19 21:54 ---
Reduced testcase:
template< bool C > int assertion_failed( int);
template< class >
struct N
{
static bool const okay = true;
enum {
t = sizeof( assertion_failed( 0))
};
};
main()
{
N n;
}
--
http
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-10-19 21:42 ---
Reducing through a nice trick of using delta and using 3.3.x as the base
compiler.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29518