gcc: import upstream patch for bug 90756.

This commit is contained in:
Johannes 2019-07-11 09:39:21 +02:00 committed by Johannes
parent 1eb69193d6
commit 24f6d9250e
2 changed files with 24 additions and 1 deletions

View file

@ -0,0 +1,23 @@
Bug 90756 - [7/8/9 Regression] g++ ICE in convert_move, at expr.c:218 on i686 and s390x
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90756
--- gcc/explow.c 2019/07/04 02:39:58 273035
+++ gcc/explow.c 2019/07/04 04:49:22 273036
@@ -892,16 +892,7 @@
tree type = TREE_TYPE (name);
int unsignedp = TYPE_UNSIGNED (type);
- machine_mode mode = TYPE_MODE (type);
-
- /* Bypass TYPE_MODE when it maps vector modes to BLKmode. */
- if (mode == BLKmode)
- {
- gcc_assert (VECTOR_TYPE_P (type));
- mode = type->type_common.mode;
- }
-
- machine_mode pmode = promote_mode (type, mode, &unsignedp);
+ machine_mode pmode = promote_mode (type, TYPE_MODE (type), &unsignedp);
if (punsignedp)
*punsignedp = unsignedp;

View file

@ -8,7 +8,7 @@ _isl_version=0.19
pkgname=gcc
version=${_minorver}.0
revision=2
revision=3
short_desc="GNU Compiler Collection"
maintainer="Juan RP <xtraeme@voidlinux.org>"
homepage="http://gcc.gnu.org"