What should be added to C
Frank Adams
franka at mmintl.UUCP
Fri May 30 01:25:16 AEST 1986
In article <5521 at alice.uUCp> ark at alice.UUCP writes:
> 2. Can you give me a simple code generation algorithm
> for multiple assignments that gets things like
>
> i, a[i] = j, a[j];
>
> correct and never uses extra temporaries? I have this
> nagging feeling that even without subscripted variables,
> the problem is NP-complete.
I wouldn't be surprised. But this is not intolerable; most cases are quite
small, and even moderately large ones are very rare.
Frank Adams ihnp4!philabs!pwa-b!mmintl!franka
Multimate International 52 Oakland Ave North E. Hartford, CT 06108
More information about the Comp.lang.c
mailing list