r235829 - in /branches/gcc-6-branch/gcc: Change...
pmderodat@gcc.gnu.org
pmderodat@gcc.gnu.org
Tue May 3 16:20:00 GMT 2016
Author: pmderodat
Date: Tue May 3 16:20:47 2016
New Revision: 235829
URL: https://gcc.gnu.org/viewcvs?rev=235829&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.
Backport from mainline
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:
branches/gcc-6-branch/gcc/testsuite/gnat.dg/debug5.adb
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/dwarf2out.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list