[Fortran] Compare upper bounds in gfc_is_same_range

Tobias.Schlueter@Physik.Uni-Muenchen.DE Tobias.Schlueter@Physik.Uni-Muenchen.DE
Wed Mar 1 12:21:00 GMT 2006


Quoting Roger Sayle <roger@eyesopen.com>:
> Ok for mainline?

Certainly, but I think we require tabs.

> +       /* Check we have values for both.  */
> +       if (!(e1 && e2))
> +         return def;
   ^^^^^^^^ here vs.
> +
> +       i = gfc_dep_compare_expr (e1, e2);
> +       if (i == -2)
> + 	return def;
   ^^^^^^^^^ here
> +       else if (i != 0)
> + 	return 0;
> +     }

(I only noticed this because the lines were indented differently in the mailer. 
If I may climb on a soapbox, I'd like to say that I think that tabs are a silly
idea, precisely because they lead to weird indentation of diffs, while serving
no purpose.)

Thanks,
- Tobi



More information about the Fortran mailing list