summaryrefslogtreecommitdiff
path: root/core/gcc/gcc-4.8-filename-output.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-03 02:14:34 -0700
committerroot <root@rshg054.dnsready.net>2013-08-03 02:14:34 -0700
commite191a289464c21aafe7478065ea7ed3ddda0766f (patch)
tree33e61960f3a6260338d4d696605b4ddee3014804 /core/gcc/gcc-4.8-filename-output.patch
parentf7cd2a0a073da2373cd3f3c8e31515dd0b83b645 (diff)
Sat Aug 3 02:13:05 PDT 2013
Diffstat (limited to 'core/gcc/gcc-4.8-filename-output.patch')
-rw-r--r--core/gcc/gcc-4.8-filename-output.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/core/gcc/gcc-4.8-filename-output.patch b/core/gcc/gcc-4.8-filename-output.patch
new file mode 100644
index 000000000..6951eb239
--- /dev/null
+++ b/core/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)
+ {