From: Richard Guenther Date: Fri, 14 Mar 2008 17:45:20 +0000 (+0000) Subject: re PR tree-optimization/13761 ([tree-ssa] component refs to the same struct should... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1c8d19bb9d7cfb2efcb7b524c7fcc72c02def4d5;p=gcc.git re PR tree-optimization/13761 ([tree-ssa] component refs to the same struct should not alias) 2008-03-14 Richard Guenther PR tree-optimization/13761 * gcc.dg/tree-ssa/ssa-lim-3.c: New testcase. From-SVN: r133224 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f93230a95ae..93b5b842d8e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2008-03-14 Richard Guenther + + PR tree-optimization/13761 + * gcc.dg/tree-ssa/ssa-lim-3.c: New testcase. + 2008-03-14 Richard Guenther PR tree-optimization/34172 diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ssa-lim-3.c b/gcc/testsuite/gcc.dg/tree-ssa/ssa-lim-3.c new file mode 100644 index 00000000000..bfd8692e72e --- /dev/null +++ b/gcc/testsuite/gcc.dg/tree-ssa/ssa-lim-3.c @@ -0,0 +1,14 @@ +/* { dg-do compile } */ +/* { dg-options "-O -fdump-tree-lim-details -fdump-tree-optimized" } */ + +struct { int x; int y; } global; +void foo(int n) +{ + int i; + for ( i=0; i