From: Rich Felker Date: Sun, 14 Oct 2012 03:46:51 +0000 (-0400) Subject: ensure pointer decay in inline-asm arg for i386 syscall6 X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=commitdiff_plain;h=185a97707429aacfa1e8db62fc9fdb2188539d86;hp=185a97707429aacfa1e8db62fc9fdb2188539d86 ensure pointer decay in inline-asm arg for i386 syscall6 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. ---