OSDN Git Service

2004-01-12 Andrew Pinski <pinskia@physics.uc.edu>
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Jan 2004 19:50:30 +0000 (19:50 +0000)
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Jan 2004 19:50:30 +0000 (19:50 +0000)
        PR debug/13539
        * dbxout.c (dbxout_type): Protected inheritance is not
        private but protected.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75750 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/dbxout.c

index 825818d..d5c09c2 100644 (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.
 2004-01-12  Richard Sandiford  <rsandifo@redhat.com>
 
        * config/mips/mips.c (mips_symbolic_constant_p): Revert last patch.
index dc0caf7..4971be8 100644 (file)
@@ -1678,8 +1678,10 @@ dbxout_type (tree type, int full)
            if (use_gnu_debug_info_extensions)
              {
                have_used_extensions = 1;
            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)
                CHARS (2);
                if (TREE_VIA_VIRTUAL (child)
                    && strcmp (lang_hooks.name, "GNU C++") == 0)