diff gcc/cfgexpand.c @ 5:a4c410aa4714

modifing gimple.[ch], cfgexpand.c to make gimple to support cbc goto flags.
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Thu, 30 Jul 2009 19:22:01 +0900
parents a06113de4d67
children 9de9dad105d4
line wrap: on
line diff
--- a/gcc/cfgexpand.c	Wed Jul 29 13:46:47 2009 +0900
+++ b/gcc/cfgexpand.c	Thu Jul 30 19:22:01 2009 +0900
@@ -42,6 +42,9 @@
 #include "tree-inline.h"
 #include "value-prof.h"
 #include "target.h"
+#ifndef noCbC
+#include "cbc-tree.h"
+#endif
 
 
 /* Return an expression tree corresponding to the RHS of GIMPLE
@@ -235,6 +238,9 @@
         CALL_FROM_THUNK_P (t) = gimple_call_from_thunk_p (stmt);
         CALL_CANNOT_INLINE_P (t) = gimple_call_cannot_inline_p (stmt);
         CALL_EXPR_VA_ARG_PACK (t) = gimple_call_va_arg_pack_p (stmt);
+#ifndef noCbC
+        CALL_EXPR_CBC_GOTO (t) = gimple_call_cbc_goto_p (stmt);
+#endif
 
         /* If the call has a LHS then create a MODIFY_EXPR to hold it.  */
 	{