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++/60254] [4.7/4.8/4.9 Regression] [c++11] ICE with non-const expression in static_assert Date: Thu, 13 Mar 2014 09:52:00 -0000 [thread overview] Message-ID: <bug-60254-4-owAI2sdZQj@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-60254-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60254 --- Comment #4 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> --- Author: paolo Date: Thu Mar 13 09:51:52 2014 New Revision: 208538 URL: http://gcc.gnu.org/viewcvs?rev=208538&root=gcc&view=rev Log: /cp 2014-03-13 Paolo Carlini <paolo.carlini@oracle.com> PR c++/60254 * semantics.c (finish_static_assert): Call cxx_constant_value only if require_potential_rvalue_constant_expression returns true. /testsuite 2014-03-13 Paolo Carlini <paolo.carlini@oracle.com> PR c++/60254 * g++.dg/cpp0x/static_assert10.C: New. * g++.dg/cpp0x/static_assert11.C: Likewise. * g++.dg/cpp0x/static_assert3.C: Adjust. Added: trunk/gcc/testsuite/g++.dg/cpp0x/static_assert10.C trunk/gcc/testsuite/g++.dg/cpp0x/static_assert11.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/semantics.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/cpp0x/static_assert3.C
next prev parent reply other threads:[~2014-03-13 9:52 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-02-17 21:57 [Bug c++/60254] New: " reichelt at gcc dot gnu.org 2014-02-17 21:58 ` [Bug c++/60254] " reichelt at gcc dot gnu.org 2014-02-18 6:48 ` jakub at gcc dot gnu.org 2014-02-18 9:24 ` rguenth at gcc dot gnu.org 2014-02-21 11:38 ` paolo.carlini at oracle dot com 2014-02-22 0:07 ` paolo.carlini at oracle dot com 2014-03-13 9:52 ` paolo at gcc dot gnu.org [this message] 2014-03-13 9:53 ` 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-60254-4-owAI2sdZQj@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).