public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-757] Fix misspelled default
@ 2022-05-25 10:56 Richard Biener
0 siblings, 0 replies; only message in thread
From: Richard Biener @ 2022-05-25 10:56 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:19aec65ae13c991d76d29076f4088c0a065e241b
commit r13-757-g19aec65ae13c991d76d29076f4088c0a065e241b
Author: Richard Biener <rguenther@suse.de>
Date: Wed May 25 12:55:15 2022 +0200
Fix misspelled default
This fixes misspelled defaut: in switch statements in three
new testcases.
2022-05-25 Richard Biener <rguenther@suse.de>
* gcc.dg/loop-unswitch-10.c: Fix misspelled defaut:
* gcc.dg/loop-unswitch-11.c: Likewise.
* gcc.dg/loop-unswitch-14.c: Likewise.
Diff:
---
gcc/testsuite/gcc.dg/loop-unswitch-10.c | 2 +-
gcc/testsuite/gcc.dg/loop-unswitch-11.c | 2 +-
gcc/testsuite/gcc.dg/loop-unswitch-14.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/gcc/testsuite/gcc.dg/loop-unswitch-10.c b/gcc/testsuite/gcc.dg/loop-unswitch-10.c
index 5e4f16e2935..395167ee6f8 100644
--- a/gcc/testsuite/gcc.dg/loop-unswitch-10.c
+++ b/gcc/testsuite/gcc.dg/loop-unswitch-10.c
@@ -27,7 +27,7 @@ foo(double *a, double *b, double *c, double *d, double *r, int size, int order)
tmp = 3 * a[i] + 2 * b[i] - c[i];
tmp2 = b[i] - 2 * c[i] + 8 * d[i];
break;
- defaut:
+ default:
__builtin_unreachable ();
}
diff --git a/gcc/testsuite/gcc.dg/loop-unswitch-11.c b/gcc/testsuite/gcc.dg/loop-unswitch-11.c
index 04da28c0762..422a94227b2 100644
--- a/gcc/testsuite/gcc.dg/loop-unswitch-11.c
+++ b/gcc/testsuite/gcc.dg/loop-unswitch-11.c
@@ -27,7 +27,7 @@ foo(double *a, double *b, double *c, double *d, double *r, int size, int order)
tmp = 3 * a[i] + 2 * b[i] - c[i];
tmp2 = b[i] - 2 * c[i] + 8 * d[i];
break;
- defaut:
+ default:
__builtin_unreachable ();
}
diff --git a/gcc/testsuite/gcc.dg/loop-unswitch-14.c b/gcc/testsuite/gcc.dg/loop-unswitch-14.c
index 129805eb918..d9d31680cb8 100644
--- a/gcc/testsuite/gcc.dg/loop-unswitch-14.c
+++ b/gcc/testsuite/gcc.dg/loop-unswitch-14.c
@@ -30,7 +30,7 @@ foo(double *a, double *b, double *c, double *d, double *r, int size, int order)
tmp = 3 * a[i] + 2 * b[i] - c[i];
tmp2 = b[i] - 2 * c[i] + 8 * d[i];
break;
- defaut:
+ default:
__builtin_unreachable ();
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-05-25 10:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-25 10:56 [gcc r13-757] Fix misspelled default Richard Biener
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).