]> git.ipfire.org Git - thirdparty/gcc.git/commit
cppexp.c (struct op): Add token pointer.
authorNeil Booth <neil@daikokuya.co.uk>
Sat, 20 Jul 2002 13:31:56 +0000 (13:31 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Sat, 20 Jul 2002 13:31:56 +0000 (13:31 +0000)
commit68e6527569f6ec0f520a53bcf786103a0f9b3fa4
tree9bd94b5aaf271855796963e66d84694ac7170431
parent7a5611426087b57133689d61bb4717f9c82f02b2
cppexp.c (struct op): Add token pointer.

* cppexp.c (struct op): Add token pointer.
(check_promotion, CHECK_PROMOTION): New.
(optab): Update.
(_cpp_parse_expr): Update, use token pointer of struct op.
(reduce): Warn about change of sign owing to promotion.
* cppinit.c (cpp_handle_option): New warning if -Wall.
* cpplib.h (struct cpp_options): New member.
testsuite:
* gcc.dg/cpp/Wsignprom.c: New tests.

From-SVN: r55611
gcc/ChangeLog
gcc/cppexp.c
gcc/cppinit.c
gcc/cpplib.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/Wsignprom.c [new file with mode: 0644]