diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6d32f11b2a7..5d92c995b8d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Wed Oct 28 00:00:35 1998 Jason Merrill + + * c-typeck.c (convert_for_assignment): Parenthesize. + 1998-10-28 Andreas Schwab * reload1.c (delete_output_reload): Avoid ambigous else. diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c index caf2bf53c9a..ab3ede71f50 100644 --- a/gcc/c-typeck.c +++ b/gcc/c-typeck.c @@ -4118,7 +4118,7 @@ convert_for_assignment (type, rhs, errtype, fundecl, funname, parmnum) && TREE_CODE (ttl) == FUNCTION_TYPE) ? ((TYPE_QUALS (ttl) | TYPE_QUALS (ttr)) == TYPE_QUALS (ttr)) - : (TYPE_QUALS (ttl) | TYPE_QUALS (ttr) + : ((TYPE_QUALS (ttl) | TYPE_QUALS (ttr)) == TYPE_QUALS (ttl)))) break;