PATCH for GOTO_SUBROUTINE_EXPR
Per Bothner
bothner@cygnus.com
Sun Mar 21 18:53:00 GMT 1999
This should only affect the Java front-end (since only it uses
GOTO_SUBROUTINE_EXPR. so far).
Sun Mar 21 18:50:23 1999 Per Bothner <bothner@deneb.cygnus.com>
* tree.c (first_rtl_op, has_cleanups): Handle GOTO_SUBROUTINE_EXPR.
Index: tree.c
===================================================================
RCS file: /cvs/cvsfiles/devo/gcc/tree.c,v
retrieving revision 1.172
diff -u -p -r1.172 tree.c
--- tree.c 1999/03/08 18:16:32 1.172
+++ tree.c 1999/03/22 02:49:49
@@ -2387,6 +2387,7 @@ first_rtl_op (code)
{
case SAVE_EXPR:
return 2;
+ case GOTO_SUBROUTINE_EXPR:
case RTL_EXPR:
return 0;
case CALL_EXPR:
@@ -2656,6 +2657,7 @@ has_cleanups (exp)
switch (TREE_CODE (exp))
{
case TARGET_EXPR:
+ case GOTO_SUBROUTINE_EXPR:
case WITH_CLEANUP_EXPR:
return 1;
More information about the Gcc-patches
mailing list