This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
The test case integer_exponentiation_2.f90 is not standard conforming
- From: dominiq at lps dot ens dot fr (Dominique Dhumieres)
- To: fortran at gcc dot gnu dot org
- Date: Mon, 26 Mar 2007 10:50:23 +0200 (CEST)
- Subject: The test case integer_exponentiation_2.f90 is not standard conforming
I think the test case integer_exponentiation_2.f90 is not standard conforming
on two counts:
(1) when compiled with -std=f95, the result is
integer_exponentiation_2.f90:34.26:
call check_equal_r (a**-1.0, 1/a)
1
Error: Extension: Unary operator following arithmetic operator (use parentheses) at (1)
...
(2) i**cst_8 (cst is a constant 1, 2, ...) is kind(8) and is passed as the
argument of a procedure expecting a kind(4) integer. This is minor since
the gee_i is not actually used in the test, but this could be a problem
if the test is extended in the future to actually use this part of the code.
Dominique