OSDN Git Service

PR debug/19192
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 Mar 2010 13:41:30 +0000 (13:41 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 00:34:06 +0000 (09:34 +0900)
commit26943e7c8f486bc2204b5b95ffa01701d457bf6c
treeeaa45838d851cff304e86dedd1c1c99892603f13
parentde971d63e6805234b0af17dcafdebc6768a339c6
PR debug/19192
PR debug/43479
* cfgexpand.c (gimple_assign_rhs_to_tree): Also set TREE_BLOCK
from gimple_block.
* expr.c (expand_expr_real): Restore previous
curr_insn_source_location and curr_insn_block after
expand_expr_real_1 call.
(expand_expr_real_1) <case SSA_NAME>: Call expand_expr_real
instead of expand_expr_real_1.

* gcc.dg/guality/pr43479.c: New test.
* gcc.dg/debug/dwarf2/inline2.c (third): Make a a global var
and add volatile keyword.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157693 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog