This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/33051] g++-4.2: Internal error: Segmentation fault (program cc1plus)



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]