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++/14211] [3.3/3.4/3.5 Regression] const_cast returns lvalue but should be rvalue Date: Thu, 10 Jun 2004 14:27:00 -0000 [thread overview] Message-ID: <20040610142642.32562.qmail@sourceware.org> (raw) In-Reply-To: <20040219150624.14211.d.binderman@virgin.net> ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-06-10 14:26 ------- Subject: Bug 14211 CVSROOT: /cvs/gcc Module name: gcc Changes by: mmitchel@gcc.gnu.org 2004-06-10 14:26:23 Modified files: gcc/cp : ChangeLog parser.c pt.c typeck.c Added files: gcc/testsuite/g++.dg/conversion: const1.C reinterpret1.C gcc/testsuite/g++.dg/template: enum2.C error13.C Log message: PR c++/15227 * parser.c (cp_parser_direct_declarator): Robustify. PR c++/15877 * pt.c (tsubst_copy): Use decl_constant_value on enumeration constants in non-dependent contexts. PR c++/14211 PR c++/15076 * typeck.c (build_static_cast): Wrap casts in NON_LVALUE_EXPR when necessary. PR c++/14211 * g++.dg/conversion/const1.C: New test. PR c++/15076 * g++.dg/conversion/reinterpret1.C: New test. PR c++/15877 * g++.dg/template/enum2.C: New test. PR c++/15227 * g++.dg/template/error13.C: New test. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4089&r2=1.4090 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&r1=1.202&r2=1.203 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcc&r1=1.860&r2=1.861 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck.c.diff?cvsroot=gcc&r1=1.548&r2=1.549 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/conversion/const1.C.diff?cvsroot=gcc&r1=NONE&r2=1.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/conversion/reinterpret1.C.diff?cvsroot=gcc&r1=NONE&r2=1.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/enum2.C.diff?cvsroot=gcc&r1=NONE&r2=1.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/error13.C.diff?cvsroot=gcc&r1=NONE&r2=1.1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14211
next prev parent reply other threads:[~2004-06-10 14:26 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-02-19 15:06 [Bug c++/14211] New: missing lvalue check ? d dot binderman at virgin dot net 2004-02-20 21:30 ` [Bug c++/14211] " bangerth at dealii dot org 2004-02-23 1:42 ` [Bug c++/14211] [3.3/3.4/3.5 Regression] const_cast should return lvalues giovannibajo at libero dot it 2004-04-28 2:05 ` [Bug c++/14211] [3.3/3.4/3.5 Regression] const_cast returns lvalue but should be rvalue pinskia at gcc dot gnu dot org 2004-06-06 3:36 ` giovannibajo at libero dot it 2004-06-09 19:11 ` mmitchel at gcc dot gnu dot org 2004-06-10 14:27 ` cvs-commit at gcc dot gnu dot org [this message] 2004-06-10 14:27 ` cvs-commit at gcc dot gnu dot org 2004-06-10 14:30 ` mmitchel at gcc dot gnu dot org 2004-06-10 14:30 ` 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=20040610142642.32562.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: 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).