diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 1998-10-14 19:30:05 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 1998-10-14 19:30:05 +0000 |
commit | bd748f743d05218b191ce5f45caa4452c6b37d40 (patch) | |
tree | 40d85ffa0d1ca16b9fdd26bfcc8199dc1f6ebcee /gcc/ch | |
parent | 0a2138e2d22b32b50afac3962ea6256462b0e6cc (diff) | |
download | gcc-bd748f743d05218b191ce5f45caa4452c6b37d40.zip gcc-bd748f743d05218b191ce5f45caa4452c6b37d40.tar.gz gcc-bd748f743d05218b191ce5f45caa4452c6b37d40.tar.bz2 |
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
Diffstat (limited to 'gcc/ch')
-rw-r--r-- | gcc/ch/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/ch/tasking.c | 2 | ||||
-rw-r--r-- | gcc/ch/typeck.c | 2 |
3 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ch/ChangeLog b/gcc/ch/ChangeLog index 045fa2a..d5b9230 100644 --- a/gcc/ch/ChangeLog +++ b/gcc/ch/ChangeLog @@ -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. diff --git a/gcc/ch/tasking.c b/gcc/ch/tasking.c index c07d325..b3a1d2d 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 1132bab..102a30d 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; } |