aboutsummaryrefslogtreecommitdiff
path: root/gcc/c
diff options
context:
space:
mode:
authorPierre-Marie de Rodat <derodat@adacore.com>2016-05-03 16:21:14 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2016-05-03 16:21:14 +0000
commit402e89f5986220a96898381cc32f7efe76bd092c (patch)
tree07ef90dcc688d65f7ea2112248f2fb748f8ee38c /gcc/c
parent67647f9229c2e88701861eeebde33598ad406bb2 (diff)
downloadgcc-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/c')
0 files changed, 0 insertions, 0 deletions