https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83461
Bug ID: 83461 Summary: [8 regression] Segmentation fault on __attribute__ with multiple inheritance Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: sylvestre at debian dot org CC: jakub at gcc dot gnu.org, trippels at gcc dot gnu.org Target Milestone: --- Building Firefox with gcc 8 from Debian experimental: g++-8 (Debian 8-20171213-1) 8.0.0 20171213 (experimental) [trunk revision 255604] $ g++-8 foo.cpp foo4.cpp:12:68: internal compiler error: Segmentation fault __attribute__ ((warn_unused_result)) int AddCookiesToRequest(void); ^ $ cat foo.cpp class foo { int AddCookiesToRequest(void); }; class bar { int AddCookiesToRequest(void); }; class HttpChannelChild final : public bar , public foo { __attribute__ ((warn_unused_result)) int AddCookiesToRequest(void); };