diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-11-30 14:22:22 -0200 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-11-30 14:22:22 -0200 |
commit | b09f8e71d33861a3901aa73954ecc2bd1aef5601 (patch) | |
tree | 8fbaddc6f397e580db8a567f2bbfd34a1e61062d /cross/cross-gcc/gcc-4.8-filename-output.patch | |
parent | 9554a932e9bba6a400e2eb6f84c4018898a7aa5d (diff) |
update cross-gcc
Diffstat (limited to 'cross/cross-gcc/gcc-4.8-filename-output.patch')
-rw-r--r-- | cross/cross-gcc/gcc-4.8-filename-output.patch | 16 |
1 files changed, 8 insertions, 8 deletions
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 "<command-line>" 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) - { |