This is the mail archive of the gcc-bugs@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]

[Bug fortran/68993] MERGE does not evaluate its arguments


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68993

Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
                 CC|                            |Joost.VandeVondele at mat dot ethz
                   |                            |.ch
         Resolution|---                         |INVALID

--- Comment #3 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> ---
I believe there was some confusion about the second testcase. The real question
is if this is valid in all cases:

MERGE(C_NULL_PTR, C_LOC(pc), .NOT.PRESENT(pc)))

and I believe it is not, because all arguments might be evaluated. However, it
is also OK not to evaluate all arguments for the reasons quoted.

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