This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33051] g++-4.2: Internal error: Segmentation fault (program cc1plus)
- 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: 11 Aug 2007 18:50:26 -0000
- Subject: [Bug c++/33051] g++-4.2: Internal error: Segmentation fault (program cc1plus)
- References: <bug-33051-14967@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-08-11 18:50 -------
The trunk (and 4.0.2) gives:
t.cc: In member function 'size_t A<T>::operator()(const T&) [with T = B]':
t.cc:19: instantiated from here
t.cc:8: error: invalid cast from type 'const B' to type 'const size_t'
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|major |normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33051