public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/82947] Variadic `using` directive incorrectly compiled without base classes (with class template argument deduction)
       [not found] <bug-82947-4@http.gcc.gnu.org/bugzilla/>
@ 2021-08-23  0:45 ` pinskia at gcc dot gnu.org
  2021-08-23  0:50 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-23  0:45 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
In GCC 11+ we get:
<source>: In instantiation of 'struct foo<main()::<lambda()> >':
<source>:16:19:   required from here
<source>:8:29: error: type 'main()::<lambda()>' is not a base type for type
'foo<main()::<lambda()> >'
    8 |         using Ts::operator()...;
      |                             ^~~

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

* [Bug c++/82947] Variadic `using` directive incorrectly compiled without base classes (with class template argument deduction)
       [not found] <bug-82947-4@http.gcc.gnu.org/bugzilla/>
  2021-08-23  0:45 ` [Bug c++/82947] Variadic `using` directive incorrectly compiled without base classes (with class template argument deduction) pinskia at gcc dot gnu.org
@ 2021-08-23  0:50 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-23  0:50 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |11.0
           Keywords|                            |accepts-invalid
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This was fixed in GCC 11+, most likely by r11-6942.

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

end of thread, other threads:[~2021-08-23  0:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-82947-4@http.gcc.gnu.org/bugzilla/>
2021-08-23  0:45 ` [Bug c++/82947] Variadic `using` directive incorrectly compiled without base classes (with class template argument deduction) pinskia at gcc dot gnu.org
2021-08-23  0:50 ` pinskia 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).