This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/43829] Scalarization of reductions



------- Comment #22 from burnus at gcc dot gnu dot org  2010-06-27 19:44 -------
(In reply to comment #21)
> (although I am puzzled by the following error for the second test:
>          IF(DBUG.AND.NX.GT.0) THEN
>                      1
> Error: Operands of logical operator '.and.' at (1) are REAL(4)/LOGICAL(4)
> where NX is an INTEGER(4) rather than a LOGICAL(4)).

The error seems to be OK: Seemingly "DBUG" is REAL(4) and the expression (NX <
0) is a default-kind logical.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]