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++/10841] rejects valid explicit type conversion to/from pointers-to-member of private base


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-10-20 09:54 -------
With Mark's patch
http://gcc.gnu.org/ml/gcc-cvs/2004-10/msg01166.html
we now get an additional ICE on mainline:

bug.cc: In function `int main()':
bug.cc:6: error: 'main()::Base' is an inaccessible base of 'main()::Derived'
bug.cc:9: error: 'main()::Base' is an inaccessible base of 'main()::Derived'
bug.cc:9: internal compiler error: tree check: expected tree_binfo, have
error_mark in binfo_from_vbase, at cp/search.c:2425
Please submit a full bug report, [etc.]


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at codesourcery dot com
           Keywords|                            |error-recovery, ice-on-
                   |                            |valid-code


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10841


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