public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/21440] [4.0/4.1 Regression] ICE with statement-as-expression
Date: Mon, 05 Sep 2005 16:01:00 -0000	[thread overview]
Message-ID: <20050905160053.27328.qmail@sourceware.org> (raw)
In-Reply-To: <20050507082648.21440.dank@kegel.com>


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-09-05 16:00 -------
Subject: Bug 21440

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	mmitchel@gcc.gnu.org	2005-09-05 16:00:46

Modified files:
	gcc/cp         : semantics.c ChangeLog 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/g++.dg/ext: stmtexpr5.C stmtexpr6.C 

Log message:
	PR c++/21440
	* semantics.c (finish_stmt_expr_expr): Add an explicit
	initialization to the last statement in the statement-expression.
	* (finish_stmt_expr): Adjust accordingly.
	
	PR c++/21440
	* g++.dg/ext/stmtexpr5.C: New test.
	* g++.dg/ext/stmtexpr6.C: Likewise.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/semantics.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.463.2.7&r2=1.463.2.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.4648.2.89&r2=1.4648.2.90
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.5084.2.376&r2=1.5084.2.377
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/stmtexpr5.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/stmtexpr6.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1



-- 


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


  parent reply	other threads:[~2005-09-05 16:01 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-07  8:27 [Bug c++/21440] New: [4.0 " dank at kegel dot com
2005-05-07  8:31 ` [Bug c++/21440] " dank at kegel dot com
2005-05-07 15:02 ` [Bug c++/21440] [4.0/4.1 " pinskia at gcc dot gnu dot org
2005-05-09 20:44 ` pinskia at gcc dot gnu dot org
2005-06-02 10:01 ` nathan at gcc dot gnu dot org
2005-06-02 11:41 ` nathan at gcc dot gnu dot org
2005-07-06 17:03 ` mmitchel at gcc dot gnu dot org
2005-07-25 12:21 ` reichelt at gcc dot gnu dot org
2005-09-03 21:32 ` mmitchel at gcc dot gnu dot org
2005-09-05 15:59 ` cvs-commit at gcc dot gnu dot org
2005-09-05 16:01 ` cvs-commit at gcc dot gnu dot org [this message]
2005-09-05 16:08 ` mmitchel at gcc dot gnu dot org
2005-09-06 15:15 ` mmitchel 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=20050905160053.27328.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).