]> gcc.gnu.org Git - gcc.git/commitdiff
pr26421.c: Fix testcase to force struct decomposition.
authorRichard Guenther <rguenther@suse.de>
Tue, 28 Feb 2006 14:53:36 +0000 (14:53 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 28 Feb 2006 14:53:36 +0000 (14:53 +0000)
2006-02-28  Richard Guenther  <rguenther@suse.de>

        * gcc.dg/tree-ssa/pr26421.c: Fix testcase to force struct
        decomposition.

From-SVN: r111566

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr26421.c

index f1ce5694acde358cea7ccab90258d29817d2a647..e0af45588a08d86c335a9bc16152de5f7e321857 100644 (file)
@@ -1,3 +1,8 @@
+2006-02-28  Richard Guenther  <rguenther@suse.de>
+
+       * gcc.dg/tree-ssa/pr26421.c: Fix testcase to force struct
+       decomposition.
+
 2006-02-28  Thomas Koenig  <Thomas.Koenig@online.de>
 
        * scalar_mask_1.f90:  Add tests for maxloc with scalar mask.
index edb3685c11ecbe317da8819161cc59d89d314cae..ff48b61ade69cadad982c0b31e3198787b0371a6 100644 (file)
@@ -8,11 +8,12 @@ typedef struct {
 } Foo;
 
 void bar(Foo*);
-void foo(void)
+int foo(void)
 {
   Foo a;
   a.i = 1;
   bar(&a);
+  return a.i;
 }
 
 /* { dg-final { scan-tree-dump-times "V_MAY_DEF" 1 "alias1" } } */
This page took 0.099792 seconds and 5 git commands to generate.