On Wed, Sep 22, 2004 at 11:36:44AM -0400, Aleksandar Donev wrote:
> And to illustrate that this is not a stupid question as you say, the
> following program for example crashes with the Intel compiler, and you
> say it should not. Only Absoft of the compilers I have to try actually
> detects a stride of 2 at runtime---the rest pretend all was OK. So
> there is obviously differences in interpretation here.
Just to be clear - the Intel compiler gave a detailed and specific error
message, which is, I believe, the correct behavior. It did not "crash".
The Intel compiler marks the descriptor of slices as "cannot be
deallocated" to catch such cases.
Steve Lionel
Software Products Development
Intel Corporation
Nashua, NH
|