diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2012-04-30 08:40:37 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2013-10-29 16:30:52 +0100 |
commit | cea8e7abbab7ea77de6090dc6dc43ac6a3eaca65 (patch) | |
tree | 35c6880acdb6e2477b58e4608daa20ca27cfe5c0 /ld | |
parent | 185babec1a9b58f310df2ce950be4120c4f8a273 (diff) | |
download | dev86-cea8e7abbab7ea77de6090dc6dc43ac6a3eaca65.tar.gz |
copt: Get rid of overlapping strcpy()
Optimizer was corrupting optimized assembly file with certain strcpy()
implementations: "\tcmp\tdx,b0[bp]" was turned into invalid
"cmp\tdxb0[bp]".
Valgrind:
==2491== Source and destination overlap in strcpy(0x804d640, 0x804d641)
==2491== at 0x40098CA: strcpy (mc_replace_strmem.c:429)
==2491== by 0x8049F57: readlist (copt.c:177)
==2491== by 0x80488D6: main (copt.c:319)
Diffstat (limited to 'ld')
0 files changed, 0 insertions, 0 deletions