This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/77659] internal compiler error: in gimplify_expr, at gimplify.c:8858
- From: "trippels at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 20 Sep 2016 09:53:57 +0000
- Subject: [Bug c++/77659] internal compiler error: in gimplify_expr, at gimplify.c:8858
- Auto-submitted: auto-generated
- References: <bug-77659-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77659
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2016-09-20
CC| |trippels at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
template <typename Type> Type get_max_value(Type);
struct A {
struct B {
int baz = get_max_value(baz);
};
template <typename> void m_fn1() { new B{}; }
};
void foo() {
A a;
a.m_fn1<int>();
}