Re: [PING][C++][JAVA] Gimplification unit-at-a-time

Richard Guenther <[email protected]>
Newsgroups gmane.comp.gcc.patches,gmane.comp.gcc.java.devel
Message-ID <[email protected]>
On Sat, 18 Jul 2009, H.J. Lu wrote:

> On Fri, Jul 17, 2009 at 1:11 PM, H.J. Lu<[email protected]> wrote:
> > On Thu, Jul 16, 2009 at 7:06 AM, Richard Guenther<[email protected]> wrote:
> >>
> >> The following patch still needs approval by Java and C++ frontend
> >> maintainers:
> >>
> >> http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00358.html
> >>
> >
> > This caused:
> >
> > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40791
> >
> 
> It also caused:
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40798

The pattern in the testcase matches an SSA name version now.  Fixed.

Richard.

2009-07-18  Richard Guenther  <[email protected]>

	PR testsuite/40798
	* gcc.dg/tree-ssa/loop-2.c: Tighten pattern.

Index: gcc/testsuite/gcc.dg/tree-ssa/loop-2.c
===================================================================
*** gcc/testsuite/gcc.dg/tree-ssa/loop-2.c	(revision 149767)
--- gcc/testsuite/gcc.dg/tree-ssa/loop-2.c	(working copy)
*************** void xxx(void)
*** 38,44 ****
     and replaced by comparison of one of the newly created ivs.  */
  
  /* { dg-final { scan-tree-dump-times "iter" 0 "optimized" } } */
! /* { dg-final { scan-tree-dump-times "99" 0 "optimized" } } */
! /* { dg-final { scan-tree-dump-times "100" 0 "optimized" } } */
  
  /* { dg-final { cleanup-tree-dump "optimized" } } */
--- 38,44 ----
     and replaced by comparison of one of the newly created ivs.  */
  
  /* { dg-final { scan-tree-dump-times "iter" 0 "optimized" } } */
! /* { dg-final { scan-tree-dump-times "= 99" 0 "optimized" } } */
! /* { dg-final { scan-tree-dump-times "< 100" 0 "optimized" } } */
  
  /* { dg-final { cleanup-tree-dump "optimized" } } */
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.