public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rguenth at tat dot physik dot uni-tuebingen dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/16002] New: [3.4 regression] Strange error message with new parser
Date: Tue, 15 Jun 2004 15:31:00 -0000	[thread overview]
Message-ID: <20040615153113.16002.rguenth@tat.physik.uni-tuebingen.de> (raw)

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


             reply	other threads:[~2004-06-15 15:31 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-15 15:31 rguenth at tat dot physik dot uni-tuebingen dot de [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040615153113.16002.rguenth@tat.physik.uni-tuebingen.de \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).