public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jeremy at jeremyms dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/61994] constexpr vector array ICE [4.9.1 regression] Date: Fri, 01 Aug 2014 23:34:00 -0000 [thread overview] Message-ID: <bug-61994-4-P3nLG7JzZt@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-61994-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61994 --- Comment #1 from Jeremy Maitin-Shepard <jeremy at jeremyms dot com> --- With gcc 4.9.1: The following test program produces an ICE: typedef unsigned long limb_t __attribute__ ((__vector_size__ (16), __may_alias__)); struct X { limb_t limb = {1,1}; }; const X table[1][1] = {{ {} }}; g++ -std=c++11 -c test.cpp test.cpp:7:31: internal compiler error: output_operand: invalid expression as operand const X table[1][1] = {{ {} }}; ^ With gcc 4.9.0, the program compiles correctly.
next prev parent reply other threads:[~2014-08-01 23:34 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-08-01 23:32 [Bug c++/61994] New: " jeremy at jeremyms dot com 2014-08-01 23:34 ` jeremy at jeremyms dot com [this message] 2014-08-07 1:33 ` [Bug c++/61994] " jason at gcc dot gnu.org 2014-08-07 1:45 ` jason at gcc dot gnu.org 2014-08-07 7:10 ` [Bug c++/61994] [4.9 Regression] constexpr vector array ICE jakub at gcc dot gnu.org 2014-08-07 18:55 ` jason at gcc dot gnu.org 2014-08-15 14:30 ` jakub 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-61994-4-P3nLG7JzZt@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).