Bug 61887 - vect.exp UNRESOLVED tests
Summary: vect.exp UNRESOLVED tests
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: regression (show other bugs)
Version: 5.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-23 11:41 UTC by Marat Zakirov
Modified: 2014-11-04 20:52 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marat Zakirov 2014-07-23 11:41:55 UTC
I found that some tests from vect.exp has status UNRESOLVED in cureent compiler version due to dissynchronization of compiler dumpers and tests check.

Example:
Test bb-slp-10.c awaits for name
bb-slp-10.c.124t.slp
but it gets this
bb-slp-10.c.124t.slp2

Open bb-slp-10.c

Change "slp" to "slp2" in
...
/* { dg-final { scan-tree-dump-times "unsupported alignment in basic block." 1 "slp" { xfail vect_element_align } } } */
/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 1 "slp" { target vect_element_align } } } */

Test will pass or at least it won't have UNRESOLVED status.

Another UNRESOLVED example vect-105-big-array.c and generaly all tests with scan-tree-dump-times and -flto option. 

-flto makes gcc to create file with name
vect-105-big-array.exe.ltrans0.114t.vect

Which is obviosly not supported too.

Configuration:

 /home/mzakirov/proj/gcc_unalign/build.arm.cortex-a15/sources/gcc_1/configure --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=arm-linux-gnueabi --with-interwork --enable-long-long --enable-languages=c,c++,fortran --enable-shared --with-gnu-as --with-gnu-ld --with-arch=armv7-a 

Run tests:

make -k check RUNTESTFLAGS='vect.exp'

--Marat
Comment 1 Marat Zakirov 2014-07-23 11:45:09 UTC
This issue is suitible for ARM
Comment 2 Richard Biener 2014-07-23 12:06:18 UTC
That was me, "splitting" slp into slp1 and slp2.  I've only able to run the
x86 part of the testsuite - any update on the rest is appreciated.
Comment 3 Thomas Preud'homme 2014-11-03 23:30:14 UTC
"git grep slp testsuite" doesn't show me any directive looking for dump with a slp extension so I guess this is solved?
Comment 4 Richard Biener 2014-11-04 20:52:20 UTC
Indeed.