This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]