public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/63437] [4.9/5 regression][C++14] Parenthesized "movable but not copyable" object doesn't compile in return statement Date: Fri, 10 Oct 2014 20:35:00 -0000 [thread overview] Message-ID: <bug-63437-4-RU8G1hk3W6@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-63437-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63437 --- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Fri Oct 10 20:35:18 2014 New Revision: 216106 URL: https://gcc.gnu.org/viewcvs?rev=216106&root=gcc&view=rev Log: PR c++/63437 * cp-tree.h (REF_PARENTHESIZED_P): Also allow INDIRECT_REF. * semantics.c (force_paren_expr): And set it. * typeck.c (check_return_expr): And handle it. Added: branches/gcc-4_9-branch/gcc/testsuite/g++.dg/cpp1y/paren1.C Modified: branches/gcc-4_9-branch/gcc/cp/ChangeLog branches/gcc-4_9-branch/gcc/cp/cp-tree.h branches/gcc-4_9-branch/gcc/cp/semantics.c branches/gcc-4_9-branch/gcc/cp/typeck.c
next prev parent reply other threads:[~2014-10-10 20:35 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-10-02 2:26 [Bug c++/63437] New: " flast at flast dot jp 2014-10-02 3:03 ` [Bug c++/63437] " pinskia at gcc dot gnu.org 2014-10-02 7:40 ` flast at flast dot jp 2014-10-02 9:08 ` redi at gcc dot gnu.org 2014-10-09 18:05 ` jason at gcc dot gnu.org 2014-10-10 20:35 ` jason at gcc dot gnu.org [this message] 2014-10-10 20:38 ` jason at gcc dot gnu.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=bug-63437-4-RU8G1hk3W6@http.gcc.gnu.org/bugzilla/ \ --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).