This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/43829] Scalarization of reductions
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Jun 2010 19:44:50 -0000
- Subject: [Bug fortran/43829] Scalarization of reductions
- References: <bug-43829-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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