dwarf2out.c (add_const_value_attribute): Fix error in last change.

* dwarf2out.c (add_const_value_attribute): Fix error in last
	change.

From-SVN: r46606
This commit is contained in:
Richard Kenner 2001-10-29 12:24:17 +00:00 committed by Richard Kenner
parent 473fb060f3
commit 94784fb92a
2 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,8 @@
Mon Oct 29 07:23:33 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* dwarf2out.c (add_const_value_attribute): Fix error in last
change.
Mon Oct 29 12:43:06 CET 2001 Jan Hubicka <jh@suse.cz>
* basic-block.h (purge_all_dead_edges): Add update_life_p argument.

View File

@ -8377,12 +8377,15 @@ add_const_value_attribute (die, rtl)
add_AT_int (die, DW_AT_const_value, (long) val);
else if ((unsigned long) val == (unsigned HOST_WIDE_INT) val)
add_AT_unsigned (die, DW_AT_const_value, (unsigned long) val);
else
{
#if HOST_BITS_PER_LONG * 2 == HOST_BITS_PER_WIDE_INT
add_AT_long_long (die, DW_AT_const_value,
val >> HOST_BITS_PER_LONG, val);
add_AT_long_long (die, DW_AT_const_value,
val >> HOST_BITS_PER_LONG, val);
#else
abort ();
abort ();
#endif
}
}
break;