[gfortran,patch] Removing runtime checking for MIN/MAX optional arguments

François-Xavier Coudert fxcoudert@gmail.com
Wed Aug 22 15:15:00 GMT 2007


:ADDPATCH fortran:

My previous patch to MIN/MAX added runtime checking of optional
arguments, checking that the first two arguments were present.
Unfortunately, the simplification routines can move arguments, making
us emit runtime errors on valid code (PR33095). This patch removes the
runtime error checking (and related testcases), as no other compiler
actually does it.

Regtested on x86_64-linux, OK to commit?

FX
-------------- next part --------------
A non-text attachment was scrubbed...
Name: minmax.ChangeLog
Type: application/octet-stream
Size: 435 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20070822/2c66851a/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: minmax.diff
Type: application/octet-stream
Size: 7641 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20070822/2c66851a/attachment-0001.obj>


More information about the Fortran mailing list