diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-10-13 23:46:51 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-10-13 23:46:51 -0400 |
commit | 185a97707429aacfa1e8db62fc9fdb2188539d86 (patch) | |
tree | 65b08af59301fc7419eb5e1e9c93dd39ae737f79 /src/prng/random.c | |
parent | e23d358fd6254d88c85750a23cd1234855c3292c (diff) | |
download | musl-185a97707429aacfa1e8db62fc9fdb2188539d86.tar.gz musl-185a97707429aacfa1e8db62fc9fdb2188539d86.tar.xz musl-185a97707429aacfa1e8db62fc9fdb2188539d86.zip |
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.
Diffstat (limited to 'src/prng/random.c')
0 files changed, 0 insertions, 0 deletions