diff --git a/gcc/tree.def b/gcc/tree.def index 44e5a5e..30fd766 100644 --- a/gcc/tree.def +++ b/gcc/tree.def @@ -1407,6 +1407,13 @@ DEFTREECODE (CILK_SPAWN_STMT, "cilk_spawn_stmt", tcc_statement, 1) /* Cilk Sync statement: Does not have any operands. */ DEFTREECODE (CILK_SYNC_STMT, "cilk_sync_stmt", tcc_statement, 0) +/* Wrapper to add a source code location to an expression, either one + that doesn't have one (such as an INTEGER_CST), or to a usage of a + variable (e.g. PARAM_DECL or VAR_DECL), where we want to record + the site in the source where the variable was *used* rather than + where it was declared. */ +DEFTREECODE (LOCATION_EXPR, "location_expr", tcc_unary, 1) + /* Local variables: mode:c