Article View: comp.std.c
Article #2577Re: Function Argument Evaluation
From: Doug Gwyn
Date: Fri, 22 Mar 1991 21:58
Date: Fri, 22 Mar 1991 21:58
8 lines
966 bytes
966 bytes
In article <17809@crdgw1.crd.ge.com> volpe@camelback.crd.ge.com (Christopher R Volpe) writes: >Ok, but I believe that is true only because the behavior is undefined No; the order of evaluation in this example is explicitly UNSPECIFIED, which is not at all the same as UNDEFINED BEHAVIOR. There are several possible ways to mix up the order of evaluation, but one of them MUST be selected by a conforming implementation for each such situation. (The selection need not be made on a consistent basis, however.)
Technical Details
Message-ID:
<15552@smoke.brl.mil>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!sdd.hp.com!wuarchive!udel!haven!adm!smoke!gwynReferences:
<17750@crdgw1.crd.ge.com> <15538@smoke.brl.mil> <17809@crdgw1.crd.ge.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!sdd.hp.com!wuarchive!udel!haven!adm!smoke!gwyn From: gwyn@smoke.brl.mil (Doug Gwyn) Newsgroups: comp.std.c Subject: Re: Function Argument Evaluation Message-ID: <15552@smoke.brl.mil> Date: 22 Mar 91 21:58:56 GMT References: <17750@crdgw1.crd.ge.com> <15538@smoke.brl.mil> <17809@crdgw1.crd.ge.com> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 8