summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/testsuite/ChangeLog3
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/builtins/builtins.exp3
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 87a7885aa51..67718e79082 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,8 @@
2013-03-08 Kai Tietz <ktietz@redhat.com>
+ * gcc.c-torture/execute/builtins/builtins.exp: Add for mingw
+ targets linker option --allow-multiple-definition.
+
* gcc.dg/pr14092-1.c: Mark intptr_t typedef to use extension.
* gcc.dg/pr24683.c: Avoid warning about casting constant string.
* gcc.dg/pr52549.c: Add LLP64 case.
diff --git a/gcc/testsuite/gcc.c-torture/execute/builtins/builtins.exp b/gcc/testsuite/gcc.c-torture/execute/builtins/builtins.exp
index 0472d7a9eab..45cfaddba19 100644
--- a/gcc/testsuite/gcc.c-torture/execute/builtins/builtins.exp
+++ b/gcc/testsuite/gcc.c-torture/execute/builtins/builtins.exp
@@ -42,7 +42,8 @@ if [istarget "powerpc-*-darwin*"] {
lappend additional_flags "-Wl,-multiply_defined,suppress"
}
if { [istarget *-*-eabi*]
- || [istarget *-*-elf] } {
+ || [istarget *-*-elf]
+ || [istarget *-*-mingw*] } {
lappend additional_flags "-Wl,--allow-multiple-definition"
}