From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8984 invoked by alias); 27 Jun 2010 20:05:42 -0000 Received: (qmail 8898 invoked by uid 48); 27 Jun 2010 20:05:26 -0000 Date: Sun, 27 Jun 2010 20:05:00 -0000 Message-ID: <20100627200526.8897.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/43829] Scalarization of reductions In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dominiq at lps dot ens dot fr" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-06/txt/msg02646.txt.bz2 ------- Comment #23 from dominiq at lps dot ens dot fr 2010-06-27 20:05 ------- (In reply to comment #22) > > (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. OK, I did not parse NX.GT.0. Now I have forgotten another ICE with the patch: the second invalid test in comment #2 gives pr43829_2.f90: In function 'test1': pr43829_2.f90:4:0: internal compiler error: in gfc_conv_section_startstride, at fortran/trans-array.c:3114 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43829