]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix misspelled default
authorRichard Biener <rguenther@suse.de>
Wed, 25 May 2022 10:55:15 +0000 (12:55 +0200)
committerRichard Biener <rguenther@suse.de>
Wed, 25 May 2022 10:56:16 +0000 (12:56 +0200)
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.

gcc/testsuite/gcc.dg/loop-unswitch-10.c
gcc/testsuite/gcc.dg/loop-unswitch-11.c
gcc/testsuite/gcc.dg/loop-unswitch-14.c

index 5e4f16e2935fd225101e322e013fafdbadae7a25..395167ee6f837dec7da7cd548788b76d094847c2 100644 (file)
@@ -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 ();
     }
 
index 04da28c076263b72c8ad7c6a4b7448297aafdd2c..422a94227b25334219d0c55881286ebee6d482e2 100644 (file)
@@ -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 ();
     }
 
index 129805eb91801636f5c324dc0f7a938a1bc22442..d9d31680cb82081bbe52ebc48dfe63482d8d9230 100644 (file)
@@ -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 ();
     }