public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "nathan at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/11295] [3.3/3.4 regression] ICE in cp_expr_size, at cp/cp-lang.c:314 when using a non-trivial object in a compound statement expression Date: Fri, 01 Aug 2003 09:28:00 -0000 [thread overview] Message-ID: <20030801092848.24407.qmail@sources.redhat.com> (raw) In-Reply-To: <20030623155039.11295.jfc@legra.com> PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11295 nathan at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Additional Comments From nathan at gcc dot gnu dot org 2003-08-01 09:28 ------- 2003-08-01 Nathan Sidwell <nathan@codesourcery.com> PR c++/11295 * cp-tree.h (tubst_flags_t): Add tf_stmt_expr_cmpd, tf_stmt_expr_body. (finish_stmt_expr_expr): Declare. * parser.c (cp_parser_primary_expression): Tell cp_parser_compount_statement that it is a statement expression. (cp_parser_statement, cp_parser_labeled_statement, cp_parser_compound_statement, cp_parser_statement_seq_opt): Add in_statement_expr_p parameter. (cp_parser_expression_statement): Likewise. Call finish_stmt_expr_expr for final expression of a statement expression. (cp_parser_for_init_statement, cp_parser_implicitly_scoped_statement, cp_parser_already_scoped_statement, cp_parser_function_definition, cp_parser_try_block, cp_parser_handled): Adjust. * pt.c (tsubst_copy) <STMT_EXPR case>: Pass tf_stmt_expr. (tsubst_expr): Process tf_stmt_expr and tf_stmt_exprs flags. (tsubst_expr) <EXPR_STMT case>: Check tf_stmt_exprs flag. * semantics.c (finish_expr_stmt): Do not deal with statement expressions. (begin_stmt_expr): Clear last_expr_type. (finish_stmt_expr_expr): New. (finish_stmt_expr): Process the value expression. 2003-08-01 Nathan Sidwell <nathan@codesourcery.com> PR c++/11295 * doc/extend.texi (Statement Expressions): Document C++ semantics.
next prev parent reply other threads:[~2003-08-01 9:28 UTC|newest] Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-06-23 15:52 [Bug c++/11295] New: *reinterpret_cast<std::string *> causes ICE jfc at legra dot com 2003-06-23 15:55 ` [Bug c++/11295] " jfc at legra dot com 2003-06-23 16:02 ` [Bug c++/11295] [3.3/3.4 Regression] " pinskia at physics dot uc dot edu 2003-06-23 16:42 ` bangerth at dealii dot org 2003-06-23 22:16 ` jfc at legra dot com 2003-06-23 23:09 ` bangerth at dealii dot org 2003-06-24 0:18 ` pinskia at physics dot uc dot edu 2003-06-24 1:56 ` [Bug c++/11295] [3.3/3.4 regression] ICE in cp_expr_size, at cp/cp-lang.c:314 when using a non-trivial object in a compound statement expression giovannibajo at libero dot it 2003-07-23 13:56 ` nathan at gcc dot gnu dot org 2003-08-01 9:28 ` nathan at gcc dot gnu dot org [this message] 2003-08-01 9:34 ` cvs-commit at gcc dot gnu dot org 2004-01-08 23:59 ` pinskia at gcc dot gnu dot org 2004-01-21 23:16 ` schwab at suse dot de 2004-01-21 23:23 ` pinskia at gcc dot gnu dot org 2004-01-21 23:47 ` schwab at suse dot de 2004-01-22 16:07 ` [Bug c++/11295] [3.4/3.5 " pinskia at gcc dot gnu dot org 2004-01-22 17:41 ` schwab at suse dot de 2004-01-22 17:54 ` schwab at suse dot de 2004-02-01 22:29 ` schwab at suse dot de 2004-02-02 17:46 ` mmitchel at gcc dot gnu dot org 2004-02-03 0:06 ` schwab at suse dot de 2004-02-05 19:43 ` mmitchel at gcc dot gnu dot org 2004-02-05 23:10 ` wilson at specifixinc dot com 2004-02-05 23:14 ` pinskia at gcc dot gnu dot org 2004-02-06 0:50 ` schwab at suse dot de 2004-02-06 2:43 ` pinskia at gcc dot gnu dot org 2004-02-07 9:17 ` wilson at specifixinc dot com 2004-02-07 16:15 ` schwab at suse dot de 2004-02-07 20:55 ` mark at codesourcery dot com 2004-02-09 21:32 ` cvs-commit at gcc dot gnu dot org 2004-02-09 21:32 ` cvs-commit at gcc dot gnu dot org 2004-02-09 23:21 ` wilson at gcc dot gnu dot org 2004-03-15 17:42 ` [Bug c++/11295] [3.3 regression] ICE " reichelt at gcc dot gnu dot org 2004-04-18 17:29 ` gdr at gcc dot gnu dot org 2004-04-18 17:43 ` pinskia 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=20030801092848.24407.qmail@sources.redhat.com \ --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: linkBe 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).