~ubuntu-branches/debian/sid/gcc-4.8/sid

« back to all changes in this revision

Viewing changes to .svn/pristine/55/5533e9c674a1aeedcab135d2d1842e9bc77da152.svn-base

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2014-12-19 19:48:34 UTC
  • Revision ID: package-import@ubuntu.com-20141219194834-4dz1q7rrn5pad823
Tags: 4.8.4-1
* GCC 4.8.4 release.
  - Fix PR target/61407 (darwin), PR middle-end/58624 (ice),
    PR sanitizer/64265 (wrong code).
* Require recent binutils to pass go test failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# DP: Proposed patch for PR c/57653.
 
2
 
 
3
Index: b/src/gcc/c-family/c-opts.c
 
4
===================================================================
 
5
--- a/src/gcc/c-family/c-opts.c
 
6
+++ b/src/gcc/c-family/c-opts.c
 
7
@@ -1347,6 +1347,10 @@
 
8
 static void
 
9
 push_command_line_include (void)
 
10
 {
 
11
+  // This can happen if disabled by -imacros for example.
 
12
+  if (include_cursor > deferred_count)
 
13
+    return;
 
14
+
 
15
   if (!done_preinclude)
 
16
     {
 
17
       done_preinclude = true;