[Bug fortran/81304] [6/7/8 Regression] Bogus warning with -Wsurprising and -fopenmp: Type specified for intrinsic function 'min' / 'max'
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Nov 24 21:40:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81304
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Nov 24 21:40:21 2017
New Revision: 255144
URL: https://gcc.gnu.org/viewcvs?rev=255144&root=gcc&view=rev
Log:
PR fortran/81304
* trans-openmp.c (gfc_trans_omp_array_reduction_or_udr): Set
attr.implicit_type in intrinsic_sym to avoid undesirable warning.
* testsuite/libgomp.fortran/pr81304.f90: New test.
Added:
trunk/libgomp/testsuite/libgomp.fortran/pr81304.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-openmp.c
trunk/libgomp/ChangeLog
More information about the Gcc-bugs
mailing list