re PR preprocessor/8524 (_Pragma within macros is improperly expanded)
authorNeil Booth <neil@daikokuya.co.uk>
Mon, 18 Nov 2002 20:43:40 +0000 (20:43 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Mon, 18 Nov 2002 20:43:40 +0000 (20:43 +0000)
commit8128cccfcf38a5b55f4f2a9fce020609fe997c09
tree3d1d5d6ac428187c5574b5b150f66ff68b5f2568
parent951992020587ab735079e9c4d8706a16ffeba84f
re PR preprocessor/8524 (_Pragma within macros is improperly expanded)

PR preprocessor/8524
* cpplib.c (run_directive): Remove previous kludge to _Pragma.
Add a new one in its place, which hopefully works.
(skip_rest_of_line): Change test for bottom-of-context-stack.
testsuite:
* gcc.dg/cpp/_Pragma5.c: New test.

From-SVN: r59232
gcc/ChangeLog
gcc/cpplib.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/_Pragma5.c [new file with mode: 0644]