Re: Weird behaviour with intent
- From: lindahl@xxxxxxx (Greg Lindahl)
- Date: 4 Jan 2007 11:17:28 -0800
In article <1hrer10.1rpjzoetyakxkN%nospam@xxxxxxxxxxxxx>,
Richard E Maine <nospam@xxxxxxxxxxxxx> wrote:
This is not an error that
compilers are required to catch. Nor is it an error that I'd expect most
compilers to be able to catch.
This is true, however, we have an option to our compiler which says
"don't assume that arguments don't alias." It has several friends, and
when a customer sees a wrong answer, the first thing we do (or the
customer does, if they've read the docs) is compile with all of these
options, which will quickly lead them to the type of bug.
We added this option after we noticed that the Polyhedron benchmarks
contained one example of illegal aliasing. (It's fixed now.)
-- greg
(employed by, not speaking for, QLogic/PathScale)
.
- References:
- Weird behaviour with intent
- From: jellby
- Re: Weird behaviour with intent
- From: Gordon Sande
- Re: Weird behaviour with intent
- From: Richard E Maine
- Weird behaviour with intent
- Prev by Date: Re: Gfortran 2006 Year End Status Report
- Next by Date: Re: Sun Studio Express 3 compilers available for download
- Previous by thread: Re: Weird behaviour with intent
- Next by thread: Re: Weird behaviour with intent
- Index(es):
Relevant Pages
|
|