Re: Add -funconstrained-commons to work around PR/69368 (and others) in SPEC2006

gcc/testsuite:

	* gfortran.dg/unconstrained_commons.f: Widen regexp to match j_<N>.

From-SVN: r234139
This commit is contained in:
Alan Lawrence 2016-03-11 12:27:58 +00:00 committed by Alan Lawrence
parent 5c6706f77e
commit 07350627b6
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2016-03-11 Alan Lawrence <alan.lawrence@arm.com>
* gfortran.dg/unconstrained_commons.f: Widen regexp to match j_<N>.
2016-03-11 Alan Lawrence <alan.lawrence@arm.com>
* gcc.dg/tree-ssa/sra-20.c: New.

View File

@ -17,4 +17,4 @@
! { dg-final { scan-tree-dump-not "FIND" "dom2" } }
! We should retain both a read and write of mycommon.x.
! { dg-final { scan-tree-dump-times " _\[0-9\]+ = mycommon\\.x\\\[_\[0-9\]+\\\];" 1 "dom2" } }
! { dg-final { scan-tree-dump-times " mycommon\\.x\\\[_\[0-9\]+\\\] = _\[0-9\]+;" 1 "dom2" } }
! { dg-final { scan-tree-dump-times " mycommon\\.x\\\[j?_\[0-9\]+\\\] = _\[0-9\]+;" 1 "dom2" } }