re PR testsuite/55994 (multiple definition or memset or strlen for builtins tests with LTO options)
PR testsuite/55994 * gcc.c-torture/execute/builtins/builtins.exp: Add -Wl,--allow-multiple-definition for eabi and elf targets. From-SVN: r195250
This commit is contained in:
parent
fbe10effb5
commit
934144c03c
2 changed files with 8 additions and 0 deletions
|
@ -1,5 +1,9 @@
|
|||
2013-01-16 Janis Johnson <janisjo@codesourcery.com>
|
||||
|
||||
PR testsuite/55994
|
||||
* gcc.c-torture/execute/builtins/builtins.exp: Add
|
||||
-Wl,--allow-multiple-definition for eabi and elf targets.
|
||||
|
||||
PR testsuite/54622
|
||||
* lib/target-supports.exp (check_effective_target_vect_perm_byte,
|
||||
check_effective_target_vect_perm_short,
|
||||
|
|
|
@ -41,6 +41,10 @@ set additional_flags "-fno-tree-loop-distribute-patterns"
|
|||
if [istarget "powerpc-*-darwin*"] {
|
||||
lappend additional_flags "-Wl,-multiply_defined,suppress"
|
||||
}
|
||||
if { [istarget *-*-eabi*]
|
||||
|| [istarget *-*-elf] } {
|
||||
lappend additional_flags "-Wl,--allow-multiple-definition"
|
||||
}
|
||||
|
||||
foreach src [lsort [find $srcdir/$subdir *.c]] {
|
||||
if {![string match *-lib.c $src] && [runtest_file_p $runtests $src]} {
|
||||
|
|
Loading…
Add table
Reference in a new issue