https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124328
Bug ID: 124328
Summary: asm-hard-reg-6.c:61:3: error: register r3 for operand
1 isn't suitable for data type
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: azoff at gcc dot gnu.org
Target Milestone: ---
The test fails for both Cortex-M55 and Cortex-M85 as long as "+mve.fp" is added
to -march.
Testing gcc.dg/asm-hard-reg-6.c
doing compile
Executing on host: /build/r16-7367-g7b2e9d01d325f0/bin/arm-none-eabi-gcc
/build/gcc_src/gcc/testsuite/gcc.dg/asm-hard-reg-6.c -mthumb
-march=armv8.1-m.main+mve.fp+fp.dp -mtune=cortex-m55 -mfloat-abi=hard
-mfpu=auto -fdiagnostics-plain-output -O2 -ffat-lto-objects -fno-ident -S
-o asm-hard-reg-6.s (timeout = 800)
spawn -ignore SIGHUP /build/r16-7367-g7b2e9d01d325f0/bin/arm-none-eabi-gcc
/build/gcc_src/gcc/testsuite/gcc.dg/asm-hard-reg-6.c -mthumb
-march=armv8.1-m.main+mve.fp+fp.dp -mtune=cortex-m55 -mfloat-abi=hard
-mfpu=auto -fdiagnostics-plain-output -O2 -ffat-lto-objects -fno-ident -S -o
asm-hard-reg-6.s
pid is 5501 -5501
/build/gcc_src/gcc/testsuite/gcc.dg/asm-hard-reg-6.c: In function
'test_reg_mem':
/build/gcc_src/gcc/testsuite/gcc.dg/asm-hard-reg-6.c:61:3: error: register r3
for operand 1 isn't suitable for data type
pid is -1
close result is 5501 exp6 0 1
output is /build/gcc_src/gcc/testsuite/gcc.dg/asm-hard-reg-6.c: In function
'test_reg_mem':
/build/gcc_src/gcc/testsuite/gcc.dg/asm-hard-reg-6.c:61:3: error: register r3
for operand 1 isn't suitable for data type
status 1
compiler exited with status 1
FAIL: gcc.dg/asm-hard-reg-6.c (test for excess errors)
Excess errors:
/build/gcc_src/gcc/testsuite/gcc.dg/asm-hard-reg-6.c:61:3: error: register r3
for operand 1 isn't suitable for data type
gcc.dg/asm-hard-reg-6.c: output file does not exist
UNRESOLVED: gcc.dg/asm-hard-reg-6.c scan-assembler-times foo\tr1,r3 1
gcc.dg/asm-hard-reg-6.c: output file does not exist
UNRESOLVED: gcc.dg/asm-hard-reg-6.c scan-assembler-times bar\tr2,\\[r1\\] 1