ensure pointer decay in inline-asm arg for i386 syscall6
authorRich Felker <dalias@aerifal.cx>
Sun, 14 Oct 2012 03:46:51 +0000 (23:46 -0400)
committerRich Felker <dalias@aerifal.cx>
Sun, 14 Oct 2012 03:46:51 +0000 (23:46 -0400)
this is actually a rather subtle issue: do arrays decay to pointers
when used as inline asm args? gcc says yes, but currently pcc says no.
hopefully this discrepency in pcc will be fixed, but since the
behavior is not clearly defined anywhere I can find, I'm using an
explicit operation to cause the decay to occur.


No differences found