Newsgroups: comp.sys.transputer
From: Jan Vorbrueggen <jan@mailhost.neuroinformatik.ruhr-uni-bochum.de>
Subject: Re: Parallel input/output error message with kroc and spoc ?
Organization: Institut fuer Neuroinformatik, Ruhr-Universitaet Bochum, Germany
Date: 04 Aug 1997 08:38:46 +0200
Message-ID: <y4g1sqh2q1.fsf@mailhost.neuroinformatik.ruhr-uni-bochum.de>

egamess@kanaima.ciens.ucv.ve writes:

>   SEQ
>     i:=1
>     PAR
>       c[0] ? x
>       c[i] ? y       -- Change i by 1 and it will be OK
>       c[0] ! 10
>       c[i] ! 20      -- Change i by 1 and it will be OK
> :
> 
> Kroc and Spoc compilers gave me an error of parallel input on channel
> c and parallel output on channel c.
> 
> If I replace i by 1, there is no compiling problem.

This is a limitation of the aliasing algorithm. You will probably have to
disable alias checking for this module. (I don't remember whether there are
pragmas to disable it only for certain variables.)

	Jan

