[PATCH] PR fortran/91497 -- Silence conversion warnings for MIN1 and MAX1

Manfred Schwarb manfred99@gmx.ch
Tue Nov 2 12:57:11 GMT 2021


Hi,

In addition to the patches of Steve Kargl for PR 91497:
The MIN1 and MAX1 intrinsics do explicit type conversions and should
be silenced too for -Wconversion and -Wconversion-extra.

Adjust testcase to only use *4 and *8 real types, provide a second
testcase for *10 and *16 precisions.

Regtested on Linux x86_64.

Signed-off-by Manfred Schwarb <manfred99@gmx.ch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr91497.f90.patch
Type: text/x-patch
Size: 6133 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20211102/95e1e00e/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr91497_2.f90.patch
Type: text/x-patch
Size: 3206 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20211102/95e1e00e/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: simplify.c.patch
Type: text/x-patch
Size: 1206 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20211102/95e1e00e/attachment-0005.bin>


More information about the Gcc-patches mailing list