public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/70413] Class template names in anonymous namespaces are not globally unique
       [not found] <bug-70413-4@http.gcc.gnu.org/bugzilla/>
@ 2021-08-06 10:32 ` redi at gcc dot gnu.org
  2022-12-29  3:07 ` pinskia at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: redi at gcc dot gnu.org @ 2021-08-06 10:32 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70413

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|https://gcc.gnu.org/bugzill |
                   |a/show_bug.cgi?id=101695    |
                 CC|                            |tom_maly at volny dot cz

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
*** Bug 101695 has been marked as a duplicate of this bug. ***

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/70413] Class template names in anonymous namespaces are not globally unique
       [not found] <bug-70413-4@http.gcc.gnu.org/bugzilla/>
  2021-08-06 10:32 ` [Bug c++/70413] Class template names in anonymous namespaces are not globally unique redi at gcc dot gnu.org
@ 2022-12-29  3:07 ` pinskia at gcc dot gnu.org
  2023-09-15 14:17 ` ppalka at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-12-29  3:07 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70413

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |herring at lanl dot gov

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 107906 has been marked as a duplicate of this bug. ***

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/70413] Class template names in anonymous namespaces are not globally unique
       [not found] <bug-70413-4@http.gcc.gnu.org/bugzilla/>
  2021-08-06 10:32 ` [Bug c++/70413] Class template names in anonymous namespaces are not globally unique redi at gcc dot gnu.org
  2022-12-29  3:07 ` pinskia at gcc dot gnu.org
@ 2023-09-15 14:17 ` ppalka at gcc dot gnu.org
  2023-09-15 14:18 ` ppalka at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: ppalka at gcc dot gnu.org @ 2023-09-15 14:17 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70413

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |brunopitrus at hotmail dot com

--- Comment #7 from Patrick Palka <ppalka at gcc dot gnu.org> ---
*** Bug 111423 has been marked as a duplicate of this bug. ***

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/70413] Class template names in anonymous namespaces are not globally unique
       [not found] <bug-70413-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2023-09-15 14:17 ` ppalka at gcc dot gnu.org
@ 2023-09-15 14:18 ` ppalka at gcc dot gnu.org
  2023-12-21 18:53 ` cvs-commit at gcc dot gnu.org
  2023-12-21 18:58 ` ppalka at gcc dot gnu.org
  5 siblings, 0 replies; 6+ messages in thread
From: ppalka at gcc dot gnu.org @ 2023-09-15 14:18 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70413

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |ppalka at gcc dot gnu.org
                 CC|                            |ppalka at gcc dot gnu.org

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/70413] Class template names in anonymous namespaces are not globally unique
       [not found] <bug-70413-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2023-09-15 14:18 ` ppalka at gcc dot gnu.org
@ 2023-12-21 18:53 ` cvs-commit at gcc dot gnu.org
  2023-12-21 18:58 ` ppalka at gcc dot gnu.org
  5 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-12-21 18:53 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70413

--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Patrick Palka <ppalka@gcc.gnu.org>:

https://gcc.gnu.org/g:7226f825db049517b64442a40a6387513febb8f9

commit r14-6789-g7226f825db049517b64442a40a6387513febb8f9
Author: Patrick Palka <ppalka@redhat.com>
Date:   Thu Dec 21 13:53:43 2023 -0500

    c++: visibility wrt template and ptrmem targs [PR70413]

    When constraining the visibility of an instantiation, we weren't
    properly considering the visibility of PTRMEM_CST and TEMPLATE_DECL
    template arguments.

    This patch fixes this.  It turns out we don't maintain the relevant
    visibility flags for alias templates (e.g. TREE_PUBLIC is never set),
    so continue to ignore alias template template arguments for now.

            PR c++/70413
            PR c++/107906

    gcc/cp/ChangeLog:

            * decl2.cc (min_vis_expr_r): Handle PTRMEM_CST and TEMPLATE_DECL
            other than those for alias templates.

    gcc/testsuite/ChangeLog:

            * g++.dg/template/linkage2.C: New test.
            * g++.dg/template/linkage3.C: New test.
            * g++.dg/template/linkage4.C: New test.
            * g++.dg/template/linkage4a.C: New test.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/70413] Class template names in anonymous namespaces are not globally unique
       [not found] <bug-70413-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2023-12-21 18:53 ` cvs-commit at gcc dot gnu.org
@ 2023-12-21 18:58 ` ppalka at gcc dot gnu.org
  5 siblings, 0 replies; 6+ messages in thread
From: ppalka at gcc dot gnu.org @ 2023-12-21 18:58 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70413

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |14.0
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #9 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Fixed for GCC 14 (other than the alias template template argument case which
PR107906 tracks).

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-12-21 18:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-70413-4@http.gcc.gnu.org/bugzilla/>
2021-08-06 10:32 ` [Bug c++/70413] Class template names in anonymous namespaces are not globally unique redi at gcc dot gnu.org
2022-12-29  3:07 ` pinskia at gcc dot gnu.org
2023-09-15 14:17 ` ppalka at gcc dot gnu.org
2023-09-15 14:18 ` ppalka at gcc dot gnu.org
2023-12-21 18:53 ` cvs-commit at gcc dot gnu.org
2023-12-21 18:58 ` ppalka at gcc dot gnu.org

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).