This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/52596] [4.7 Regression] [C++11] internal compiler error: in lvalue_kind, at cp/tree.c:153
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 16 Mar 2012 02:49:54 +0000
- Subject: [Bug c++/52596] [4.7 Regression] [C++11] internal compiler error: in lvalue_kind, at cp/tree.c:153
- Auto-submitted: auto-generated
- References: <bug-52596-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52596
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Target Milestone|--- |4.7.0
Summary|[C++11] internal compiler |[4.7 Regression] [C++11]
|error: in lvalue_kind, at |internal compiler error: in
|cp/tree.c:153 |lvalue_kind, at
| |cp/tree.c:153
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-03-16 02:49:54 UTC ---
Confirmed reduced testcase:
struct msgpack_zone_finalizer_array {
int* tail;
};
struct msgpack_zone {
msgpack_zone_finalizer_array finalizer_array;
};
struct zone : public msgpack_zone {
template <typename T> T* allocate();
};
template <typename T>
T* zone::allocate()
{
--msgpack_zone::finalizer_array.tail;
}
--- CUT ---