OSDN Git Service

* cpplib.c (do_include_common): Revert to correct line number
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 Jun 2002 06:00:30 +0000 (06:00 +0000)
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 Jun 2002 06:00:30 +0000 (06:00 +0000)
commit6d5a10ca6019f44f25f2c6a182071eeb44dbaf1b
tree72f86a445f4678c5b6afc75667e751ee6dcaf2a2
parent04722d4b482b22863709ad8e675262ed33ac6f6b
* cpplib.c (do_include_common): Revert to correct line number
if -traditional.
* cpptrad.c (scan_out_logical_line): Treat null directive as
white space.  Invlidate MI optimization for non-whitespace
text outside a directive.
testsuite:
* gcc.dg/cpp/mi7.c, gcc.dg/cpp/mi7a.h, gcc.dg/cpp/mi7b.h,
gcc.dg/cpp/trad/builtins.c, gcc.dg/cpp/trad/builtins.h,
gcc.dg/cpp/trad/cmdlne-C.c, gcc.dg/cpp/trad/cmdlne-C2.c,
gcc.dg/cpp/trad/maccom1.c, gcc.dg/cpp/trad/maccom2.c,
gcc.dg/cpp/trad/maccom3.c, gcc.dg/cpp/trad/maccom4.c,
gcc.dg/cpp/trad/maccom6.c, gcc.dg/cpp/trad/mi1.c,
gcc.dg/cpp/trad/mi1c.h, gcc.dg/cpp/trad/mi1nd.h,
gcc.dg/cpp/trad/mi1ndp.h, gcc.dg/cpp/trad/mi1x.h,
gcc.dg/cpp/trad/mi2.c, gcc.dg/cpp/trad/mi2a.h,
gcc.dg/cpp/trad/mi2b.h, gcc.dg/cpp/trad/mi2c.h
gcc.dg/cpp/trad/mi3.c, gcc.dg/cpp/trad/mi3.def,
gcc.dg/cpp/trad/mi3.h, gcc.dg/cpp/trad/mi4.c,
gcc.dg/cpp/trad/mi5.c, gcc.dg/cpp/trad/mi6.c,
gcc.dg/cpp/trad/mi6a.h, gcc.dg/cpp/trad/mi6b.h,
gcc.dg/cpp/trad/mi6c.h, gcc.dg/cpp/trad/mi6d.h,
gcc.dg/cpp/trad/mi6e.h, gcc.dg/cpp/trad/mi7.c,
gcc.dg/cpp/trad/mi7a.h, gcc.dg/cpp/trad/mi7b.h: New tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54978 138bc75d-0d04-0410-961f-82ee72b054a4
39 files changed:
gcc/ChangeLog
gcc/cpplib.c
gcc/cpptrad.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/mi7.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/mi7a.h [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/mi7b.h [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/trad/builtins.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/trad/builtins.h [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/trad/cmdlne-C.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/trad/cmdlne-C2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/trad/maccom1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/trad/maccom2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/trad/maccom3.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/trad/maccom4.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/trad/maccom6.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/trad/mi1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/trad/mi1c.h [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/trad/mi1nd.h [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/trad/mi1ndp.h [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/trad/mi1x.h [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/trad/mi2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/trad/mi2a.h [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/trad/mi2b.h [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/trad/mi2c.h [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/trad/mi3.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/trad/mi3.def [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/trad/mi3.h [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/trad/mi4.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/trad/mi5.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/trad/mi6.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/trad/mi6a.h [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/trad/mi6b.h [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/trad/mi6c.h [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/trad/mi6d.h [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/trad/mi6e.h [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/trad/mi7.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/trad/mi7a.h [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/trad/mi7b.h [new file with mode: 0644]