This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


: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

Attachment: minmax.ChangeLog
Description: Binary data

Attachment: minmax.diff
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]