This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/54691] [4.8 Regression] --enable-checking=valgrind doesn't build
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 15 Oct 2012 07:18:45 +0000
- Subject: [Bug other/54691] [4.8 Regression] --enable-checking=valgrind doesn't build
- Auto-submitted: auto-generated
- References: <bug-54691-4@http.gcc.gnu.org/bugzilla/>
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.