------- 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

Reply via email to