aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <stephen.arnold42@gmail.com>2016-07-15 16:26:32 -0700
committerSteve Arnold <stephen.arnold42@gmail.com>2016-07-15 16:26:32 -0700
commitb69d2389bec3115f0b309240579cc030396093fd (patch)
tree7b75b7244eefa693e7589a45e00bac7185620d3a /sys-devel
parentdev-lang/perl: update patches (diff)
downloadarm-b69d2389bec3115f0b309240579cc030396093fd.tar.gz
arm-b69d2389bec3115f0b309240579cc030396093fd.tar.bz2
arm-b69d2389bec3115f0b309240579cc030396093fd.zip
sys-devel/gcc: added patch for upstream regression (Bug ipa/63270)
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/gcc/files/5.3.0/gcc-5.3.0-fix-internal-compiler-error-in-odr_types_equivalent_p.patch11
-rw-r--r--sys-devel/gcc/gcc-5.3.0.ebuild3
2 files changed, 14 insertions, 0 deletions
diff --git a/sys-devel/gcc/files/5.3.0/gcc-5.3.0-fix-internal-compiler-error-in-odr_types_equivalent_p.patch b/sys-devel/gcc/files/5.3.0/gcc-5.3.0-fix-internal-compiler-error-in-odr_types_equivalent_p.patch
new file mode 100644
index 0000000..9c96265
--- /dev/null
+++ b/sys-devel/gcc/files/5.3.0/gcc-5.3.0-fix-internal-compiler-error-in-odr_types_equivalent_p.patch
@@ -0,0 +1,11 @@
+--- ./gcc/ipa-devirt.c.orig 2016-05-11 00:08:06.727365785 -0700
++++ ./gcc/ipa-devirt.c 2016-05-11 00:09:10.102695080 -0700
+@@ -1535,7 +1535,7 @@
+ }
+ break;
+ }
+- case VOID_TYPE:
++ case NULLPTR_TYPE:
+ break;
+
+ default:
diff --git a/sys-devel/gcc/gcc-5.3.0.ebuild b/sys-devel/gcc/gcc-5.3.0.ebuild
index 5f39374..e93abcd 100644
--- a/sys-devel/gcc/gcc-5.3.0.ebuild
+++ b/sys-devel/gcc/gcc-5.3.0.ebuild
@@ -52,5 +52,8 @@ src_prepare() {
epatch "${FILESDIR}"/${PV}/${P}-fix-lto-bigendian.patch \
"${FILESDIR}"/${PV}/${P}-save_require_frame-pointer_when_stack_misaligned.patch
+ # upstream bug #65948
+ epatch "${FILESDIR}"/${PV}/${P}-fix-internal-compiler-error-in-odr_types_equivalent_p.patch
+
toolchain_src_prepare
}