Commit f6d17c4d by Thomas Schwinge Committed by Thomas Schwinge

[PR target/85056] Address -Wmaybe-uninitialized diagnostic

	gcc/testsuite/
	* gcc.target/nvptx/pr85056.c (main): Initialize "sum".

From-SVN: r259288
parent df18c24a
2018-04-10 Thomas Schwinge <thomas@codesourcery.com>
PR target/85056
* gcc.target/nvptx/pr85056.c (main): Initialize "sum".
2018-04-10 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/85300
......
......@@ -10,6 +10,7 @@ main ()
{
int i, sum;
sum = 0;
for (i = 0; i < 10; i++)
sum += a[i];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment