diff options
author | doko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca> | 2014-05-18 21:28:13 +0000 |
---|---|---|
committer | doko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca> | 2014-05-18 21:28:13 +0000 |
commit | 273571fc2ba61df3c6b4426decc17d95a84750bd (patch) | |
tree | 25245f2a36e9f311f6f6e70c3f277d7fd77c38d2 /debian/patches/pr57653.diff | |
parent | f8d72132405cbeaf2917a81991ad350e86e48a5a (diff) | |
download | gcc-48-273571fc2ba61df3c6b4426decc17d95a84750bd.tar.gz |
* Apply the proposed patch for PR c/57653. Closes: #734345.
* Run some test cases explicity with -fno-stack-protector which fail
with -fstack-protector.
git-svn-id: svn://svn.debian.org/svn/gcccvs/branches/sid/gcc-4.8@7386 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
Diffstat (limited to 'debian/patches/pr57653.diff')
-rw-r--r-- | debian/patches/pr57653.diff | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/pr57653.diff b/debian/patches/pr57653.diff new file mode 100644 index 0000000..0d368f4 --- /dev/null +++ b/debian/patches/pr57653.diff @@ -0,0 +1,17 @@ +# DP: Proposed patch for PR c/57653. + +Index: b/src/gcc/c-family/c-opts.c +=================================================================== +--- a/src/gcc/c-family/c-opts.c ++++ b/src/gcc/c-family/c-opts.c +@@ -1347,6 +1347,10 @@ + 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; |