https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69646
Bug ID: 69646
Summary: multiple warnings with -Wintrinsics-std
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: Joost.VandeVondele at mat dot ethz.ch
Target Milestone: ---
This testcase related to Janus question on the ml :
> cat test.f90
WRITE(6,*) BGE(1,2)
END
yields three times a similar warning with -Wintrinsics-std
> gfortran -c -std=f95 -Wintrinsics-std test.f90
test.f90:1:15:
WRITE(6,*) BGE(1,2)
1
Warning: The intrinsic ‘bge’ at (1) is not included in the selected standard
but new in Fortran 2008 and ‘bge’ will be treated as if declared EXTERNAL. Use
an appropriate -std=* option or define -fall-intrinsics to allow this
intrinsic. [-Wintrinsics-std]
test.f90:1:15: Warning: The intrinsic ‘bge’ at (1) is not included in the
selected standard but new in Fortran 2008 and ‘bge’ will be treated as if
declared EXTERNAL. Use an appropriate -std=* option or define -fall-intrinsics
to allow this intrinsic. [-Wintrinsics-std]
test.f90:1:11:
WRITE(6,*) BGE(1,2)
1
Warning: The intrinsic ‘bge’ at (1) is not included in the selected standard
but new in Fortran 2008 and ‘bge’ will be treated as if declared EXTERNAL. Use
an appropriate -std=* option or define -fall-intrinsics to allow this
intrinsic. [-Wintrinsics-std]