Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Unified Diff: gcc/gcc/testsuite/gcc.dg/tree-ssa/loop-36.c

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gcc/testsuite/gcc.dg/tree-ssa/loop-34.c ('k') | gcc/gcc/testsuite/gcc.dg/tree-ssa/ltrans-1.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/testsuite/gcc.dg/tree-ssa/loop-36.c
diff --git a/gcc/gcc/testsuite/gcc.dg/tree-ssa/loop-36.c b/gcc/gcc/testsuite/gcc.dg/tree-ssa/loop-36.c
index 0af4d534a7fde460502a1b2dc2c5e76ee0b7bb72..9e917376581599226baa3767910ce709b63a5822 100644
--- a/gcc/gcc/testsuite/gcc.dg/tree-ssa/loop-36.c
+++ b/gcc/gcc/testsuite/gcc.dg/tree-ssa/loop-36.c
@@ -1,7 +1,7 @@
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-dce2" } */
-struct X { float array[4]; };
+struct X { float array[2]; };
struct X a,b;
@@ -9,9 +9,9 @@ float foobar () {
float s = 0;
unsigned int d;
struct X c;
- for (d=0; d<4; ++d)
+ for (d=0; d<2; ++d)
c.array[d] = a.array[d] * b.array[d];
- for (d=0; d<4; ++d)
+ for (d=0; d<2; ++d)
s+=c.array[d];
return s;
}
« no previous file with comments | « gcc/gcc/testsuite/gcc.dg/tree-ssa/loop-34.c ('k') | gcc/gcc/testsuite/gcc.dg/tree-ssa/ltrans-1.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698