blob: 1d4ef09b5b779fc113dddc0780c63b10f9c113c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
From dd8cc468e2787972742061b1547dbab48729ccf8 Mon Sep 17 00:00:00 2001
From: rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Tue, 19 Apr 2011 09:14:05 +0000
Subject: [PATCH 147/200] 2011-04-18 Richard Guenther <rguenther@suse.de>
PR preprocessor/48248
* c-ppoutput.c (maybe_print_line): Avoid changing -P behavior.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@172701 138bc75d-0d04-0410-961f-82ee72b054a4
index 9ebac42..5eca03f 100644
--- a/gcc/c-family/c-ppoutput.c
+++ b/gcc/c-family/c-ppoutput.c
@@ -316,7 +316,7 @@ maybe_print_line (source_location src_loc)
if (src_line >= print.src_line
&& src_line < print.src_line + 8
- && strcmp (map->to_file, print.src_file) == 0)
+ && (flag_no_line_commands || strcmp (map->to_file, print.src_file) == 0))
{
while (src_line > print.src_line)
{
--
1.7.0.4
|