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

Unified Diff: gcc/gcc/testsuite/gcc.dg/tree-ssa/loadpre15.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/gen-vect-2.c ('k') | gcc/gcc/testsuite/gcc.dg/tree-ssa/loadpre20.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/loadpre15.c
diff --git a/gcc/gcc/testsuite/gcc.dg/tree-ssa/loadpre15.c b/gcc/gcc/testsuite/gcc.dg/tree-ssa/loadpre15.c
index 3e3ff7c4535edcd683853218212aeedd42c4e484..b04c7621b65fa02969550bc67b10570d395fc7a8 100644
--- a/gcc/gcc/testsuite/gcc.dg/tree-ssa/loadpre15.c
+++ b/gcc/gcc/testsuite/gcc.dg/tree-ssa/loadpre15.c
@@ -1,11 +1,11 @@
-/* { dg-do compile } */
+/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-pre-stats" } */
typedef int type[2];
-int main(type *a, int argc, int t)
+int foo(type *a, int argc, int t)
{
type c = {0, 1};
int d, e;
-
+
/* Should be able to eliminate the second load of *a along the main path. */
d = (*a)[t];
if (argc)
« no previous file with comments | « gcc/gcc/testsuite/gcc.dg/tree-ssa/gen-vect-2.c ('k') | gcc/gcc/testsuite/gcc.dg/tree-ssa/loadpre20.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698