[PATCH][alias-improvements] Fix new alias-20.c testcase

Richard Guenther rguenther@suse.de
Thu Jan 15 10:36:00 GMT 2009


... to really test what it is supposed to test.

Richard.

Index: ChangeLog.alias
===================================================================
*** ChangeLog.alias	(revision 143371)
--- ChangeLog.alias	(working copy)
***************
*** 1,3 ****
--- 1,8 ----
+ 2009-01-15  Richard Guenther  <rguenther@suse.de>
+ 
+ 	testsuite/
+ 	* gcc.dg/tree-ssa/alias-20.c: Correct testcase.
+ 
  2009-01-14  Richard Guenther  <rguenther@suse.de>
  
  	* tree-ssa-pre.c (do_regular_insertion): Use the value number
Index: testsuite/gcc.dg/tree-ssa/alias-20.c
===================================================================
*** testsuite/gcc.dg/tree-ssa/alias-20.c	(revision 143342)
--- testsuite/gcc.dg/tree-ssa/alias-20.c	(working copy)
*************** int bar(struct S *s, int *i)
*** 16,22 ****
  int foo(struct S *s, struct R *r)
  {
    r->i = 0;
!   s->f = 1.0;
    return r->i;
  }
  
--- 16,22 ----
  int foo(struct S *s, struct R *r)
  {
    r->i = 0;
!   s->i = 1;
    return r->i;
  }
  



More information about the Gcc-patches mailing list