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

Re: numerical instability and estimate-probability


> On Thu, Nov 15, 2001 at 11:31:52AM -0800, mike stump wrote:
>> It is advantageous to have gcc emit the same code, on different hosts
>> for the same source code.  This currently works.

> No, it doesn't.  We have code that is affected by the undefined
> order of evaluation of function arguments.  E.g.

>     foo (gen_reg_rtx (...), gen_reg_rtx (...))


I see no good argument for damaging code quality by insisting on a canonical
order of evaluation here. The standard allows non-determinism here quite
deliberately for a good reason.


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