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

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to gcc-bugs from comment #10)
> I could extract this minimal code snippet from our code base that does not
> work with g++-8, but with gcc version 7.2.1 20171128 (GCC).
> 
> ```
> class a {};
> class b {};
> class c : b, a {
>   __attribute__((always_inline)) c operator=(c);
> };
> ```
> 
> ~~~~~~~
> Error log:
> 
> internal compiler error: Segmentation fault
>    __attribute__((always_inline)) c operator=(c);
>                                                ^
> 0xc0092f crash_signal
>         /home/marehr/Packages/gcc-git/src/gcc/gcc/toplev.c:325
> 0x828832 cxx11_attribute_p(tree_node const*)
>         /home/marehr/Packages/gcc-git/src/gcc/gcc/attribs.c:802

That is clearly something completely different, and has been fixed by r255844
for quite some time.

Reply via email to