Since snapshot() is implemented in assembly code, .file directive should
be removed.  Otherwise, debugger can't find the snapshot source.  I am
checking it in as an obvious fix.

H.J.
----
        * gcc.target/x86_64/abi/asm-support-darwin.s: Remove .file
        directive.
        * gcc.target/x86_64/abi/asm-support.S: Likewise.
---
 gcc/testsuite/gcc.target/x86_64/abi/asm-support-darwin.s | 1 -
 gcc/testsuite/gcc.target/x86_64/abi/asm-support.S        | 1 -
 2 files changed, 2 deletions(-)

diff --git a/gcc/testsuite/gcc.target/x86_64/abi/asm-support-darwin.s 
b/gcc/testsuite/gcc.target/x86_64/abi/asm-support-darwin.s
index b3b88466a62..8fe5dab5416 100644
--- a/gcc/testsuite/gcc.target/x86_64/abi/asm-support-darwin.s
+++ b/gcc/testsuite/gcc.target/x86_64/abi/asm-support-darwin.s
@@ -1,4 +1,3 @@
-       .file   "snapshot.S"
        .text
        .p2align 4,,15
 .globl _snapshot
diff --git a/gcc/testsuite/gcc.target/x86_64/abi/asm-support.S 
b/gcc/testsuite/gcc.target/x86_64/abi/asm-support.S
index 8e0bffe8b49..7a8ed03d119 100644
--- a/gcc/testsuite/gcc.target/x86_64/abi/asm-support.S
+++ b/gcc/testsuite/gcc.target/x86_64/abi/asm-support.S
@@ -1,4 +1,3 @@
-       .file   "snapshot.S"
 #ifdef __AVX__
        .sse_check none
 #endif
-- 
2.20.1

Reply via email to