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
This commit is contained in:
Kaveh R. Ghazi 1998-10-14 19:30:05 +00:00 committed by Kaveh Ghazi
parent 0a2138e2d2
commit bd748f743d
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
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>
* ch-tree.h (build_delay_case_end): Remove unused parameter.

View File

@ -1272,7 +1272,7 @@ build_signal_descriptor (sigdef, exprlist)
|| ! CH_DECL_SIGNAL (sigdef))
{
error ("SEND requires a SIGNAL; %s is not a SIGNAL name",
signame);
IDENTIFIER_POINTER (signame));
return error_mark_node;
}
if (CH_TYPE_NONVALUE_P (TREE_TYPE (sigdef)))

View File

@ -1211,7 +1211,7 @@ build_chill_cast (type, expr)
build1 (NOP_EXPR, build_pointer_type (type),
build1 (ADDR_EXPR, build_pointer_type (expr_type),
expr)));
TREE_READONLY (expr) == TYPE_READONLY (type);
TREE_READONLY (expr) = TYPE_READONLY (type);
return expr;
}