This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/78061] [7 Regression] -O3 causes "Error: definition in block 117 does not dominate use in block 164"
- From: "dcb314 at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 21 Oct 2016 09:25:56 +0000
- Subject: [Bug tree-optimization/78061] [7 Regression] -O3 causes "Error: definition in block 117 does not dominate use in block 164"
- Auto-submitted: auto-generated
- References: <bug-78061-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78061
--- Comment #1 from David Binderman <dcb314 at hotmail dot com> ---
This Fortran code seems to be the results of creduce and
it generates the same compiler error.
SUBROUTINE SSYMM(C)
REAL C(LDC,*)
LOGICAL LSAME
LOGICAL UPPER
IF (LSAME) THEN
DO 170 J = 1,N
DO 140 K = 1,J
IF (UPPER) THEN
END IF
140 CONTINUE
DO 160 K = J + 1,N
C(I,J) = B(K)
160 CONTINUE
170 CONTINUE
END IF
END