OSDN Git Service

2008-07-22 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
authormanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 Jul 2008 09:45:58 +0000 (09:45 +0000)
committermanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 Jul 2008 09:45:58 +0000 (09:45 +0000)
commit98e29890ee489ca6a2f409cf65f5ca4419f895cd
tree17d49712a4145447c738fd8de9102fd6bb8c8f50
parent7ee892a215fc465079f8ae36096dcee0e7acef30
2008-07-22  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

PR 28079
libcpp/
* directives.c (strtolinenum): Handle overflow.
(do_line): Give a warning if line number overflowed.
(do_linemarker): Update call to strtolinenum.

gcc/testsuite/
* gcc.dg/cpp/line6.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@138049 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/line6.c [new file with mode: 0644]
libcpp/ChangeLog
libcpp/directives.c