This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/79915] ICE in final_scan_insn, at final.c:2982 on mips when compiling libstdc++ with -mlong-calls
- From: "jan.smets at nokia dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 07 Mar 2017 08:17:36 +0000
- Subject: [Bug middle-end/79915] ICE in final_scan_insn, at final.c:2982 on mips when compiling libstdc++ with -mlong-calls
- Auto-submitted: auto-generated
- References: <bug-79915-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79915
--- Comment #2 from Jan Smets <jan.smets at nokia dot com> ---
Reduced test case, only occurs on the vxworks port, not on linux.
namespace a {
template <typename b, typename = b> class c;
class d {
public:
virtual ~d();
};
template <typename, typename> class e : d {};
template <typename b, typename f> class c : virtual e<b, f> {};
class g : c<char> {
~g();
};
g::~g() {}
}