re PR rtl-optimization/36419 (Wrong unwind info with -Os -fasynchronous-unwind-tables)
authorJakub Jelinek <jakub@gcc.gnu.org>
Thu, 10 Jul 2008 07:39:54 +0000 (09:39 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 10 Jul 2008 07:39:54 +0000 (09:39 +0200)
commita182fb6bfe35332c0890dfe6f89e433123f12f04
treed543916a368659cba776054160616092ec3f7128
parentb1caaefc1cde4049a13aa413cdae0be107551c31
re PR rtl-optimization/36419 (Wrong unwind info with -Os -fasynchronous-unwind-tables)

PR rtl-optimization/36419
* combine-stack-adj.c (adjust_frame_related_expr): New function.
(combine_stack_adjustments_for_block): Call it if needed.  Delete
correct insn.
* dwarf2out.c (dwarf2out_frame_debug_expr): Adjust
DW_CFA_GNU_args_size if CSA pass merged some adjustments into
prologue sp adjustment.

* g++.dg/eh/async-unwind1.C: New test.

From-SVN: r137689
gcc/ChangeLog
gcc/combine-stack-adj.c
gcc/dwarf2out.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/eh/async-unwind1.C [new file with mode: 0644]