public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/16002] New: [3.4 regression] Strange error message with new parser
@ 2004-06-15 15:31 rguenth at tat dot physik dot uni-tuebingen dot de
  2004-06-15 15:56 ` [Bug c++/16002] [3.4/3.5 " bangerth at dealii dot org
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: rguenth at tat dot physik dot uni-tuebingen dot de @ 2004-06-15 15:31 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2005-07-28 10:25 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-15 15:31 [Bug c++/16002] New: [3.4 regression] Strange error message with new parser rguenth at tat dot physik dot uni-tuebingen dot de
2004-06-15 15:56 ` [Bug c++/16002] [3.4/3.5 " bangerth at dealii dot org
2004-06-15 16:02 ` pinskia at gcc dot gnu dot org
2004-06-16 10:16 ` giovannibajo at libero dot it
2004-06-16 13:53 ` bangerth at dealii dot org
2004-07-17  7:39 ` mmitchel at gcc dot gnu dot org
2004-08-29 18:51 ` mmitchel at gcc dot gnu dot org
2004-09-17  2:39 ` [Bug c++/16002] [3.4/4.0 " mmitchel at gcc dot gnu dot org
2004-09-17  7:01 ` cvs-commit at gcc dot gnu dot org
2004-09-17  7:10 ` mmitchel at gcc dot gnu dot org
2004-10-05 16:30 ` [Bug c++/16002] [3.4 " uweigand at gcc dot gnu dot org
2004-10-16  0:08 ` mmitchel at gcc dot gnu dot org
2004-11-01  0:45 ` mmitchel at gcc dot gnu dot org
2005-05-19 17:24 ` mmitchel at gcc dot gnu dot org
2005-07-28 10:25 ` cvs-commit at gcc dot gnu dot org
2005-07-28 10:26 ` giovannibajo at libero dot it

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).