* dbxout.c (dbxout_type, case COMPLEX_TYPE): Fix length field in stab.
authorGeorge Helffrich <george@gly.bris.ac.uk>
Sun, 23 Jul 2000 17:53:21 +0000 (17:53 +0000)
committerJeff Law <law@gcc.gnu.org>
Sun, 23 Jul 2000 17:53:21 +0000 (11:53 -0600)
From-SVN: r35209

gcc/ChangeLog
gcc/dbxout.c

index ede1d1df11847a05aff0f417aa438d5031e01dc4..f92b65bd0b987460893576fff40acf4927bb976e 100644 (file)
@@ -1,3 +1,7 @@
+Sun Jul 23 11:52:03 2000  George Helffrich (george@gly.bris.ac.uk)
+
+       * dbxout.c (dbxout_type, case COMPLEX_TYPE): Fix length field in stab.
+
 2000-07-23  Kazu Hirata  <kazu@hxi.com>
 
        * h8300.c: Fix formatting.
index 4951ee8ffc2d23bcb1722f2568e0dab8a6eef2bf..1be2025779db833c2abfefa728195170302a1019 100644 (file)
@@ -1266,7 +1266,7 @@ dbxout_type (type, full, show_arg_types)
          dbxout_type_index (type);
          fputc (';', asmfile);
          fprintf (asmfile, HOST_WIDE_INT_PRINT_DEC,
-                  int_size_in_bytes (TREE_TYPE (type)));
+                  2 * int_size_in_bytes (TREE_TYPE (type)));
          fputs (";0;", asmfile);
          CHARS (12);           /* The number is probably incorrect here.  */
        }