This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug middle-end/40867] [4.5 Regression] FAIL: StackTrace2 output - source compiled test
- From: "aph at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 3 Aug 2009 17:55:33 -0000
- Subject: [Bug middle-end/40867] [4.5 Regression] FAIL: StackTrace2 output - source compiled test
- References: <bug-40867-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from aph at gcc dot gnu dot org 2009-08-03 17:55 -------
Subject: Bug 40867
Author: aph
Date: Mon Aug 3 17:55:11 2009
New Revision: 150376
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150376
Log:
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.
Modified:
trunk/gcc/java/ChangeLog
trunk/gcc/java/decl.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40867