This is the mail archive of the 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]

Re: [patch] PR19951 fix - new C++ testcase

Richard Henderson <> wrote on 19/02/2005 19:22:41:
> On Sat, Feb 19, 2005 at 11:30:14AM +0200, Dorit Naishlos wrote:
> > !       if (!(e->flags & EDGE_ABNORMAL))
> ...
> > !      if (vect_print_dump_info (REPORT_BAD_FORM_LOOPS, loop_loc))
> > !        fprintf (vect_dump, "not vectorized: exit-bb has
> Ok, but change the error message to "exit edge is abnormal".

ok, done.

> It would also be a good idea to add a test case.

sure. ok to add a new subdirectory in g++.dg for vectorizer tests as in the
attached patch?

thanks to Volker for the reduced testcase.



      PR tree-optimization/19951
      * g++.dg/vect: New directory.
      * g++.dg/vect/vect.exp: New file.
      * g++.dg/vect/ New testcase.
      * g++.dg/dg.exp: Also prune vectorizer tests.


Index: dg.exp
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.dg/dg.exp,v
retrieving revision 1.10
diff -c -3 -p -r1.10 dg.exp
*** dg.exp  27 Feb 2004 02:01:09 -0000    1.10
--- dg.exp  20 Feb 2005 13:48:05 -0000
*************** set tests [prune $tests $srcdir/$subdir/
*** 39,44 ****
--- 39,45 ----
  set tests [prune $tests $srcdir/$subdir/pch/*]
  set tests [prune $tests $srcdir/$subdir/special/*]
  set tests [prune $tests $srcdir/$subdir/tls/*]
+ set tests [prune $tests $srcdir/$subdir/vect/*]

  # Main loop.
  dg-runtest $tests "" $DEFAULT_CXXFLAGS

(See attached file: vect_cc.tar.gz)

Attachment: vect_cc.tar.gz
Description: Binary data

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