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:
Jakub Jelinek 2005-12-08 22:47:10 +01:00 committed by Jakub Jelinek
parent e729a3855f
commit 5808045203
3 changed files with 11 additions and 0 deletions

View File

@ -1,5 +1,9 @@
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.h: New.
* g++.dg/compat/struct-layout-1_generate.c: New.

View File

@ -0,0 +1 @@
#include "comdat4-aux.cc"

View File

@ -0,0 +1,6 @@
// PR target/17828
// { dg-do link }
// { dg-additional-sources " comdat5-aux.cc" }
// { dg-options "-O2 -fPIC" }
#include "comdat4.C"