This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/60046] [4.7/4.8/4.9 Regression] internal compiler error: in nothrow_spec_p, at cp/except.c:1280
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 04 Feb 2014 11:21:11 +0000
- Subject: [Bug c++/60046] [4.7/4.8/4.9 Regression] internal compiler error: in nothrow_spec_p, at cp/except.c:1280
- Auto-submitted: auto-generated
- References: <bug-60046-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60046
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
CC| |jakub at gcc dot gnu.org,
| |jason at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r174820. Reduced testcase -std=c++11:
constexpr bool foo () { return noexcept (true); }
template <typename T>
struct V
{
void bar (V &) noexcept (foo ()) {}
};
template <typename T>
struct W : public V <int>
{
void bar (W &x) { V <int>::bar (x); }
};
int
main ()
{
W <int> a, b;
a.bar (b);
}