[Bug preprocessor/47311] [4.6 Regression][C++0x] ICE in tsubst @cp/pt.c:10502

rth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jan 17 16:08:00 GMT 2011


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.



More information about the Gcc-bugs mailing list