Remove undefined behaviour from testscase.

There was a patch posted to remove the undefined behaviour from this
testcase, but it appear to never have been applied.

	gcc/teststuite/
	PR tree-optimization/102892
	* gcc.dg/pr102892-1.c: Remove undefined behaviour.
This commit is contained in:
Andrew MacLeod 2022-09-27 18:42:33 -04:00
parent c2ee70f20d
commit 845ee38e9b

View file

@ -12,7 +12,7 @@ int
main ()
{
long c = 0;
for (long a; a < 1; ++a)
for (long a = 0; a < 1; ++a)
for (; c <= 1; c++) {
bar();
if (1 == b[c][0])