This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

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


François-Xavier Coudert wrote:
: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

OK


Jerry


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