This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]