r235830 - in /trunk/gcc: ChangeLog dwarf2out.c ...
pmderodat@gcc.gnu.org
pmderodat@gcc.gnu.org
Tue May 3 16:21:00 GMT 2016
Author: pmderodat
Date: Tue May 3 16:21:14 2016
New Revision: 235830
URL: https://gcc.gnu.org/viewcvs?rev=235830&root=gcc&view=rev
Log:
Fix a typo in dwarf2out.c:resolve_args_picking_1
Under specific circumstances for Ada programs, such as in the testcase
this change adds, the DWARF back-end currently crashes because of
inconsistent internal state. This is due to a typo: a local variable is
called frame_offset_ but resolve_args_picking_1 wrongly modifies
emit-rtl.h's frame_offset instead.
This change fixes this typo.
gcc/
* dwarf2out.c (resolve_args_picking_1): Replace the frame_offset
occurence with frame_offset_ ones.
gcc/testsuite/
* gnat.dg/debug5.adb: New testcase.
Added:
trunk/gcc/testsuite/gnat.dg/debug5.adb
Modified:
trunk/gcc/ChangeLog
trunk/gcc/dwarf2out.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list