This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] [dwarf2] Fix PR 11983
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: Aldy Hernandez <aldyh at redhat dot com>, Andrew Pinski <pinskia at physics dot uc dot edu>, Segher Boessenkool <segher at kernel dot crashing dot org>
- Date: Tue, 6 Jan 2004 00:00:56 -0800
- Subject: [PATCH] [dwarf2] Fix PR 11983
When Aldy added const_vector, he forgot to handle it in
add_location_or_const_value_attribute. This fixes it by handling it
there.
Thanks,
Andrew Pinski
OK?
ChangeLog:
* dwarf2out.c (add_location_or_const_value_attribute): Handle
CONST_VECT just like the rest of the constants.
Patch:
Index: dwarf2out.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/dwarf2out.c,v
retrieving revision 1.468
diff -u -p -r1.468 dwarf2out.c
--- dwarf2out.c 24 Dec 2003 00:14:18 -0000 1.468
+++ dwarf2out.c 6 Jan 2004 07:52:00 -0000
@@ -9433,6 +9433,7 @@ add_location_or_const_value_attribute (d
break;
case CONST_INT:
+ case CONST_VECT:
case CONST_DOUBLE:
case CONST_STRING:
case SYMBOL_REF: