This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/29435] [4.1 Regression] segmentation fault
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Oct 2006 03:37:28 -0000
- Subject: [Bug c++/29435] [4.1 Regression] segmentation fault
- References: <bug-29435-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from pinskia at gcc dot gnu dot org 2006-10-12 03:37 -------
The code in comment # 5 is invalid but even if we make it valid like below, it
still ICEs:
template < class T > struct Rgb{};
template < int>int Camera1 ()
{
sizeof (Rgb < int>);
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29435