diff options
author | Pierre-Marie de Rodat <derodat@adacore.com> | 2016-05-03 16:21:14 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2016-05-03 16:21:14 +0000 |
commit | 402e89f5986220a96898381cc32f7efe76bd092c (patch) | |
tree | 07ef90dcc688d65f7ea2112248f2fb748f8ee38c /gcc/input.c | |
parent | 67647f9229c2e88701861eeebde33598ad406bb2 (diff) | |
download | gcc-402e89f5986220a96898381cc32f7efe76bd092c.zip gcc-402e89f5986220a96898381cc32f7efe76bd092c.tar.gz gcc-402e89f5986220a96898381cc32f7efe76bd092c.tar.bz2 |
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.
From-SVN: r235830
Diffstat (limited to 'gcc/input.c')
0 files changed, 0 insertions, 0 deletions