diff options
author | Neil Booth <neil@daikokuya.co.uk> | 2002-06-24 05:46:51 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2002-06-24 05:46:51 +0000 |
commit | 2c088b53f9633f073f02656eba0033c68ab65f31 (patch) | |
tree | fcd033733bfffcb7d0c08d9fe7bd14f21ee3f9c5 /libstdc++-v3/config/cpu/cris | |
parent | 66443ad2fda37477c32f6230d9d784717e167b9a (diff) | |
download | gcc-2c088b53f9633f073f02656eba0033c68ab65f31.zip gcc-2c088b53f9633f073f02656eba0033c68ab65f31.tar.gz gcc-2c088b53f9633f073f02656eba0033c68ab65f31.tar.bz2 |
cpptrad.c (scan_out_logical_line): Check recursing only when we know we have a macro invocation in the...
* cpptrad.c (scan_out_logical_line): Check recursing only when
we know we have a macro invocation in the function-like case.
Only call _cpp_handle_directive if we know we have a good
directive, or we want to reject a bad directive.
testsuite:
* gcc.dg/cpp/trad/argcout.c, gcc.dg/cpp/trad/assembler.S,
gcc.dg/cpp/trad/argcout.c, gcc.dg/cpp/trad/funlike-4.c,
gcc.dg/cpp/trad/null-drctv.c, gcc.dg/cpp/trad/recurse-1.c,
gcc.dg/cpp/trad/recurse-2.c, gcc.dg/cpp/trad/recurse-3.c:
New tests.
* gcc.dg/cpp/trad/directive.c: Update.
From-SVN: r54942
Diffstat (limited to 'libstdc++-v3/config/cpu/cris')
0 files changed, 0 insertions, 0 deletions