mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 17:17:03 +02:00
gcc: import upstream patch for bug 90756.
This commit is contained in:
parent
1eb69193d6
commit
24f6d9250e
2 changed files with 24 additions and 1 deletions
23
srcpkgs/gcc/patches/bug90756.patch
Normal file
23
srcpkgs/gcc/patches/bug90756.patch
Normal 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;
|
||||
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue