public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/52892] Function pointer loses constexpr qualification Date: Wed, 27 Aug 2014 17:04:00 -0000 [thread overview] Message-ID: <bug-52892-4-hOkLSdvF4m@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-52892-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52892 --- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> --- Author: paolo Date: Wed Aug 27 17:03:34 2014 New Revision: 214579 URL: https://gcc.gnu.org/viewcvs?rev=214579&root=gcc&view=rev Log: /cp 2014-08-27 Paolo Carlini <paolo.carlini@oracle.com> PR c++/52892 * semantics.c (cxx_eval_call_expression): Use STRIP_NOPS on the result of cxx_eval_constant_expression. /testsuite 2014-08-27 Paolo Carlini <paolo.carlini@oracle.com> PR c++/52892 * g++.dg/cpp0x/constexpr-52892-1.C: New. * g++.dg/cpp0x/constexpr-52892-2.C: Likewise. * g++.dg/cpp0x/constexpr-52282-1.C: Likewise. Added: trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-52282-1.C trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-52892-1.C trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-52892-2.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/semantics.c trunk/gcc/testsuite/ChangeLog
next prev parent reply other threads:[~2014-08-27 17:04 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-04-06 18:58 [Bug c++/52892] New: " EricMCornelius at gmail dot com 2012-04-07 13:16 ` [Bug c++/52892] " daniel.kruegler at googlemail dot com 2012-05-29 9:28 ` adrien at guinet dot me 2013-05-02 14:57 ` paolo.carlini at oracle dot com 2014-08-27 17:04 ` paolo at gcc dot gnu.org [this message] 2014-08-27 17:05 ` paolo.carlini at oracle dot com
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-52892-4-hOkLSdvF4m@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).