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: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 15 Oct 2012 07:05:43 +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 #10 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-10-15 07:05:43 UTC ---
(In reply to comment #9)
> (In reply to comment #8)
>
> > libcpp will read in advance beyond the end of buffer in
> > some cases, even without SSE optimization.
>
> I'd call this a bug.
No it is not a bug. Even if the read happens, since a null character is found,
the behavior does not change. Also it is never on an unaligned read so we can
never hit a page fault due to unmapped pages.