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

Reply via email to