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

Unified Diff: gcc/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-15.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/ssa-fre-10.c ('k') | gcc/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-7.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/ssa-fre-15.c
diff --git a/gcc/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-15.c b/gcc/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-15.c
index 1a286f1e1cb6cd9a7814e7de8d3ea098460711d2..d24cd1e4c38b9c87776a77e88ec8999ba17f4616 100644
--- a/gcc/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-15.c
+++ b/gcc/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-15.c
@@ -1,15 +1,14 @@
/* { dg-do compile } */
-/* { dg-options "-O -fno-tree-sra --param max-aliased-vops=0 --param max-fields-for-field-sensitive=0 -fdump-tree-fre-details" } */
+/* { dg-options "-O -fno-tree-sra -fdump-tree-fre-details" } */
-/* Should be optimized, propagating &a into (*p)[i] with parameters
- --param max-aliased-vops=0 --param max-fields-for-field-sensitive=0
- which means max 1 VOP per stmt and no SFTs. */
+/* Should be optimized, propagating &a into (*p)[i]. */
struct Foo
{
void *data;
double size;
};
+void bar(double *);
void foo(double (*q)[4])
{
struct Foo tmp1;
@@ -24,6 +23,7 @@ void foo(double (*q)[4])
this store to tmp1 here. */
tmp1.size -= 1.0;
}
+ bar(a);
}
/* { dg-final { scan-tree-dump "Replaced" "fre" } } */
« no previous file with comments | « gcc/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-10.c ('k') | gcc/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-7.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698