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.
This commit is contained in:
parent
af02daff55
commit
19aec65ae1
|
@ -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 ();
|
||||
}
|
||||
|
||||
|
|
|
@ -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 ();
|
||||
}
|
||||
|
||||
|
|
|
@ -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 ();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue