public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/53017] Integer constant expression not constant enough for vector_size Date: Mon, 03 Feb 2014 19:08:00 -0000 [thread overview] Message-ID: <bug-53017-4-A4709qKmGi@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-53017-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53017 --- Comment #2 from Marc Glisse <glisse at gcc dot gnu.org> --- Author: glisse Date: Mon Feb 3 19:07:55 2014 New Revision: 207436 URL: http://gcc.gnu.org/viewcvs?rev=207436&root=gcc&view=rev Log: 2014-02-03 Marc Glisse <marc.glisse@inria.fr> PR c++/53017 PR c++/59211 gcc/c-family/ * c-common.c (handle_aligned_attribute, handle_alloc_size_attribute, handle_vector_size_attribute, handle_nonnull_attribute): Call default_conversion on the attribute argument. (handle_nonnull_attribute): Increment the argument number. gcc/cp/ * tree.c (handle_init_priority_attribute): Call default_conversion on the attribute argument. gcc/ * doc/extend.texi (Function Attributes): Typo. gcc/testsuite/ * c-c++-common/attributes-1.c: New testcase. * g++.dg/cpp0x/constexpr-attribute2.C: Likewise. Added: trunk/gcc/testsuite/c-c++-common/attributes-1.c (with props) trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-attribute2.C (with props) Modified: trunk/gcc/ChangeLog trunk/gcc/c-family/ChangeLog trunk/gcc/c-family/c-common.c trunk/gcc/cp/ChangeLog trunk/gcc/cp/tree.c trunk/gcc/doc/extend.texi trunk/gcc/testsuite/ChangeLog Propchange: trunk/gcc/testsuite/c-c++-common/attributes-1.c ('svn:eol-style' added) Propchange: trunk/gcc/testsuite/c-c++-common/attributes-1.c ('svn:keywords' added) Propchange: trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-attribute2.C ('svn:eol-style' added) Propchange: trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-attribute2.C ('svn:keywords' added)
next prev parent reply other threads:[~2014-02-03 19:08 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-04-17 11:15 [Bug c++/53017] New: Integer constant " marc.glisse at normalesup dot org 2012-04-17 11:25 ` [Bug c++/53017] " rguenth at gcc dot gnu.org 2014-02-03 19:08 ` glisse at gcc dot gnu.org [this message] 2014-02-03 19:10 ` [Bug c++/53017] Integer constant expression " glisse at gcc dot gnu.org 2015-03-25 19:51 ` 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-53017-4-A4709qKmGi@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).