summaryrefslogtreecommitdiff
path: root/cross/cross-gcc/gcc-4.8-filename-output.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-03-15 14:37:02 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-03-15 14:37:02 -0300
commit0565562365011b28f525926fac9d2d778cb59b49 (patch)
tree3bd7c0bc18ebbe8a6525fb7f2260148fbfa25d35 /cross/cross-gcc/gcc-4.8-filename-output.patch
parentc4608e558f507b3eb2b6f978d7cb4d4af0a8535d (diff)
parent57cf5c66d9925260929ed385a10d09bc8bd87fc3 (diff)
downloadabslibre-0565562365011b28f525926fac9d2d778cb59b49.tar.gz
abslibre-0565562365011b28f525926fac9d2d778cb59b49.tar.bz2
abslibre-0565562365011b28f525926fac9d2d778cb59b49.zip
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'cross/cross-gcc/gcc-4.8-filename-output.patch')
-rw-r--r--cross/cross-gcc/gcc-4.8-filename-output.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/cross/cross-gcc/gcc-4.8-filename-output.patch b/cross/cross-gcc/gcc-4.8-filename-output.patch
new file mode 100644
index 000000000..6951eb239
--- /dev/null
+++ b/cross/cross-gcc/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)
+ {