diff options
author | doko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca> | 2014-05-08 12:08:55 +0000 |
---|---|---|
committer | doko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca> | 2014-05-08 12:08:55 +0000 |
commit | f5179fce33403e5a700d1ab7c247d8dcdb4a8974 (patch) | |
tree | e7811720a04e56f555f5c4073cd48ad5b2d9a272 | |
parent | 6bc3f98dd73901c7d8c6c8079e264830aabb2634 (diff) | |
download | gcc-48-f5179fce33403e5a700d1ab7c247d8dcdb4a8974.tar.gz |
* Apply the proposed patch for PR driver/61106. Closes: #747345.
git-svn-id: svn://svn.debian.org/svn/gcccvs/branches/sid/gcc-4.8@7366 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
-rw-r--r-- | debian/changelog | 1 | ||||
-rw-r--r-- | debian/patches/pr61106.diff | 24 | ||||
-rw-r--r-- | debian/rules.patch | 1 |
3 files changed, 26 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index ad7e50e..0ce2733 100644 --- a/debian/changelog +++ b/debian/changelog @@ -13,6 +13,7 @@ gcc-4.8 (4.8.2-22) UNRELEASED; urgency=medium with_deps_on_target_arch_pkgs=yes (Helmit Grohne). Closes: #716795. * Build the gcc-X.Y-base package with with_deps_on_target_arch_pkgs=yes (Helmit Grohne). Closes: #744782. + * Apply the proposed patch for PR driver/61106. Closes: #747345. -- Matthias Klose <doko@debian.org> Mon, 05 May 2014 20:29:25 +0200 diff --git a/debian/patches/pr61106.diff b/debian/patches/pr61106.diff new file mode 100644 index 0000000..fd5dc57 --- /dev/null +++ b/debian/patches/pr61106.diff @@ -0,0 +1,24 @@ +# DP: Proposed patch for PR driver/61106 + +--- a/src/gcc/optc-gen.awk ++++ b/src/gcc/optc-gen.awk +@@ -404,15 +404,17 @@ for (i = 0; i < n_enabledby; i++) { + for (j = 1; j < n_enables; j++) { + opt_var_name = var_name(flags[opt_numbers[thisenable[j]]]); + if (opt_var_name != "") { + condition = "!opts_set->x_" opt_var_name + if (thisenableif[j] != "") { +- condition = condition " && (" thisenableif[j] ")" ++ value = "(" thisenableif[j] ")" ++ } else { ++ value = "value" + } + print " if (" condition ")" + print " handle_generated_option (opts, opts_set," +- print " " opt_enum(thisenable[j]) ", NULL, value," ++ print " " opt_enum(thisenable[j]) ", NULL, " value "," + print " lang_mask, kind, loc, handlers, dc);" + } else { + print "#error " thisenable[j] " does not have a Var() flag" + } + } diff --git a/debian/rules.patch b/debian/rules.patch index a317ae7..13f0d03 100644 --- a/debian/rules.patch +++ b/debian/rules.patch @@ -92,6 +92,7 @@ debian_patches += \ $(if $(with_linaro_branch),pr60034) \ pr60609 \ gcc-rs6000-update \ + pr61106 \ # FIXME: still necessary for cross building the native compiler? # gcc-auto-build \ |