re PR target/17828 (-O2 -fPIC doesn't work with switches in linkonce functions and new binutils)
PR target/17828 * g++.old-deja/g++.other/comdat5.C: New test. * g++.old-deja/g++.other/comdat5-aux.cc: New file. From-SVN: r108245
This commit is contained in:
parent
e729a3855f
commit
5808045203
@ -1,5 +1,9 @@
|
|||||||
2005-12-08 Jakub Jelinek <jakub@redhat.com>
|
2005-12-08 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
PR target/17828
|
||||||
|
* g++.old-deja/g++.other/comdat5.C: New test.
|
||||||
|
* g++.old-deja/g++.other/comdat5-aux.cc: New file.
|
||||||
|
|
||||||
* g++.dg/compat/struct-layout-1.exp: New file.
|
* g++.dg/compat/struct-layout-1.exp: New file.
|
||||||
* g++.dg/compat/struct-layout-1.h: New.
|
* g++.dg/compat/struct-layout-1.h: New.
|
||||||
* g++.dg/compat/struct-layout-1_generate.c: New.
|
* g++.dg/compat/struct-layout-1_generate.c: New.
|
||||||
|
1
gcc/testsuite/g++.old-deja/g++.other/comdat5-aux.cc
Normal file
1
gcc/testsuite/g++.old-deja/g++.other/comdat5-aux.cc
Normal file
@ -0,0 +1 @@
|
|||||||
|
#include "comdat4-aux.cc"
|
6
gcc/testsuite/g++.old-deja/g++.other/comdat5.C
Normal file
6
gcc/testsuite/g++.old-deja/g++.other/comdat5.C
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
// PR target/17828
|
||||||
|
// { dg-do link }
|
||||||
|
// { dg-additional-sources " comdat5-aux.cc" }
|
||||||
|
// { dg-options "-O2 -fPIC" }
|
||||||
|
|
||||||
|
#include "comdat4.C"
|
Loading…
Reference in New Issue
Block a user