public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/91277] test.cpp:5:55: internal compiler error: in synthesize_implicit_template_parm, at cp/parser.c:41206
       [not found] <bug-91277-4@http.gcc.gnu.org/bugzilla/>
@ 2021-08-04 17:20 ` pinskia at gcc dot gnu.org
  2021-08-08  8:06 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-04 17:20 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |10.0
         Resolution|---                         |FIXED
           Keywords|                            |ice-on-invalid-code
             Status|NEW                         |RESOLVED

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed in GCC 10+
<source>:6:30: error: placeholder type not allowed in this context
    6 | concept  Ohh = requires(T t, Test<typename T::type> sth){
      |                              ^~~~~~~~~~~~~~~~~~~~~~
<source>: In function 'int main(int, char**)':
<source>:25:5: error: 'cout' was not declared in this scope
   25 |     cout << B<A<int>>::value;
      |     ^~~~

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

* [Bug c++/91277] test.cpp:5:55: internal compiler error: in synthesize_implicit_template_parm, at cp/parser.c:41206
       [not found] <bug-91277-4@http.gcc.gnu.org/bugzilla/>
  2021-08-04 17:20 ` [Bug c++/91277] test.cpp:5:55: internal compiler error: in synthesize_implicit_template_parm, at cp/parser.c:41206 pinskia at gcc dot gnu.org
@ 2021-08-08  8:06 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-08  8:06 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |DUPLICATE

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup

*** This bug has been marked as a duplicate of bug 91405 ***

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

end of thread, other threads:[~2021-08-08  8:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-91277-4@http.gcc.gnu.org/bugzilla/>
2021-08-04 17:20 ` [Bug c++/91277] test.cpp:5:55: internal compiler error: in synthesize_implicit_template_parm, at cp/parser.c:41206 pinskia at gcc dot gnu.org
2021-08-08  8:06 ` 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).