From: Kaveh R. Ghazi Date: Wed, 14 Oct 1998 19:30:05 +0000 (+0000) Subject: typeck.c (build_chill_cast): Fix typo in assignment statement. X-Git-Tag: prereleases/libgcj-0.1~2512 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bd748f743d05218b191ce5f45caa4452c6b37d40;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ch/ChangeLog b/gcc/ch/ChangeLog index 045fa2a53337..d5b9230e388f 100644 --- a/gcc/ch/ChangeLog +++ b/gcc/ch/ChangeLog @@ -1,3 +1,10 @@ +Wed Oct 14 22:19:48 1998 Kaveh R. Ghazi + + * 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 * ch-tree.h (build_delay_case_end): Remove unused parameter. diff --git a/gcc/ch/tasking.c b/gcc/ch/tasking.c index c07d325c094d..b3a1d2d31b8d 100644 --- a/gcc/ch/tasking.c +++ b/gcc/ch/tasking.c @@ -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))) diff --git a/gcc/ch/typeck.c b/gcc/ch/typeck.c index 1132babc896c..102a30db8eda 100644 --- a/gcc/ch/typeck.c +++ b/gcc/ch/typeck.c @@ -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; }