public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/59790] New: Inner template class specialization has no direct access to outer template class typedefs
@ 2014-01-13 16:04 blaffablaffa at gmail dot com
  2014-01-13 16:05 ` [Bug c++/59790] " blaffablaffa at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: blaffablaffa at gmail dot com @ 2014-01-13 16:04 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59790

            Bug ID: 59790
           Summary: Inner template class specialization has no direct
                    access to outer template class typedefs
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: blaffablaffa at gmail dot com

See the attached testcase, Compile simply with `g++ -c test.cpp`. The code
compiles with the latest clang.


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

* [Bug c++/59790] Inner template class specialization has no direct access to outer template class typedefs
  2014-01-13 16:04 [Bug c++/59790] New: Inner template class specialization has no direct access to outer template class typedefs blaffablaffa at gmail dot com
@ 2014-01-13 16:05 ` blaffablaffa at gmail dot com
  2014-12-14  0:51 ` ville.voutilainen at gmail dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: blaffablaffa at gmail dot com @ 2014-01-13 16:05 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59790

Lorenzo Pistone <blaffablaffa at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |blaffablaffa at gmail dot com

--- Comment #1 from Lorenzo Pistone <blaffablaffa at gmail dot com> ---
Created attachment 31822
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31822&action=edit
test case


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

* [Bug c++/59790] Inner template class specialization has no direct access to outer template class typedefs
  2014-01-13 16:04 [Bug c++/59790] New: Inner template class specialization has no direct access to outer template class typedefs blaffablaffa at gmail dot com
  2014-01-13 16:05 ` [Bug c++/59790] " blaffablaffa at gmail dot com
@ 2014-12-14  0:51 ` ville.voutilainen at gmail dot com
  2021-08-04 20:48 ` pinskia at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: ville.voutilainen at gmail dot com @ 2014-12-14  0:51 UTC (permalink / raw)
  To: gcc-bugs

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

Ville Voutilainen <ville.voutilainen at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-12-14
                 CC|                            |ville.voutilainen at gmail dot com
     Ever confirmed|0                           |1
      Known to fail|                            |4.8.2, 4.9.1, 5.0


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

* [Bug c++/59790] Inner template class specialization has no direct access to outer template class typedefs
  2014-01-13 16:04 [Bug c++/59790] New: Inner template class specialization has no direct access to outer template class typedefs blaffablaffa at gmail dot com
  2014-01-13 16:05 ` [Bug c++/59790] " blaffablaffa at gmail dot com
  2014-12-14  0:51 ` ville.voutilainen at gmail dot com
@ 2021-08-04 20:48 ` pinskia at gcc dot gnu.org
  2021-08-04 20:51 ` pinskia at gcc dot gnu.org
  2021-08-05 11:18 ` redi at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-04 20:48 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|http://stackoverflow.com/q/ |
                   |21095333/1073006            |

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
http://stackoverflow.com/q/21095333/1073006

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

* [Bug c++/59790] Inner template class specialization has no direct access to outer template class typedefs
  2014-01-13 16:04 [Bug c++/59790] New: Inner template class specialization has no direct access to outer template class typedefs blaffablaffa at gmail dot com
                   ` (2 preceding siblings ...)
  2021-08-04 20:48 ` pinskia at gcc dot gnu.org
@ 2021-08-04 20:51 ` pinskia at gcc dot gnu.org
  2021-08-05 11:18 ` redi at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-04 20:51 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |7.1.0, 7.5.0, 8.1.0
      Known to work|                            |10.1.0, 8.2.0, 8.5.0, 9.1.0
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
   Target Milestone|---                         |8.2

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed in GCC 8.2 and 9+.

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

* [Bug c++/59790] Inner template class specialization has no direct access to outer template class typedefs
  2014-01-13 16:04 [Bug c++/59790] New: Inner template class specialization has no direct access to outer template class typedefs blaffablaffa at gmail dot com
                   ` (3 preceding siblings ...)
  2021-08-04 20:51 ` pinskia at gcc dot gnu.org
@ 2021-08-05 11:18 ` redi at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: redi at gcc dot gnu.org @ 2021-08-05 11:18 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed by r262637 and r262639

    [PR c++/86374] Name lookup failure in enclosing template

    https://gcc.gnu.org/ml/gcc-patches/2018-07/msg00701.html
            PR c++/86374
            * pt.c (lookup_template_class_1): Use tsubst_aggr_type for
            contexts that are classes.

            PR c++/86374
            * g++.dg/pr86374.C: New.

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

end of thread, other threads:[~2021-08-05 11:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-13 16:04 [Bug c++/59790] New: Inner template class specialization has no direct access to outer template class typedefs blaffablaffa at gmail dot com
2014-01-13 16:05 ` [Bug c++/59790] " blaffablaffa at gmail dot com
2014-12-14  0:51 ` ville.voutilainen at gmail dot com
2021-08-04 20:48 ` pinskia at gcc dot gnu.org
2021-08-04 20:51 ` pinskia at gcc dot gnu.org
2021-08-05 11:18 ` redi 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).