This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[tree-ssa] tree-ssa/20030907-1.c fix



With all the recent IL work on tree-ssa, we no longer have to worry
about accounting for declarations of unused functions in BIND_EXPR
scopes.

	* gcc.dg/tree-sas/20030730-1.c: No longer expect abort declaration
	to be present.

Index: 20030907-1.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/Attic/20030907-1.c,v
retrieving revision 1.1.2.2
diff -c -3 -p -r1.1.2.2 20030907-1.c
*** 20030907-1.c	21 Sep 2003 22:14:30 -0000	1.1.2.2
--- 20030907-1.c	13 Nov 2003 08:03:45 -0000
*************** int main() 
*** 22,27 ****
     exit(0); 
  }
  
! /* The abort() call clearly is unreachable.  Only the "extern abort"
!    declaration should survive optimization.  */
! /* { dg-final { scan-tree-dump-times "abort" 1 "optimized"} } */
--- 22,26 ----
     exit(0); 
  }
  
! /* The abort() call clearly is unreachable.  */
! /* { dg-final { scan-tree-dump-times "abort" 0 "optimized"} } */



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]