diff options
author | Richard Biener <rguenther@suse.de> | 2022-05-25 12:55:15 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2022-05-25 12:56:16 +0200 |
commit | 19aec65ae13c991d76d29076f4088c0a065e241b (patch) | |
tree | 45f94932547a13a926d4a95ced9dbab1bdcb0e59 /gcc | |
parent | af02daff557a0abbf5521c143f1cdda406848a9b (diff) | |
download | gcc-19aec65ae13c991d76d29076f4088c0a065e241b.zip gcc-19aec65ae13c991d76d29076f4088c0a065e241b.tar.gz gcc-19aec65ae13c991d76d29076f4088c0a065e241b.tar.bz2 |
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.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.dg/loop-unswitch-10.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/loop-unswitch-11.c | 2 | ||||
-rw-r--r-- | 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 5e4f16e..395167e 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 04da28c..422a942 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 129805e..d9d3168 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 (); } |