[arch-commits] Commit in gcc7/trunk (PKGBUILD bz84080.patch)
Sven-Hendrik Haase
svenstaro at archlinux.org
Wed May 30 15:56:46 UTC 2018
Date: Wednesday, May 30, 2018 @ 15:56:46
Author: svenstaro
Revision: 333455
upgpkg: gcc7 7.3.1+20180406-1
Remove groups
Added:
gcc7/trunk/bz84080.patch
Modified:
gcc7/trunk/PKGBUILD
---------------+
PKGBUILD | 4 +---
bz84080.patch | 27 +++++++++++++++++++++++++++
2 files changed, 28 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-30 15:56:26 UTC (rev 333454)
+++ PKGBUILD 2018-05-30 15:56:46 UTC (rev 333455)
@@ -8,7 +8,7 @@
pkgname=(gcc7 gcc7-libs)
pkgver=7.3.1+20180406
-_pkgver=7
+_pkgver=8
_majorver=${pkgver:0:1}
_islver=0.18
pkgrel=1
@@ -128,7 +128,6 @@
package_gcc7-libs() {
pkgdesc='Runtime libraries shipped by GCC (7.x.x)'
- groups=(base)
depends=('glibc>=2.27')
options+=(!strip)
@@ -159,7 +158,6 @@
package_gcc7() {
pkgdesc="The GNU Compiler Collection - C and C++ frontends (7.x.x)"
depends=("gcc7-libs=$pkgver-$pkgrel" 'binutils>=2.28' libmpc)
- groups=('base-devel')
options+=(staticlibs)
cd gcc-build
Added: bz84080.patch
===================================================================
--- bz84080.patch (rev 0)
+++ bz84080.patch 2018-05-30 15:56:46 UTC (rev 333455)
@@ -0,0 +1,27 @@
+Index: gcc/testsuite/g++.dg/cpp1y/auto-fn47.C
+===================================================================
+--- gcc/testsuite/g++.dg/cpp1y/auto-fn47.C (nonexistent)
++++ gcc/testsuite/g++.dg/cpp1y/auto-fn47.C (revision 257630)
+@@ -0,0 +1,6 @@
++// PR c++/84080
++// { dg-do compile { target c++14 } }
++
++template <int i, typename T> T foo();
++
++template <> auto foo<0>() { return 42; } // { dg-error "does not match" }
+Index: gcc/cp/pt.c
+===================================================================
+--- gcc/cp/pt.c (revision 257629)
++++ gcc/cp/pt.c (revision 257630)
+@@ -2203,6 +2203,11 @@
+ specialize TMPL will produce DECL. */
+ continue;
+
++ if (uses_template_parms (targs))
++ /* We deduced something involving 'auto', which isn't a valid
++ template argument. */
++ continue;
++
+ /* Remove, from the set of candidates, all those functions
+ whose constraints are not satisfied. */
+ if (flag_concepts && !constraints_satisfied_p (fn, targs))
More information about the arch-commits
mailing list