Re: Order of argument evaluation in C++, etc.

jan@neuroinformatik.ruhr-uni-bochum.de (Jan Vorbrueggen)
Fri, 25 Aug 1995 16:25:08 GMT

          From comp.compilers

Related articles
[39 earlier articles]
Re: Order of argument evaluation in C++, etc. hbaker@netcom.com (1995-08-23)
Re: Order of argument evaluation in C++, etc. way@cis.udel.edu (Thomas Way) (1995-08-23)
Re: Order of argument evaluation in C++, etc. jmccarty@spdmail.spd.dsccc.com (1995-08-24)
Re: Order of argument evaluation in C++, etc. daniels@cse.ogi.edu (1995-08-24)
Re: Order of argument evaluation in C++, etc. pardo@cs.washington.edu (1995-08-25)
Re: Order of argument evaluation in C++, etc. hbaker@netcom.com (1995-08-25)
Re: Order of argument evaluation in C++, etc. jan@neuroinformatik.ruhr-uni-bochum.de (1995-08-25)
Re: Order of argument evaluation in C++, etc. stefan.monnier@epfl.ch (Stefan Monnier) (1995-08-28)
Re: Order of argument evaluation in C++, etc. chase@centerline.com (1995-08-28)
Re: Order of argument evaluation in C++, etc. hbaker@netcom.com (1995-08-30)
Death by pointers. (Was: order of argument evaluation in C++, etc.) johnston@imec.be (1995-08-30)
Re: Death by pointers. (Was: order of argument evaluation in C++, etc. hbaker@netcom.com (1995-09-05)
Re: Death by pointers. jhallen@world.std.com (1995-09-05)
[3 later articles]
| List of all articles for this month |

Newsgroups: comp.compilers
From: jan@neuroinformatik.ruhr-uni-bochum.de (Jan Vorbrueggen)
Keywords: C++, optimize
Organization: Institut fuer Neuroinformatik, Ruhr-Universitaet Bochum, Germany
References: <95-07-068@comp.compilers 95-08-171
Date: Fri, 25 Aug 1995 16:25:08 GMT

jthill@netcom.com (Jim Hill) writes:


      Unless I'm very much mistaken, alias identification is an insoluble
      problem, and flagging order dependencies in expressions runs straight into
      that wall.


Well, I guess it's insoluble in general (no my area of expertise), but it is
certainly possible and useful. It's clear that this is really what we're
talking about.


      To digress for a paragraph, I'm all for better tools to tag possible
      problems, but I don't know of any commercial compiler that gets even the
      simplest cases.


Well, then you don't know enough 8-)...have a look at the Inmos occam2
compilers. They have some quite complicated alias checking (helped by language
rules to avoid those nasty interprocedural/global-variable problems) which,
then, is used to assist you in avoiding/diagnosing those nasty multiple-use
problems in a parallel programme. And that in a language that allows you to
specify, at runtime, aliases for parts of your data...


Jan


--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.