Re: Add -funconstrained-commons to work around PR/69368 (and others) in SPEC2006
authoralalaw01 <alalaw01@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 Mar 2016 12:27:58 +0000 (12:27 +0000)
committeralalaw01 <alalaw01@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 Mar 2016 12:27:58 +0000 (12:27 +0000)
gcc/testsuite:

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234139 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/unconstrained_commons.f

index a945aa2..cc3ad50 100644 (file)
@@ -1,5 +1,9 @@
 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.
 
 2016-03-11  Jakub Jelinek  <jakub@redhat.com>
index f9fc471..bee67ab 100644 (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" } }