public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "christophe.lyon at st dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/58753] Brace-initializing a vector with a direct-initialization NSDMI doesn't work in a template Date: Wed, 02 Jul 2014 07:52:00 -0000 [thread overview] Message-ID: <bug-58753-4-R4tcDmVdNA@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-58753-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58753 christophe.lyon at st dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |christophe.lyon at st dot com --- Comment #17 from christophe.lyon at st dot com --- In the 4.9 branch, these new tests fails to compile (ARM & AArch64 targets). I can see these error messages: /aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/testsuite/g++.dg/cpp0x/nsdmi-template11.C:19:8: error: redefinition of 'struct SampleModule' /aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/testsuite/g++.dg/cpp0x/nsdmi-template11.C:4:8: error: previous definition of 'struct SampleModule' /aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/testsuite/g++.dg/cpp0x/nsdmi-template11.C:25:8: error: redefinition of 'struct BaseHandler< <template-parameter-1-1> >' /aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/testsuite/g++.dg/cpp0x/nsdmi-template11.C:10:8: error: previous definition of 'struct BaseHandler< <template-parameter-1-1> >' /aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/testsuite/g++.dg/cpp0x/nsdmi-template12.C:24:8: error: redefinition of 'struct X<T>' /aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/testsuite/g++.dg/cpp0x/nsdmi-template12.C:7:8: error: previous definition of 'struct X<T>' /aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/testsuite/g++.dg/cpp0x/nsdmi-template12.C:27:7: error: redefinition of 'class T<zomg>' /aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/testsuite/g++.dg/cpp0x/nsdmi-template12.C:10:7: error: previous definition of 'class T<zomg>' /aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/testsuite/g++.dg/cpp0x/nsdmi-template12.C: In function 'int main()': /aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/testsuite/g++.dg/cpp0x/nsdmi-template12.C:31:5: error: redefinition of 'int main()' /aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/testsuite/g++.dg/cpp0x/nsdmi-template12.C:14:5: note: 'int main()' previously defined here /aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/testsuite/g++.dg/cpp0x/nsdmi-template13.C:15:8: error: redefinition of 'struct A' /aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/testsuite/g++.dg/cpp0x/nsdmi-template13.C:4:8: error: previous definition of 'struct A' /aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/testsuite/g++.dg/cpp0x/nsdmi-template13.C:17:27: error: redefinition of 'struct B< <template-parameter-1-1> >' /aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/testsuite/g++.dg/cpp0x/nsdmi-template13.C:6:27: error: previous definition of 'struct B< <template-parameter-1-1> >' /aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/testsuite/g++.dg/cpp0x/nsdmi-template13.C:22:8: error: redefinition of 'B<int> b' /aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/testsuite/g++.dg/cpp0x/nsdmi-template13.C:11:8: note: 'B<int> b' previously defined here
next prev parent reply other threads:[~2014-07-02 7:52 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-10-16 18:39 [Bug c++/58753] New: " ville.voutilainen at gmail dot com 2013-10-16 21:40 ` [Bug c++/58753] " paolo.carlini at oracle dot com 2013-10-16 22:13 ` ville.voutilainen at gmail dot com 2013-10-16 22:23 ` paolo.carlini at oracle dot com 2013-10-16 22:26 ` ville.voutilainen at gmail dot com 2013-10-16 22:30 ` ville.voutilainen at gmail dot com 2013-10-21 22:06 ` ville.voutilainen at gmail dot com 2013-10-21 22:33 ` paolo.carlini at oracle dot com 2014-05-15 9:02 ` paolo.carlini at oracle dot com 2014-05-15 11:38 ` ville.voutilainen at gmail dot com 2014-05-15 12:19 ` paolo.carlini at oracle dot com 2014-05-15 12:31 ` ville.voutilainen at gmail dot com 2014-05-20 19:21 ` paolo at gcc dot gnu.org 2014-05-20 19:22 ` paolo.carlini at oracle dot com 2014-07-01 18:47 ` ppluzhnikov at gcc dot gnu.org 2014-07-02 7:52 ` christophe.lyon at st dot com [this message] 2014-07-02 8:07 ` christophe.lyon at st dot com 2014-11-19 9:19 ` 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-58753-4-R4tcDmVdNA@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).