summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>2003-11-20 08:52:48 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>2003-11-20 08:52:48 +0000
commit8c50ec6a67880f48bd1aac62ab8ac582b96f15b3 (patch)
tree53612afc07681169f05c05b1699ab61578b0b857
parent84d95b4a94ece53715c6eb3428887ce13b074386 (diff)
downloadppe42-gcc-8c50ec6a67880f48bd1aac62ab8ac582b96f15b3.tar.gz
ppe42-gcc-8c50ec6a67880f48bd1aac62ab8ac582b96f15b3.zip
PR target/13131
* 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
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/dwarf2out.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1a82222a279..55e618ecfca 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 7db16217b52..972ad7cd948 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -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);
OpenPOWER on IntegriCloud