summarylogtreecommitdiffstats
path: root/gcc-4.8-filename-output.patch
diff options
context:
space:
mode:
authorFelix Schindler2015-06-20 13:47:39 +0200
committerFelix Schindler2015-06-20 13:49:04 +0200
commit2a2454342d837e35169de782bc393ab4d26497fd (patch)
treefe236cc6ae8091d0f69b7b1bdf6958c36e312e91 /gcc-4.8-filename-output.patch
downloadaur-2a2454342d837e35169de782bc393ab4d26497fd.tar.gz
add state of https://github.com/ftalbrecht/aur, rev. 84761b9
Diffstat (limited to 'gcc-4.8-filename-output.patch')
-rw-r--r--gcc-4.8-filename-output.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc-4.8-filename-output.patch b/gcc-4.8-filename-output.patch
new file mode 100644
index 000000000000..6951eb239b77
--- /dev/null
+++ b/gcc-4.8-filename-output.patch
@@ -0,0 +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. */
+ static void
+ push_command_line_include (void)
+ {
++ // This can happen if disabled by -imacros for example.
++ if (include_cursor > deferred_count)
++ return;
++
+ if (!done_preinclude)
+ {
+ done_preinclude = true;
+ if (flag_hosted && std_inc && !cpp_opts->preprocessed)
+ {