Magellan Linux

Contents of /trunk/gcc/patches/gcc-4.8-filename-output.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2434 - (show annotations) (download)
Tue May 13 11:12:43 2014 UTC (9 years, 11 months ago) by niro
File size: 503 byte(s)
-added some fixes for gcc-4.9
1 --- gcc/c-family/c-opts.c (revision 200330)
2 +++ gcc/c-family/c-opts.c (working copy)
3 @@ -1338,10 +1338,14 @@ c_finish_options (void)
4
5 /* Give CPP the next file given by -include, if any. */
6 static void
7 push_command_line_include (void)
8 {
9 + // This can happen if disabled by -imacros for example.
10 + if (include_cursor > deferred_count)
11 + return;
12 +
13 if (!done_preinclude)
14 {
15 done_preinclude = true;
16 if (flag_hosted && std_inc && !cpp_opts->preprocessed)
17 {