Commit 64463c2a by Jeffrey A Law Committed by Jeff Law

c-parse.in (cast_expr): Move change from March 21 into c-parse.in since it is…

c-parse.in (cast_expr): Move change from March 21 into c-parse.in since it is used to generate c-parse.y.

        * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
        since it is used to generate c-parse.y.
        * objc-parse.c, objc-parse.y: Regenerated.

From-SVN: r32840
parent 64ea4a5e
...@@ -13,6 +13,10 @@ Thu Mar 30 06:32:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> ...@@ -13,6 +13,10 @@ Thu Mar 30 06:32:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
Thu Mar 30 13:30:40 2000 Jeffrey A Law (law@cygnus.com) Thu Mar 30 13:30:40 2000 Jeffrey A Law (law@cygnus.com)
* c-parse.in (cast_expr): Move change from March 21 into c-parse.in
since it is used to generate c-parse.y.
* objc-parse.c, objc-parse.y: Regenerated.
* function.c (expand_function_end): Pass alignment argument to * function.c (expand_function_end): Pass alignment argument to
emit_block_move in bits, not bytes. emit_block_move in bits, not bytes.
......
...@@ -533,7 +533,7 @@ cast_expr: ...@@ -533,7 +533,7 @@ cast_expr:
else else
name = ""; name = "";
$$ = result; $$ = result;
if (TREE_CODE (type) == ARRAY_TYPE && TYPE_SIZE (type) == 0) if (TREE_CODE (type) == ARRAY_TYPE && !COMPLETE_TYPE_P (type))
{ {
int failure = complete_array_type (type, $$, 1); int failure = complete_array_type (type, $$, 1);
if (failure) if (failure)
......
...@@ -1754,7 +1754,7 @@ static const short yycheck[] = { 56, ...@@ -1754,7 +1754,7 @@ static const short yycheck[] = { 56,
50, 51, 52, 53, 54, 55, 56, 57 50, 51, 52, 53, 54, 55, 56, 57
}; };
/* -*-C-*- Note some compilers choke on comments on `#line' lines. */ /* -*-C-*- Note some compilers choke on comments on `#line' lines. */
#line 3 "/usr/share/bison.simple" #line 3 "/usr/lib/bison.simple"
/* This file comes from bison-1.27. */ /* This file comes from bison-1.27. */
/* Skeleton output parser for bison, /* Skeleton output parser for bison,
...@@ -1968,7 +1968,7 @@ __yy_memcpy (char *to, char *from, unsigned int count) ...@@ -1968,7 +1968,7 @@ __yy_memcpy (char *to, char *from, unsigned int count)
#endif #endif
#endif #endif
#line 216 "/usr/share/bison.simple" #line 216 "/usr/lib/bison.simple"
/* The user can define YYPARSE_PARAM as the name of an argument to be passed /* The user can define YYPARSE_PARAM as the name of an argument to be passed
into yyparse. The argument should have type void *. into yyparse. The argument should have type void *.
...@@ -2589,7 +2589,7 @@ case 65: ...@@ -2589,7 +2589,7 @@ case 65:
else else
name = ""; name = "";
yyval.ttype = result; yyval.ttype = result;
if (TREE_CODE (type) == ARRAY_TYPE && TYPE_SIZE (type) == 0) if (TREE_CODE (type) == ARRAY_TYPE && !COMPLETE_TYPE_P (type))
{ {
int failure = complete_array_type (type, yyval.ttype, 1); int failure = complete_array_type (type, yyval.ttype, 1);
if (failure) if (failure)
...@@ -5091,7 +5091,7 @@ case 570: ...@@ -5091,7 +5091,7 @@ case 570:
break;} break;}
} }
/* the action file gets copied in in place of this dollarsign */ /* the action file gets copied in in place of this dollarsign */
#line 542 "/usr/share/bison.simple" #line 542 "/usr/lib/bison.simple"
yyvsp -= yylen; yyvsp -= yylen;
yyssp -= yylen; yyssp -= yylen;
......
...@@ -514,7 +514,7 @@ cast_expr: ...@@ -514,7 +514,7 @@ cast_expr:
else else
name = ""; name = "";
$$ = result; $$ = result;
if (TREE_CODE (type) == ARRAY_TYPE && TYPE_SIZE (type) == 0) if (TREE_CODE (type) == ARRAY_TYPE && !COMPLETE_TYPE_P (type))
{ {
int failure = complete_array_type (type, $$, 1); int failure = complete_array_type (type, $$, 1);
if (failure) if (failure)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment