public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jakub at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/35747] [4.3/4.4 regression] ICE with undefined variable in statement expression
Date: Tue, 22 Apr 2008 22:08:00 -0000	[thread overview]
Message-ID: <20080422220747.29006.qmail@sourceware.org> (raw)
In-Reply-To: <bug-35747-1771@http.gcc.gnu.org/bugzilla/>



------- Comment #3 from jakub at gcc dot gnu dot org  2008-04-22 22:07 -------
Subject: Bug 35747

Author: jakub
Date: Tue Apr 22 22:06:58 2008
New Revision: 134567

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134567
Log:
        PR c++/35747
        * semantics.c (finish_stmt_expr): Call pop_stmt_list even if the stmt
        expression is errorneous.

        * g++.dg/ext/stmtexpr13.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/ext/stmtexpr13.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/semantics.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35747


  parent reply	other threads:[~2008-04-22 22:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-28 21:59 [Bug c++/35747] New: " reichelt at gcc dot gnu dot org
2008-03-28 21:59 ` [Bug c++/35747] " reichelt at gcc dot gnu dot org
2008-03-30  0:53 ` pinskia at gcc dot gnu dot org
2008-04-15  9:30 ` jakub at gcc dot gnu dot org
2008-04-22 13:13 ` jakub at gcc dot gnu dot org
2008-04-22 22:08 ` jakub at gcc dot gnu dot org [this message]
2008-04-22 22:15 ` jakub at gcc dot gnu dot org
2008-04-22 22:22 ` jakub at gcc dot gnu dot org

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=20080422220747.29006.qmail@sourceware.org \
    --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).