aboutsummaryrefslogtreecommitdiff
path: root/4.7.3
diff options
context:
space:
mode:
authorRyan Hill <rhill@gentoo.org>2013-05-15 00:28:07 +0000
committerRyan Hill <rhill@gentoo.org>2013-05-15 00:28:07 +0000
commitecc32f1e12dacfa3cec6ff0b04138b2938952795 (patch)
tree96d695eba5d2fa5db635a4b88ed3f73524c6ba22 /4.7.3
parentPatch for bug #465894. (diff)
downloadgcc-patches-ecc32f1e12dacfa3cec6ff0b04138b2938952795.tar.gz
gcc-patches-ecc32f1e12dacfa3cec6ff0b04138b2938952795.tar.bz2
gcc-patches-ecc32f1e12dacfa3cec6ff0b04138b2938952795.zip
Add patch for bug #443092.
Diffstat (limited to '4.7.3')
-rw-r--r--4.7.3/gentoo/96_all_4.7.4_PR57269-ICE-gconv_open.patch47
-rw-r--r--4.7.3/gentoo/README.history3
2 files changed, 49 insertions, 1 deletions
diff --git a/4.7.3/gentoo/96_all_4.7.4_PR57269-ICE-gconv_open.patch b/4.7.3/gentoo/96_all_4.7.4_PR57269-ICE-gconv_open.patch
new file mode 100644
index 0000000..b1a83ec
--- /dev/null
+++ b/4.7.3/gentoo/96_all_4.7.4_PR57269-ICE-gconv_open.patch
@@ -0,0 +1,47 @@
+sys-devel/gcc-4.7.3 ICE with --coverage -fprofile-use in gcov_open, at gcov-io.c:82
+
+https://bugs.gentoo.org/443092
+http://gcc.gnu.org/PR57269
+
+commit fe1300db054c1fd773cd7ea4491912902d4301c1
+Author: rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Tue May 14 10:49:28 2013 +0000
+
+ 2013-05-14 Richard Biener <rguenther@suse.de>
+
+ PR gcov-profile/57269
+ Backport from mainline
+ 2012-06-30 Nathan Sidwell <nathan@acm.org>
+
+ * coverage.c (coverage_init): Read counts file before writing
+ graph header.
+
+
+ git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@198875 138bc75d-0d04-0410-961f-82ee72b054a4
+---
+ gcc/ChangeLog | 9 +++++++++
+ gcc/coverage.c | 6 +++---
+ 2 files changed, 12 insertions(+), 3 deletions(-)
+
+--- a/gcc/coverage.c
++++ b/gcc/coverage.c
+@@ -1099,6 +1099,9 @@ coverage_init (const char *filename)
+ memcpy (da_file_name + prefix_len, filename, len);
+ strcpy (da_file_name + prefix_len + len, GCOV_DATA_SUFFIX);
+
++ if (flag_branch_probabilities)
++ read_counts_file ();
++
+ /* Name of bbg file. */
+ if (flag_test_coverage && !flag_compare_debug)
+ {
+@@ -1118,9 +1121,6 @@ coverage_init (const char *filename)
+ gcov_write_unsigned (local_tick);
+ }
+ }
+-
+- if (flag_branch_probabilities)
+- read_counts_file ();
+ }
+
+ /* Performs file-level cleanup. Close graph file, generate coverage
diff --git a/4.7.3/gentoo/README.history b/4.7.3/gentoo/README.history
index 83919d9..877f3c8 100644
--- a/4.7.3/gentoo/README.history
+++ b/4.7.3/gentoo/README.history
@@ -1,4 +1,4 @@
-1.0 (pending)
+1.0 14 May 2013
+ 10_all_default-fortify-source.patch
+ 11_all_default-warn-format-security.patch
+ 12_all_default-warn-trampolines.patch
@@ -25,3 +25,4 @@
+ 90_all_gcc-4.7-x32.patch
+ 92_all_freebsd-pie.patch
+ 95_all_4.7.4_mxop-wrong-code.patch
+ + 96_all_4.7.4_PR57269-ICE-gconv_open.patch