diff options
author | pmderodat <pmderodat@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-05-03 16:21:14 +0000 |
---|---|---|
committer | pmderodat <pmderodat@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-05-03 16:21:14 +0000 |
commit | ca938765fab75f4a2918d2e419bd6cc7247df223 (patch) | |
tree | 07ef90dcc688d65f7ea2112248f2fb748f8ee38c /gcc/c-family/c-pretty-print.c | |
parent | e9b190890eb21dea765925a834e54f92f20ec271 (diff) | |
download | gcc-ca938765fab75f4a2918d2e419bd6cc7247df223.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@235830 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-family/c-pretty-print.c')
0 files changed, 0 insertions, 0 deletions