From b09f8e71d33861a3901aa73954ecc2bd1aef5601 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?coadde=20=5BM=C3=A1rcio=20Alexandre=20Silva=20Delgado=5D?= Date: Sun, 30 Nov 2014 14:22:22 -0200 Subject: update cross-gcc --- cross/cross-gcc/gcc-4.8-filename-output.patch | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'cross/cross-gcc/gcc-4.8-filename-output.patch') diff --git a/cross/cross-gcc/gcc-4.8-filename-output.patch b/cross/cross-gcc/gcc-4.8-filename-output.patch index 6951eb239..7c2ee0aa5 100644 --- a/cross/cross-gcc/gcc-4.8-filename-output.patch +++ b/cross/cross-gcc/gcc-4.8-filename-output.patch @@ -1,17 +1,17 @@ ---- gcc/c-family/c-opts.c (revision 200330) -+++ gcc/c-family/c-opts.c (working copy) -@@ -1338,10 +1338,14 @@ c_finish_options (void) - - /* Give CPP the next file given by -include, if any. */ +diff --git a/gcc/c-family/c-opts.c b/gcc/c-family/c-opts.c +index 968b703..3f8e6e6 100644 +--- a/gcc/c-family/c-opts.c ++++ b/gcc/c-family/c-opts.c +@@ -1438,6 +1438,12 @@ c_finish_options (void) static void push_command_line_include (void) { -+ // This can happen if disabled by -imacros for example. ++ /* This can happen if disabled by -imacros for example. ++ Punt so that we don't set "" as the filename for ++ the header. */ + if (include_cursor > deferred_count) + return; + if (!done_preinclude) { done_preinclude = true; - if (flag_hosted && std_inc && !cpp_opts->preprocessed) - { -- cgit v1.2.3-2-g168b