]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/81304 (Bogus warning with -Wsurprising and -fopenmp: Type specified...
authorJakub Jelinek <jakub@gcc.gnu.org>
Fri, 24 Nov 2017 21:40:21 +0000 (22:40 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 24 Nov 2017 21:40:21 +0000 (22:40 +0100)
commit3b3e6283a4b1ea82bb41867ebdccd6a1fc0501d3
tree0f71d277ea2d2d8aa0fa93308f9441e03c8f2755
parent19cf3a368544af31e3791c27e3c9be9b01e71851
re PR fortran/81304 (Bogus warning with -Wsurprising and -fopenmp: Type specified for intrinsic function 'min' / 'max')

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.

From-SVN: r255144
gcc/fortran/ChangeLog
gcc/fortran/trans-openmp.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.fortran/pr81304.f90 [new file with mode: 0644]