]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
pr122458.c: Replace .quad with .dc.a
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 13 Jan 2026 03:17:57 +0000 (11:17 +0800)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 13 Jan 2026 03:17:57 +0000 (11:17 +0800)
Replace .quad with .dc.a to avoid

/export/build/gnu/tools-build/gcc/build-x86_64-linux/gcc/xgcc -B/export/build/gnu/tools-build/gcc/build-x86_64-linux/gcc/ /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.dg/ipa/pr122458.c -m32 -fdiagnostics-plain-output -O2 -lm -o pr122458.exe
/usr/local/bin/as: /tmp/cc9Bw0pX.o: unsupported relocation type: 0x1
/tmp/ccGrIiOC.s: Assembler messages:
/tmp/ccGrIiOC.s:4: Error: cannot represent relocation type BFD_RELOC_64
compiler exited with status 1
FAIL: gcc.dg/ipa/pr122458.c (test for excess errors)

for 32-bit targets.

PR ipa/122458
* gcc.dg/ipa/pr122458.c: Replace .quad with .dc.a.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
gcc/testsuite/gcc.dg/ipa/pr122458.c

index bec608ad48659485cbba1e902436c5da9eb3e19e..b4ed390cea783f85a4adcf211b08d569f796f500 100644 (file)
@@ -4,6 +4,6 @@
 
 static int foo (void) { return 0; };
 
-asm (".quad %c0" :: "i" (foo));
+asm (".dc.a %c0" :: "i" (foo));
 
 int main() {}