------- Additional Comments From bdavis9659 at comcast dot net  2005-06-25 
13:58 -------

here are some things i have found while researching this:


First, this patch:
2002-05-09  Hassan Aurag  <[EMAIL PROTECTED]>

        * expr.c (ffeexpr_reduced_ugly2log_): Allow logicals-as-integers
        under -fugly-logint as arguments of .and., .or., .xor.

which was then reverted after discussion about what -fugly-logint is supposed 
to do:

2003-11-24  Toon Moene  <[EMAIL PROTECTED]>

        PR fortran/12633
        * expr.c (ffeexpr_reduced_ugly2log_): Revert
        change allowing logical .and. logical to be
        integer in expressions when -fugly-logint.

And then another patch which was supposed to "do the right thing":

2004-01-13  Ian Lance Taylor  <[EMAIL PROTECTED]>

        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.





-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bbsnider at link dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21931

Reply via email to