]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/6491 ([g77] Logical operations error on logicals when using -fugly...
authorIan Lance Taylor <ian@wasabisystems.com>
Wed, 14 Jan 2004 02:32:49 +0000 (02:32 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 14 Jan 2004 02:32:49 +0000 (02:32 +0000)
commit8dd8b815f4b1fc0524ac67f10fd7fb98981ad271
tree7856a9635378d94ae6db2615ba8d1dc1d3d6d0db
parent1a793acf78735bd089174860ee0cd86e8f3ea2c2
re PR fortran/6491 ([g77]  Logical operations error on logicals when using -fugly-logint)

PR fortran/6491
* expr.c (ffeexpr_reduce_): When handling AND, OR, and XOR, and
when using -fugly-logint, if both operands are logical, convert
the result back to logical.
(ffeexpr_reduced_ugly2log_): Add bothlogical parameter.  Change
all callers.  Convert logical operands to integer.

From-SVN: r75837
gcc/f/ChangeLog
gcc/f/expr.c