re PR debug/13539 (dbxout.c does not recognize protected inheritance)

2004-01-12  Andrew Pinski  <pinskia@physics.uc.edu>

        PR debug/13539
        * dbxout.c (dbxout_type): Protected inheritance is not
        private but protected.

From-SVN: r75750
This commit is contained in:
Andrew Pinski 2004-01-12 19:50:30 +00:00 committed by Andrew Pinski
parent 3cd2a1838d
commit c5ff912364
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2004-01-12 Andrew Pinski <pinskia@physics.uc.edu>
PR debug/13539
* dbxout.c (dbxout_type): Protected inheritance is not
private but protected.
2004-01-12 Richard Sandiford <rsandifo@redhat.com>
* config/mips/mips.c (mips_symbolic_constant_p): Revert last patch.

View File

@ -1678,8 +1678,10 @@ dbxout_type (tree type, int full)
if (use_gnu_debug_info_extensions)
{
have_used_extensions = 1;
putc (TREE_VIA_VIRTUAL (child) ? '1' : '0', asmfile);
putc (access == access_public_node ? '2' : '0', asmfile);
putc (TREE_VIA_VIRTUAL (child) ? '1' : '0', asmfile);
putc (access == access_public_node ? '2' :
(access == access_protected_node ? '1' :'0'),
asmfile);
CHARS (2);
if (TREE_VIA_VIRTUAL (child)
&& strcmp (lang_hooks.name, "GNU C++") == 0)