diff options
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0147-2011-04-18-Richard-Guenther-rguenther-suse.de.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0147-2011-04-18-Richard-Guenther-rguenther-suse.de.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0147-2011-04-18-Richard-Guenther-rguenther-suse.de.patch b/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0147-2011-04-18-Richard-Guenther-rguenther-suse.de.patch new file mode 100644 index 000000000..1d4ef09b5 --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0147-2011-04-18-Richard-Guenther-rguenther-suse.de.patch @@ -0,0 +1,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 + |