This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Internal Compiler Error
- To: <egcs-bugs at cygnus dot com>
- Subject: Internal Compiler Error
- From: "Jody Hagins" <jody at atdesk dot com>
- Date: Tue, 27 Apr 1999 15:08:40 -0400
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.57/specs
gcc version egcs-2.91.57 19980901 (egcs-1.1 release)
The following code generates an internal compiler error...
template <bool CONDITION>
struct CompileTimeAssertion
{
typedef int x[CONDITION?1:-1];
};
CompileTimeAssertion<(12 < 13)> cta1;
CompileTimeAssertion<(12 > 13)> cta2;