This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/47311] [4.6 Regression][C++0x] ICE in tsubst @cp/pt.c:10502
- From: "rth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 17 Jan 2011 16:03:25 +0000
- Subject: [Bug preprocessor/47311] [4.6 Regression][C++0x] ICE in tsubst @cp/pt.c:10502
- Auto-submitted: auto-generated
- References: <bug-47311-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47311
--- Comment #15 from Richard Henderson <rth at gcc dot gnu.org> 2011-01-17 16:03:09 UTC ---
(In reply to comment #10)
> But it never checks the buffer end. It looks bogus to me.
Read the comment at the beginning of the section. This is an aligned
read before END, and thus will never fault. We are guaranteed to find
an end-of-line character at the end of the buffer, so we will never
search past END.