This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/18672] [4.0 Regression] Segfault with simple template code
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Nov 2004 13:50:26 -0000
- Subject: [Bug c++/18672] [4.0 Regression] Segfault with simple template code
- References: <20041125082539.18672.gcc@magfr.user.lysator.liu.se>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-11-30 13:50 -------
More compact testcase:
==================================
template<int> struct A {};
struct B
{
static A<0> a[1];
A<0>* foo() { return a; }
};
==================================
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Keywords| |monitored
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18672