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 05:14:27 +0000 (14:14 +0900)
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

index 0e947b0..61471ec 100644 (file)
@@ -1,3 +1,15 @@
+2010-03-24  Jakub Jelinek  <jakub@redhat.com>
+
+       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.
+
 2010-03-23  Mike Stump  <mikestump@comcast.net>
 
        PR target/33120
index 5a22977..2809736 100644 (file)
@@ -1,3 +1,11 @@
+2010-03-24  Jakub Jelinek  <jakub@redhat.com>
+
+       PR debug/19192
+       PR debug/43479
+       * gcc.dg/guality/pr43479.c: New test.
+       * gcc.dg/debug/dwarf2/inline2.c (third): Make a a global var
+       and add volatile keyword.
+
 2010-03-23  Mike Stump  <mikestump@comcast.net>
 
        * g++.dg/warn/Wstrict-aliasing-float-ref-int-obj.C: Enhance portability.