Commit bd748f74 by Kaveh R. Ghazi Committed by Kaveh Ghazi

typeck.c (build_chill_cast): Fix typo in assignment statement.

        * typeck.c (build_chill_cast): Fix typo in assignment statement.
        * tasking.c (build_signal_descriptor): Use IDENTIFIER_POINTER()
        when printing a `tree'.

From-SVN: r23091
parent 0a2138e2
Wed Oct 14 22:19:48 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* typeck.c (build_chill_cast): Fix typo in assignment statement.
* tasking.c (build_signal_descriptor): Use IDENTIFIER_POINTER()
when printing a `tree'.
Fri Oct 9 13:01:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> Fri Oct 9 13:01:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* ch-tree.h (build_delay_case_end): Remove unused parameter. * ch-tree.h (build_delay_case_end): Remove unused parameter.
......
...@@ -1272,7 +1272,7 @@ build_signal_descriptor (sigdef, exprlist) ...@@ -1272,7 +1272,7 @@ build_signal_descriptor (sigdef, exprlist)
|| ! CH_DECL_SIGNAL (sigdef)) || ! CH_DECL_SIGNAL (sigdef))
{ {
error ("SEND requires a SIGNAL; %s is not a SIGNAL name", error ("SEND requires a SIGNAL; %s is not a SIGNAL name",
signame); IDENTIFIER_POINTER (signame));
return error_mark_node; return error_mark_node;
} }
if (CH_TYPE_NONVALUE_P (TREE_TYPE (sigdef))) if (CH_TYPE_NONVALUE_P (TREE_TYPE (sigdef)))
......
...@@ -1211,7 +1211,7 @@ build_chill_cast (type, expr) ...@@ -1211,7 +1211,7 @@ build_chill_cast (type, expr)
build1 (NOP_EXPR, build_pointer_type (type), build1 (NOP_EXPR, build_pointer_type (type),
build1 (ADDR_EXPR, build_pointer_type (expr_type), build1 (ADDR_EXPR, build_pointer_type (expr_type),
expr))); expr)));
TREE_READONLY (expr) == TYPE_READONLY (type); TREE_READONLY (expr) = TYPE_READONLY (type);
return expr; return expr;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment