public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/103455] New: internal compiler error: in dependent_type_p, at cp/pt.c:27057
@ 2021-11-28 14:26 stha09 at googlemail dot com
  2021-11-28 17:50 ` [Bug c++/103455] [9/10/11/12 Regression] " pinskia at gcc dot gnu.org
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: stha09 at googlemail dot com @ 2021-11-28 14:26 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 103455
           Summary: internal compiler error: in dependent_type_p, at
                    cp/pt.c:27057
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: stha09 at googlemail dot com
  Target Milestone: ---

Reduced testcase:

class raw_ptr {
  template <typename U> operator U *();
};
class GLES2Interface class ScopedGLuint {
  typedef void (GLES2Interface::*DeleteFunc)();
  ScopedGLuint(){gl_->*delete_func_} raw_ptr gl_;
  DeleteFunc delete_func_;
};

Original code is here:
https://chromium.googlesource.com/chromium/src/+/refs/heads/main/gpu/command_buffer/client/gl_helper.h#49

It seems GCC doesn't like the function pointer. There are some other locations
where the same happens in the Chromium codebase.

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

end of thread, other threads:[~2022-05-11 15:06 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-28 14:26 [Bug c++/103455] New: internal compiler error: in dependent_type_p, at cp/pt.c:27057 stha09 at googlemail dot com
2021-11-28 17:50 ` [Bug c++/103455] [9/10/11/12 Regression] " pinskia at gcc dot gnu.org
2021-11-28 17:54 ` pinskia at gcc dot gnu.org
2021-11-28 19:00 ` stha09 at googlemail dot com
2021-11-28 19:05 ` stha09 at googlemail dot com
2021-11-28 19:27 ` stha09 at googlemail dot com
2021-11-28 23:09 ` pinskia at gcc dot gnu.org
2021-11-29  8:52 ` marxin at gcc dot gnu.org
2021-11-29  9:04 ` pinskia at gcc dot gnu.org
2021-11-29  9:12 ` stha09 at googlemail dot com
2021-11-29 18:50 ` stha09 at googlemail dot com
2022-01-17 12:49 ` [Bug c++/103455] [9/10/11/12 Regression] internal compiler error: in dependent_type_p since r9-713-gd9338471b91bbe6e1 rguenth at gcc dot gnu.org
2022-03-25 17:22 ` ppalka at gcc dot gnu.org
2022-03-26 14:20 ` cvs-commit at gcc dot gnu.org
2022-03-26 14:22 ` [Bug c++/103455] [9/10/11 " ppalka at gcc dot gnu.org
2022-04-07 19:19 ` cvs-commit at gcc dot gnu.org
2022-05-09 23:33 ` [Bug c++/103455] [9/10 " cvs-commit at gcc dot gnu.org
2022-05-11 14:59 ` [Bug c++/103455] [9 " cvs-commit at gcc dot gnu.org
2022-05-11 15:06 ` 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).