[Bug other/54691] [4.8 Regression] --enable-checking=valgrind doesn't build

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Oct 15 07:19:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54691

--- Comment #11 from H.J. Lu <hjl.tools at gmail dot com> 2012-10-15 07:18:45 UTC ---
search_line_acc_char has

  /* Align the buffer.  Mask out any bytes from before the beginning.  */
  p = (word_type *)((uintptr_t)s & -sizeof(word_type));

It is OK to pad the buffer end just to 16-byte aligned.



More information about the Gcc-bugs mailing list