mirror of
https://forge.sourceware.org/marek/gcc.git
synced 2026-02-22 03:47:02 -05:00
pr122458.c: Replace .quad with .dc.a
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>
This commit is contained in:
@@ -4,6 +4,6 @@
|
||||
|
||||
static int foo (void) { return 0; };
|
||||
|
||||
asm (".quad %c0" :: "i" (foo));
|
||||
asm (".dc.a %c0" :: "i" (foo));
|
||||
|
||||
int main() {}
|
||||
|
||||
Reference in New Issue
Block a user