Commit 58080452 by Jakub Jelinek Committed by Jakub Jelinek

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
parent e729a385
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.
// PR target/17828
// { dg-do link }
// { dg-additional-sources " comdat5-aux.cc" }
// { dg-options "-O2 -fPIC" }
#include "comdat4.C"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment