mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-26 13:35:49 +08:00
tree-optimization/114027 - fix testcase
The following fixes out-of-bounds read in the testcase. PR tree-optimization/114027 * gcc.dg/vect/pr114027.c: Fix iteration count.
This commit is contained in:
parent
bb819067b3
commit
4470611e20
@ -20,7 +20,7 @@ int f[] = { 1, 1, 1, 1, 1, 1, 1, 1,
|
||||
int
|
||||
main ()
|
||||
{
|
||||
if (foo (f, 16) != 2)
|
||||
if (foo (f, 8) != 2)
|
||||
__builtin_abort ();
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user