This is the mail archive of the gcc-patches@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]

Re: Patch: PR preprocessor/30001


>>>>> "Mark" == Mark Mitchell <mark@codesourcery.com> writes:

>> +  if (to.len > 0 && to.text[to.len - 1] == '\r')

Mark> (Since to.len is unsigned, I'd probably just write "to.len" instead of
Mark> "to.len > 0"; as written, my first thought was "what does a negative
Mark> value mean?"  But, that's just me; even if you agree, it's almost
Mark> certainly not a good use of time to retest with that change.)

I made this change and re-ran the test suite.
I'll check it in shortly.  Thanks for the timely review.

Tom


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