This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16002] New: [3.4 regression] Strange error message with new parser
- From: "rguenth at tat dot physik dot uni-tuebingen dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jun 2004 15:31:17 -0000
- Subject: [Bug c++/16002] New: [3.4 regression] Strange error message with new parser
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
void foo(void)
{
double Q *= 5.0;
}
causes gcc 3.4 to print (same for mainline)
te.cpp: In function `void foo()':
te.cpp:3: error: expected primary-expression before "double"
te.cpp:3: error: expected `;' before "double"
while 3.3.4 printed the clearly superior
te.cpp: In function `void foo()':
te.cpp:3: error: parse error before `*=' token
EDG is even better
te.cpp(3): error: expected a ";"
double Q *= 5.0;
^
--
Summary: [3.4 regression] Strange error message with new parser
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rguenth at tat dot physik dot uni-tuebingen dot de
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16002