[PATCH] [dwarf2] Fix PR 11983

Andrew Pinski pinskia@physics.uc.edu
Tue Jan 6 08:05:00 GMT 2004


On Jan 6, 2004, at 00:00, Andrew Pinski wrote:

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

Well I messed this one up, means it is time to go to sleep.

ChangeLog:
	* dwarf2out.c (add_location_or_const_value_attribute): Handle
	CONST_VECTOR 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 08:03:17 -0000
@@ -9433,6 +9433,7 @@ add_location_or_const_value_attribute (d
        break;

      case CONST_INT:
+    case CONST_VECTOR:
      case CONST_DOUBLE:
      case CONST_STRING:
      case SYMBOL_REF:



More information about the Gcc-patches mailing list