mirror of
git://slackware.nl/current.git
synced 2024-12-28 09:59:53 +01:00
bd0fcc79d4
a/dialog-1.3_20210530-x86_64-1.txz: Upgraded. a/grub-2.06-x86_64-1.txz: Upgraded. a/kernel-firmware-20210609_0f66b74-noarch-1.txz: Upgraded. d/gcc-10.3.0-x86_64-2.txz: Rebuilt. Applied upstream patches to address the regressions noted in PR100101 and PR100102. Thanks to eduardr. d/gcc-brig-10.3.0-x86_64-2.txz: Rebuilt. d/gcc-g++-10.3.0-x86_64-2.txz: Rebuilt. d/gcc-gdc-10.3.0-x86_64-2.txz: Rebuilt. d/gcc-gfortran-10.3.0-x86_64-2.txz: Rebuilt. d/gcc-gnat-10.3.0-x86_64-2.txz: Rebuilt. d/gcc-go-10.3.0-x86_64-2.txz: Rebuilt. d/gcc-objc-10.3.0-x86_64-2.txz: Rebuilt. d/meson-0.58.1-x86_64-1.txz: Upgraded. kde/bluedevil-5.22.0-x86_64-1.txz: Upgraded. kde/breeze-5.22.0-x86_64-1.txz: Upgraded. kde/breeze-grub-5.22.0-x86_64-1.txz: Upgraded. kde/breeze-gtk-5.22.0-x86_64-1.txz: Upgraded. kde/drkonqi-5.22.0-x86_64-1.txz: Upgraded. kde/kactivitymanagerd-5.22.0-x86_64-1.txz: Upgraded. kde/kde-cli-tools-5.22.0-x86_64-1.txz: Upgraded. kde/kde-gtk-config-5.22.0-x86_64-1.txz: Upgraded. kde/kdecoration-5.22.0-x86_64-1.txz: Upgraded. kde/kdeplasma-addons-5.22.0-x86_64-1.txz: Upgraded. kde/kgamma5-5.22.0-x86_64-1.txz: Upgraded. kde/khotkeys-5.22.0-x86_64-1.txz: Upgraded. kde/kinfocenter-5.22.0-x86_64-1.txz: Upgraded. kde/kmenuedit-5.22.0-x86_64-1.txz: Upgraded. kde/krita-4.4.5-x86_64-1.txz: Upgraded. kde/kscreen-5.22.0-x86_64-1.txz: Upgraded. kde/kscreenlocker-5.22.0-x86_64-1.txz: Upgraded. kde/ksshaskpass-5.22.0-x86_64-1.txz: Upgraded. kde/ksysguard-5.22.0-x86_64-1.txz: Upgraded. kde/ksystemstats-5.22.0-x86_64-1.txz: Added. kde/kwallet-pam-5.22.0-x86_64-1.txz: Upgraded. kde/kwayland-integration-5.22.0-x86_64-1.txz: Upgraded. kde/kwayland-server-5.22.0-x86_64-1.txz: Upgraded. kde/kwin-5.22.0-x86_64-1.txz: Upgraded. kde/kwrited-5.22.0-x86_64-1.txz: Upgraded. kde/latte-dock-0.9.12-x86_64-1.txz: Upgraded. kde/layer-shell-qt-5.22.0-x86_64-1.txz: Added. kde/libkscreen-5.22.0-x86_64-1.txz: Upgraded. kde/libksysguard-5.22.0-x86_64-1.txz: Upgraded. kde/milou-5.22.0-x86_64-1.txz: Upgraded. kde/oxygen-5.22.0-x86_64-1.txz: Upgraded. kde/plasma-browser-integration-5.22.0-x86_64-1.txz: Upgraded. kde/plasma-desktop-5.22.0-x86_64-1.txz: Upgraded. kde/plasma-disks-5.22.0-x86_64-1.txz: Upgraded. kde/plasma-firewall-5.22.0-x86_64-1.txz: Upgraded. kde/plasma-integration-5.22.0-x86_64-1.txz: Upgraded. kde/plasma-nm-5.22.0-x86_64-1.txz: Upgraded. kde/plasma-pa-5.22.0-x86_64-1.txz: Upgraded. kde/plasma-sdk-5.22.0-x86_64-1.txz: Upgraded. kde/plasma-systemmonitor-5.22.0-x86_64-1.txz: Upgraded. kde/plasma-vault-5.22.0-x86_64-1.txz: Upgraded. kde/plasma-workspace-5.22.0-x86_64-1.txz: Upgraded. kde/plasma-workspace-wallpapers-5.22.0-x86_64-1.txz: Upgraded. kde/polkit-kde-agent-1-5.22.0-x86_64-1.txz: Upgraded. kde/powerdevil-5.22.0-x86_64-1.txz: Upgraded. kde/qqc2-breeze-style-5.22.0-x86_64-1.txz: Upgraded. kde/sddm-kcm-5.22.0-x86_64-1.txz: Upgraded. kde/systemsettings-5.22.0-x86_64-1.txz: Upgraded. kde/xdg-desktop-portal-kde-5.22.0-x86_64-1.txz: Upgraded. l/alsa-lib-1.2.5-x86_64-3.txz: Rebuilt. Apply upstream patches to fix device detection. Thanks to USUARIONUEVO. l/libiodbc-3.52.15-x86_64-1.txz: Upgraded. n/sshfs-3.7.2-x86_64-1.txz: Upgraded. n/wpa_supplicant-2.9-x86_64-7.txz: Rebuilt. Support WPA3 and add some more options from the defconfig included in the source to Slackware's config file. Thanks to ArTourter. x/xkeyboard-config-2.33-noarch-1.txz: Upgraded. x/xterm-368-x86_64-1.txz: Upgraded. xfce/xfce4-settings-4.16.2-x86_64-1.txz: Upgraded.
59 lines
1.7 KiB
Diff
59 lines
1.7 KiB
Diff
From a1b3484a8e6c53c8084723e3f1738d402374198e Mon Sep 17 00:00:00 2001
|
|
From: Jason Merrill <jason@redhat.com>
|
|
Date: Mon, 31 May 2021 12:56:34 -0400
|
|
Subject: [PATCH] c++: alias member template [PR100102]
|
|
|
|
Patrick already fixed the primary cause of this bug. But while I was
|
|
looking at this testcase I noticed that with the qualified name k::o we
|
|
ended up with a plain FUNCTION_DECL, whereas without the k:: we got a
|
|
BASELINK. There seems to be no good reason not to return the BASELINK
|
|
in this case as well.
|
|
|
|
PR c++/100102
|
|
|
|
gcc/cp/ChangeLog:
|
|
|
|
* init.c (build_offset_ref): Return the BASELINK for a static
|
|
member function.
|
|
|
|
gcc/testsuite/ChangeLog:
|
|
|
|
* g++.dg/cpp0x/alias-decl-73.C: New test.
|
|
---
|
|
gcc/cp/init.c | 2 +-
|
|
gcc/testsuite/g++.dg/cpp0x/alias-decl-73.C | 9 +++++++++
|
|
2 files changed, 10 insertions(+), 1 deletion(-)
|
|
create mode 100644 gcc/testsuite/g++.dg/cpp0x/alias-decl-73.C
|
|
|
|
diff --git a/gcc/cp/init.c b/gcc/cp/init.c
|
|
index b1123287300..1b161d526f6 100644
|
|
--- a/gcc/cp/init.c
|
|
+++ b/gcc/cp/init.c
|
|
@@ -2214,7 +2214,7 @@ build_offset_ref (tree type, tree member, bool address_p,
|
|
if (!ok)
|
|
return error_mark_node;
|
|
if (DECL_STATIC_FUNCTION_P (t))
|
|
- return t;
|
|
+ return member;
|
|
member = t;
|
|
}
|
|
else
|
|
diff --git a/gcc/testsuite/g++.dg/cpp0x/alias-decl-73.C b/gcc/testsuite/g++.dg/cpp0x/alias-decl-73.C
|
|
new file mode 100644
|
|
index 00000000000..aae778646dc
|
|
--- /dev/null
|
|
+++ b/gcc/testsuite/g++.dg/cpp0x/alias-decl-73.C
|
|
@@ -0,0 +1,9 @@
|
|
+// PR c++/100102
|
|
+// { dg-do compile { target c++11 } }
|
|
+
|
|
+template <bool B1> using a = int;
|
|
+template <class T3, class T4> struct k {
|
|
+ static long o();
|
|
+ template <class T5> using n = a<bool(k::o)>;
|
|
+ n<int> q;
|
|
+};
|
|
--
|
|
2.27.0
|
|
|
|
|