public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/autopar_devel] Fix use of inaccessible member in pr85503.C [PR95716]
@ 2020-08-22 22:44 Giuliano Belinassi
  0 siblings, 0 replies; only message in thread
From: Giuliano Belinassi @ 2020-08-22 22:44 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:a80326ed832536739b0ad2621702b538bb1b64fe

commit a80326ed832536739b0ad2621702b538bb1b64fe
Author: Patrick Palka <ppalka@redhat.com>
Date:   Wed Jun 17 09:09:53 2020 -0400

    Fix use of inaccessible member in pr85503.C [PR95716]
    
    The recent PR41437 fix exposed a latent use of an inaccessible member in
    the below testcase.
    
    gcc/testsuite/ChangeLog:
    
            PR testsuite/95716
            * g++.dg/ext/pr85503.C: Give ai::cv public access.

Diff:
---
 gcc/testsuite/g++.dg/ext/pr85503.C | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/testsuite/g++.dg/ext/pr85503.C b/gcc/testsuite/g++.dg/ext/pr85503.C
index 7e17943e353..832952a8774 100644
--- a/gcc/testsuite/g++.dg/ext/pr85503.C
+++ b/gcc/testsuite/g++.dg/ext/pr85503.C
@@ -138,6 +138,7 @@ struct ad< ai< cr, ag, ah, cu, ct, cw > > {
 };
 template < typename, int ag, int ah, int, int, int >
 class ai : public af< ai< double, ag, ah > > {
+public:
   typedef ai cv;
 };
 template < typename bk, typename ce, typename cf >


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-22 22:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-22 22:44 [gcc/devel/autopar_devel] Fix use of inaccessible member in pr85503.C [PR95716] Giuliano Belinassi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).