cpplex.c (cpp_interpret_charconst): Truncate as well as sign-extend.
authorNeil Booth <neil@daikokuya.demon.co.uk>
Wed, 8 May 2002 21:02:31 +0000 (21:02 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Wed, 8 May 2002 21:02:31 +0000 (21:02 +0000)
commitb9e2d17b40af155da708201a231836c1930fe152
treedcf24c4e35c90d6be02f200980d40c51523db0ad
parent4434687a6ce7af0d637a4b1683bc91d8508fa2c5
cpplex.c (cpp_interpret_charconst): Truncate as well as sign-extend.

* cpplex.c (cpp_interpret_charconst): Truncate as well as
sign-extend.
doc:
* cpp.texi: Clarify multichar charconst valuation.
testsuite:
* gcc.dg/cpp/charconst-4.c: More tests.

From-SVN: r53301
gcc/ChangeLog
gcc/cpplex.c
gcc/doc/cpp.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/charconst-4.c [new file with mode: 0644]