[Bug tree-optimization/65709] [5 Regression] Bad code for LZ4 decompression with -O3 on x86_64

yann.collet.73 at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Apr 10 12:02:00 GMT 2015


--- Comment #11 from Yann Collet <yann.collet.73 at gmail dot com> ---
Does that answer also takes into consideration "buffer boundaries check" ?

The algorithm is supposed to pay attention to this property when moving 8-bytes
at a time. For 16-bytes at a time, it seems this core assumption is broken, and
can result in buffer overflow.

More information about the Gcc-bugs mailing list