PR target/13131
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Nov 2003 08:52:48 +0000 (08:52 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Nov 2003 08:52:48 +0000 (08:52 +0000)
* dwarf2out.c (gen_array_type_die): DW_AT_declaration should be a
flag, not a constant.

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

gcc/ChangeLog
gcc/dwarf2out.c

index 1a82222..55e618e 100644 (file)
@@ -1,3 +1,9 @@
+2003-11-19  Scott Snyder  <snyder@fnal.gov>
+
+       PR target/13131
+       * dwarf2out.c (gen_array_type_die): DW_AT_declaration should be a
+       flag, not a constant.
+
 2003-11-19  Kelley Cook  <kcook@gcc.gnu.org>
 
        * config/arc/arc-protos.h: Update to C90 prototypes.
index 7db1621..972ad7c 100644 (file)
@@ -10200,7 +10200,7 @@ gen_array_type_die (tree type, dw_die_ref context_die)
   /* The SGI compilers handle arrays of unknown bound by setting
      AT_declaration and not emitting any subrange DIEs.  */
   if (! TYPE_DOMAIN (type))
-    add_AT_unsigned (array_die, DW_AT_declaration, 1);
+    add_AT_flag (array_die, DW_AT_declaration, 1);
   else
 #endif
     add_subscript_info (array_die, type);