This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/15329] [3.4/3.5 Regression] ICE on constructor of member template
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 May 2004 21:28:31 -0000
- Subject: [Bug c++/15329] [3.4/3.5 Regression] ICE on constructor of member template
- References: <20040506183602.15329.rjpeters@klab.caltech.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-05-06 21:28 -------
This is marginally smaller:
---------------
struct S {};
template <typename> struct X {
S s;
void foo (void (S::*p)())
{ (s.*p)(); }
};
---------------
g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -c x.cc
x.cc: In member function `void X< <template-parameter-1-1> >::foo(void (S::*)
())':
x.cc:6: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15329