[PATCH, Fortran] DEC Compatibility: Logical operations on integers become bitwise ops with -fdec

Andreas Schwab schwab@suse.de
Wed Oct 26 10:16:00 GMT 2016


On Okt 25 2016, Fritz Reese <fritzoreese@gmail.com> wrote:

>         * dec_bitwise_ops_1.f90, dec_bitwise_ops_2.f90: New testcases.

I'm getting these errors on ia64:

FAIL: gfortran.dg/dec_bitwise_ops_1.f90   -O0  (test for excess errors)
Excess errors:
/usr/local/gcc/gcc-20161026/gcc/testsuite/gfortran.dg/dec_bitwise_ops_1.f90:33:16: Error: Can't convert INTEGER(4) to INTEGER(4) at (1)
/usr/local/gcc/gcc-20161026/gcc/testsuite/gfortran.dg/dec_bitwise_ops_1.f90:34:16: Error: Can't convert INTEGER(4) to INTEGER(4) at (1)
/usr/local/gcc/gcc-20161026/gcc/testsuite/gfortran.dg/dec_bitwise_ops_1.f90:35:24: Error: Can't convert INTEGER(4) to INTEGER(4) at (1)
/usr/local/gcc/gcc-20161026/gcc/testsuite/gfortran.dg/dec_bitwise_ops_1.f90:46:18: Error: Can't convert INTEGER(4) to INTEGER(4) at (1)
/usr/local/gcc/gcc-20161026/gcc/testsuite/gfortran.dg/dec_bitwise_ops_1.f90:47:18: Error: Can't convert INTEGER(4) to INTEGER(4) at (1)
/usr/local/gcc/gcc-20161026/gcc/testsuite/gfortran.dg/dec_bitwise_ops_1.f90:48:26: Error: Can't convert INTEGER(4) to INTEGER(4) at (1)
/usr/local/gcc/gcc-20161026/gcc/testsuite/gfortran.dg/dec_bitwise_ops_1.f90:59:18: Error: Can't convert INTEGER(4) to INTEGER(4) at (1)
/usr/local/gcc/gcc-20161026/gcc/testsuite/gfortran.dg/dec_bitwise_ops_1.f90:60:18: Error: Can't convert INTEGER(4) to INTEGER(4) at (1)
/usr/local/gcc/gcc-20161026/gcc/testsuite/gfortran.dg/dec_bitwise_ops_1.f90:61:26: Error: Can't convert INTEGER(4) to INTEGER(4) at (1)
/usr/local/gcc/gcc-20161026/gcc/testsuite/gfortran.dg/dec_bitwise_ops_1.f90:85:18: Error: Can't convert INTEGER(4) to INTEGER(4) at (1)
/usr/local/gcc/gcc-20161026/gcc/testsuite/gfortran.dg/dec_bitwise_ops_1.f90:86:18: Error: Can't convert INTEGER(4) to INTEGER(4) at (1)
/usr/local/gcc/gcc-20161026/gcc/testsuite/gfortran.dg/dec_bitwise_ops_1.f90:87:26: Error: Can't convert INTEGER(4) to INTEGER(4) at (1)
/usr/local/gcc/gcc-20161026/gcc/testsuite/gfortran.dg/dec_bitwise_ops_1.f90:98:18: Error: Can't convert INTEGER(4) to INTEGER(4) at (1)
/usr/local/gcc/gcc-20161026/gcc/testsuite/gfortran.dg/dec_bitwise_ops_1.f90:99:18: Error: Can't convert INTEGER(4) to INTEGER(4) at (1)
/usr/local/gcc/gcc-20161026/gcc/testsuite/gfortran.dg/dec_bitwise_ops_1.f90:100:26: Error: Can't convert INTEGER(4) to INTEGER(4) at (1)

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Gcc-patches mailing list