OSDN Git Service

* cpplex.c (_cpp_clean_line): In the common case of a line
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Oct 2003 18:53:28 +0000 (18:53 +0000)
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Oct 2003 18:53:28 +0000 (18:53 +0000)
commit54d3be9157735d256433f8ba19ca25a2961fe236
treec72adc0c25b99cd7a460fe815b5e09afa77b4622
parenta78cd2c12b5a28fcb37a02be5468e2843373513a
* cpplex.c (_cpp_clean_line): In the common case of a line
with no trigraphs and no \-newline, avoid writing to memory.
(_cpp_skip_block_comment): Use a local 'cur' pointer instead
of the buffer member.  Make c an uchar to avoid unnecessary
sign extensions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72437 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cpplex.c