This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/84973] [8 Regression] ICE: Segmentation fault (tree_check()/ultimate_transparent_alias_target())


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
clang++ rejects this with error: reference to non-static member function must
be called.
GCC rejects that too, but only during instantiation, e.g. if I add
int v;
as the first line and int main () { a <0> (); } at the end, I get:
invalid use of non-static member function
error.

No idea what's wrong here though, we really shouldn't notice_global_symbol with
something that is not really going to be emitted and likely isn't instantiated
at all.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]