]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR middle-end/40867 (FAIL: StackTrace2 output - source compiled test)
authorAndrew Haley <aph@redhat.com>
Mon, 3 Aug 2009 17:55:11 +0000 (17:55 +0000)
committerAndrew Haley <aph@gcc.gnu.org>
Mon, 3 Aug 2009 17:55:11 +0000 (17:55 +0000)
commit239bca9def334ad1537f26613869bb0f4f0a04be
tree2b8fe4e8aa3a69488ece71fb4cb159ce67c494f1
parent267bd2b15edda2e1c1d9102037f6b6c79fa03b3e
re PR middle-end/40867 (FAIL: StackTrace2 output - source compiled test)

2009-07-31  Andrew Haley  <aph@redhat.com>

PR java/40867
* decl.c (java_replace_references): Set EXPR_LOCATION on all
generated expressions.
(binding_level.loc): new field.
(clear_binding_level): Initialize loc.
(set_input_location): New function.
(pushlevel): Set new binding_level.loc.
(poplevel): Set EXPR_LOCATION on the new BIND_EXPR_BODY.
(start_java_method): Set DECL_SOURCE_LOCATION of this new method.
(java_add_stmt): Set the EXPR_LOCATION on all subtrees of new_stmt.

From-SVN: r150376
gcc/java/ChangeLog
gcc/java/decl.c