[PATCH] Fix PR c/5482 (take 2)
Richard Henderson
rth@redhat.com
Thu Feb 7 15:42:00 GMT 2002
On Thu, Feb 07, 2002 at 02:06:54PM +0100, Jakub Jelinek wrote:
> * c-common.c (c_expand_expr): Revert 2002-02-06 patch.
> * c-parse.in (compstmt): Clear last_expr_type.
>
> * parse.y (primary, primary_no_id): Use compstmt_or_stmtexpr
> instead of compstmt.
> (compstmt_or_stmtexpr): Renamed from compstmt.
> (compstmt): In addition to compstmt_or_stmtexpr clear last_expr_type.
>
> * gcc.c-torture/execute/20020206-1.c: Test whether nesting 2
> expression statements work instead.
> * gcc.dg/noncompile/20020207-1.c: New test.
Ok.
r~
More information about the Gcc-patches
mailing list