Revision to accurately generate debugging information

for constant parameters to inlined functions.

From-SVN: r36440
This commit is contained in:
William Cohen 2000-09-15 17:41:27 +00:00
parent d25a45d44b
commit 3724ec0731
2 changed files with 14 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2000-09-15 Will Cohen <wcohen@redhat.com>
* dwarf2out.c (add_const_value_attribute): Changed array into a
xmalloced object, so it exists after function exit.
(free_AT): Added case for dw_val_class_float to free allocated
memory.
2000-09-15 Kazu Hirata <kazu@hxi.com>
* config/i386/i386.md: Fix a comment typo.
@ -79,6 +86,7 @@ Fri 15-Sep-2000 06:49:07 BST Neil Booth <NeilB@earthling.net>
Remove undefine before config/elfos.h.
* config/sh/t-sh (EXTRA_MULTILIB_PARTS): Comment out.
>>>>>>> 1.7757
2000-09-14 Kazu Hirata <kazu@hxi.com>
* invoke.texi (H8/300 Options): Add -ms2600.
@ -177,6 +185,7 @@ Tue Sep 12 13:51:13 2000 Denis Chertykov <denisc@overta.ru>
(extendhisi2): Use `movw' for enhanced avr cores.
(zero_extendhisi2): Likewise.
>>>>>>> 1.7742
Wed Sep 13 02:31:23 EDT 2000 John Wehle (john@feith.com)
* alias.c (find_base_term): Use frame_pointer_rtx

View File

@ -4603,6 +4603,10 @@ free_AT (a)
free (a->dw_attr_val.v.val_str);
break;
case dw_val_class_float:
free (a->dw_attr_val.v.val_float.array);
break;
default:
break;
}
@ -7670,7 +7674,7 @@ add_const_value_attribute (die, rtl)
if (GET_MODE_CLASS (mode) == MODE_FLOAT)
{
register unsigned length = GET_MODE_SIZE (mode) / sizeof (long);
long array[4];
long *array = (long *) xmalloc (sizeof (long) * 4);
REAL_VALUE_TYPE rv;
REAL_VALUE_FROM_CONST_DOUBLE (rv, rtl);