This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/8042: g++ rejects legal code wrt "expression" templates.
- From: reichelt at igpm dot rwth-aachen dot de
- To: daniel dot johnston at intel dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 27 Oct 2002 14:45:24 -0000
- Subject: Re: c++/8042: g++ rejects legal code wrt "expression" templates.
- Reply-to: reichelt at igpm dot rwth-aachen dot de, daniel dot johnston at intel dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: g++ rejects legal code wrt "expression" templates.
State-Changed-From-To: open->closed
State-Changed-By: reichelt
State-Changed-When: Sun Oct 27 06:45:24 2002
State-Changed-Why:
GCC is right. Your code is actually buggy.
BTW, Intel's compiler also rejects your code if you
specify the "-Xc" option to make it more picky.
Comeau's compiler also rejects the code.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8042