aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2020-07-01 06:48:17 +0000
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-08-17 13:15:41 -0300
commit3fdccd4e799255ba3912583c9c23e76b01754c9d (patch)
tree6323a1b6d8207696b7fa457c05da758db55fc615 /gcc
parentb45927d5877c8cd39549c226c6cc7e0e8141338b (diff)
downloadgcc-3fdccd4e799255ba3912583c9c23e76b01754c9d.zip
gcc-3fdccd4e799255ba3912583c9c23e76b01754c9d.tar.gz
gcc-3fdccd4e799255ba3912583c9c23e76b01754c9d.tar.bz2
arm: Fix typos in testcases [PR target/94743]
In my commit r11-1732, I updated the warning message to include quotes, but I forgot to update the testcases. 2020-01-07 Christophe Lyon <christophe.lyon@linaro.org> PR target/94743 gcc/testsuite/ * gcc.target/arm/pr94743-1-hard.c: Add missing quotes in expected warning. * gcc.target/arm/pr94743-1-softfp.c: Likewise.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.target/arm/pr94743-1-hard.c4
-rw-r--r--gcc/testsuite/gcc.target/arm/pr94743-1-softfp.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/gcc/testsuite/gcc.target/arm/pr94743-1-hard.c b/gcc/testsuite/gcc.target/arm/pr94743-1-hard.c
index 928b79d..b4c961e 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 6113eb6..3320249 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;
}