diff options
Diffstat (limited to 'gcc/cpplib.c')
-rw-r--r-- | gcc/cpplib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cpplib.c b/gcc/cpplib.c index 738b1ba..1a9c483 100644 --- a/gcc/cpplib.c +++ b/gcc/cpplib.c @@ -743,7 +743,7 @@ do_line (pfile) if (read_line_number (pfile, &action_number) != 0) { - if (CPP_PEDANTIC (pfile)) + if (! CPP_OPTION (pfile, preprocessed) && CPP_PEDANTIC (pfile)) cpp_pedwarn (pfile, "extra tokens at end of #line directive"); if (action_number == 1) |