diff --git a/gcc/testsuite/gcc.target/arm/pr94743-1-hard.c b/gcc/testsuite/gcc.target/arm/pr94743-1-hard.c index 928b79de3aa..b4c961e288f 100644 --- a/gcc/testsuite/gcc.target/arm/pr94743-1-hard.c +++ b/gcc/testsuite/gcc.target/arm/pr94743-1-hard.c @@ -17,13 +17,13 @@ dummy_t global_d1; /* This function may clobber VFP registers. */ __attribute__ ((interrupt("IRQ"))) void IRQ_HDLR_Test(void) -{ /* { dg-warning { FP registers might be clobbered despite 'interrupt' attribute: compile with -mgeneral-regs-only} "" { target *-*-* } . } */ +{ /* { dg-warning { FP registers might be clobbered despite 'interrupt' attribute: compile with '-mgeneral-regs-only'} "" { target *-*-* } . } */ global_d.fpdata[3] += global_d.fpdata[3] * global_d1.fpdata[3]; } /* This function does not need to clobber VFP registers. */ /* Do we want to emit a (useless?) warning? */ __attribute__ ((interrupt("IRQ"))) void IRQ_HDLR_Test2(void) -{ /* { dg-warning { FP registers might be clobbered despite 'interrupt' attribute: compile with -mgeneral-regs-only} "" { target *-*-* } . } */ +{ /* { dg-warning { FP registers might be clobbered despite 'interrupt' attribute: compile with '-mgeneral-regs-only'} "" { target *-*-* } . } */ global_d.fpdata[3] = 1.0; } diff --git a/gcc/testsuite/gcc.target/arm/pr94743-1-softfp.c b/gcc/testsuite/gcc.target/arm/pr94743-1-softfp.c index 6113eb622e9..33202496c6c 100644 --- a/gcc/testsuite/gcc.target/arm/pr94743-1-softfp.c +++ b/gcc/testsuite/gcc.target/arm/pr94743-1-softfp.c @@ -17,13 +17,13 @@ dummy_t global_d1; /* This function may clobber VFP registers. */ __attribute__ ((interrupt("IRQ"))) void IRQ_HDLR_Test(void) -{ /* { dg-warning { FP registers might be clobbered despite 'interrupt' attribute: compile with -mgeneral-regs-only} "" { target *-*-* } . } */ +{ /* { dg-warning { FP registers might be clobbered despite 'interrupt' attribute: compile with '-mgeneral-regs-only'} "" { target *-*-* } . } */ global_d.fpdata[3] += global_d.fpdata[3] * global_d1.fpdata[3]; } /* This function does not need to clobber VFP registers. */ /* Do we want to emit a (useless?) warning? */ __attribute__ ((interrupt("IRQ"))) void IRQ_HDLR_Test2(void) -{ /* { dg-warning { FP registers might be clobbered despite 'interrupt' attribute: compile with -mgeneral-regs-only} "" { target *-*-* } . } */ +{ /* { dg-warning { FP registers might be clobbered despite 'interrupt' attribute: compile with '-mgeneral-regs-only'} "" { target *-*-* } . } */ global_d.fpdata[3] = 1.0; }