https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103455
--- Comment #9 from Stephan Hartmann ---
Bisect points to:
https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=4c2125ba18f40e57987a828bfd60e83024850e10
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103455
--- Comment #8 from Stephan Hartmann ---
(In reply to Andrew Pinski from comment #7)
> (In reply to Martin Liška from comment #6)
> > All GCC revisions I have (4.8.0) do ICE on that.
>
> Hmm, maybe the ICE was checking on back then.
I checked
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103455
--- Comment #4 from Stephan Hartmann ---
Last working compiler was gcc-8.1, gcc-8.2 and later produce an ICE.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103455
--- Comment #3 from Stephan Hartmann ---
Scratch comment 2, copied wrong one:
template
struct raw_ptr {
T* operator->() const;
operator T*() const;
template
explicit operator U*() const;
};
struct bar {};
struct foo {
ty
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103455
--- Comment #2 from Stephan Hartmann ---
Handwritten reduced testcase:
template
struct raw_ptr {
T* operator->() const;
template
explicit operator U*() const;
};
struct bar {
static void func();
};
struct foo {
typedef v
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