From: Richard Biener Date: Wed, 25 May 2022 10:55:15 +0000 (+0200) Subject: Fix misspelled default X-Git-Tag: basepoints/gcc-14~6450 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=19aec65ae13c991d76d29076f4088c0a065e241b;p=thirdparty%2Fgcc.git Fix misspelled default This fixes misspelled defaut: in switch statements in three new testcases. 2022-05-25 Richard Biener * gcc.dg/loop-unswitch-10.c: Fix misspelled defaut: * gcc.dg/loop-unswitch-11.c: Likewise. * gcc.dg/loop-unswitch-14.c: Likewise. --- 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 (); }