re PR java/13237 (ICE on Math.sqrt(2.0))
Fix PR java/13237 * parse.y (java_complete_lhs): Save location prior to patching CALL_EXPR. From-SVN: r74101
This commit is contained in:
parent
08aa9a4a1c
commit
50abb28b64
@ -1,8 +1,14 @@
|
|||||||
|
2003-12-01 Jeff Sturm <jsturm@one-point.com>
|
||||||
|
|
||||||
|
Fix PR java/13237
|
||||||
|
* parse.y (java_complete_lhs): Save location prior to patching
|
||||||
|
CALL_EXPR.
|
||||||
|
|
||||||
2003-11-25 Mohan Embar <gnustuff@thisiscool.com>
|
2003-11-25 Mohan Embar <gnustuff@thisiscool.com>
|
||||||
|
|
||||||
PR java/12548
|
PR java/12548
|
||||||
* resource.c (write_resource_constructor): Append
|
* resource.c (write_resource_constructor): Append
|
||||||
"_resource" to constructor identifier name.
|
"_resource" to constructor identifier name.
|
||||||
|
|
||||||
2003-11-25 Jeff Sturm <jsturm@one-point.com>
|
2003-11-25 Jeff Sturm <jsturm@one-point.com>
|
||||||
|
|
||||||
|
@ -12053,6 +12053,7 @@ java_complete_lhs (tree node)
|
|||||||
int from_super = (EXPR_WFL_NODE (TREE_OPERAND (node, 0)) ==
|
int from_super = (EXPR_WFL_NODE (TREE_OPERAND (node, 0)) ==
|
||||||
super_identifier_node);
|
super_identifier_node);
|
||||||
tree arguments;
|
tree arguments;
|
||||||
|
int location = EXPR_WFL_LINECOL (node);
|
||||||
|
|
||||||
node = patch_method_invocation (node, NULL_TREE, NULL_TREE,
|
node = patch_method_invocation (node, NULL_TREE, NULL_TREE,
|
||||||
from_super, 0, &decl);
|
from_super, 0, &decl);
|
||||||
@ -12064,8 +12065,7 @@ java_complete_lhs (tree node)
|
|||||||
arguments = TREE_VALUE (TREE_OPERAND (node, 1));
|
arguments = TREE_VALUE (TREE_OPERAND (node, 1));
|
||||||
else
|
else
|
||||||
arguments = NULL_TREE;
|
arguments = NULL_TREE;
|
||||||
check_thrown_exceptions (EXPR_WFL_LINECOL (node), decl,
|
check_thrown_exceptions (location, decl, arguments);
|
||||||
arguments);
|
|
||||||
/* If we call this(...), register signature and positions */
|
/* If we call this(...), register signature and positions */
|
||||||
if (in_this)
|
if (in_this)
|
||||||
DECL_CONSTRUCTOR_CALLS (current_function_decl) =
|
DECL_CONSTRUCTOR_CALLS (current_function_decl) =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user