Commit 3724ec07 by William Cohen

Revision to accurately generate debugging information

for constant parameters to inlined functions.

From-SVN: r36440
parent d25a45d4
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> 2000-09-15 Kazu Hirata <kazu@hxi.com>
* config/i386/i386.md: Fix a comment typo. * 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> ...@@ -79,6 +86,7 @@ Fri 15-Sep-2000 06:49:07 BST Neil Booth <NeilB@earthling.net>
Remove undefine before config/elfos.h. Remove undefine before config/elfos.h.
* config/sh/t-sh (EXTRA_MULTILIB_PARTS): Comment out. * config/sh/t-sh (EXTRA_MULTILIB_PARTS): Comment out.
>>>>>>> 1.7757
2000-09-14 Kazu Hirata <kazu@hxi.com> 2000-09-14 Kazu Hirata <kazu@hxi.com>
* invoke.texi (H8/300 Options): Add -ms2600. * invoke.texi (H8/300 Options): Add -ms2600.
...@@ -177,6 +185,7 @@ Tue Sep 12 13:51:13 2000 Denis Chertykov <denisc@overta.ru> ...@@ -177,6 +185,7 @@ Tue Sep 12 13:51:13 2000 Denis Chertykov <denisc@overta.ru>
(extendhisi2): Use `movw' for enhanced avr cores. (extendhisi2): Use `movw' for enhanced avr cores.
(zero_extendhisi2): Likewise. (zero_extendhisi2): Likewise.
>>>>>>> 1.7742
Wed Sep 13 02:31:23 EDT 2000 John Wehle (john@feith.com) Wed Sep 13 02:31:23 EDT 2000 John Wehle (john@feith.com)
* alias.c (find_base_term): Use frame_pointer_rtx * alias.c (find_base_term): Use frame_pointer_rtx
......
...@@ -4603,6 +4603,10 @@ free_AT (a) ...@@ -4603,6 +4603,10 @@ free_AT (a)
free (a->dw_attr_val.v.val_str); free (a->dw_attr_val.v.val_str);
break; break;
case dw_val_class_float:
free (a->dw_attr_val.v.val_float.array);
break;
default: default:
break; break;
} }
...@@ -7670,7 +7674,7 @@ add_const_value_attribute (die, rtl) ...@@ -7670,7 +7674,7 @@ add_const_value_attribute (die, rtl)
if (GET_MODE_CLASS (mode) == MODE_FLOAT) if (GET_MODE_CLASS (mode) == MODE_FLOAT)
{ {
register unsigned length = GET_MODE_SIZE (mode) / sizeof (long); 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_TYPE rv;
REAL_VALUE_FROM_CONST_DOUBLE (rv, rtl); REAL_VALUE_FROM_CONST_DOUBLE (rv, rtl);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment