From: Jeffrey A Law Date: Fri, 31 Mar 2000 01:05:27 +0000 (+0000) Subject: c-parse.in (cast_expr): Move change from March 21 into c-parse.in since it is used... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=64463c2a7b08a07e8592f587563856c60409309f;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index daea4d00bea..d83f200a0aa 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -13,6 +13,10 @@ Thu Mar 30 06:32:51 2000 Richard Kenner 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 emit_block_move in bits, not bytes. diff --git a/gcc/c-parse.in b/gcc/c-parse.in index 6a079b4946f..3db3089293f 100644 --- a/gcc/c-parse.in +++ b/gcc/c-parse.in @@ -533,7 +533,7 @@ cast_expr: else name = ""; $$ = 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); if (failure) diff --git a/gcc/objc/objc-parse.c b/gcc/objc/objc-parse.c index 6d6679f7abd..d83adf26b30 100644 --- a/gcc/objc/objc-parse.c +++ b/gcc/objc/objc-parse.c @@ -1754,7 +1754,7 @@ static const short yycheck[] = { 56, 50, 51, 52, 53, 54, 55, 56, 57 }; /* -*-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. */ /* Skeleton output parser for bison, @@ -1968,7 +1968,7 @@ __yy_memcpy (char *to, char *from, unsigned int count) #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 into yyparse. The argument should have type void *. @@ -2589,7 +2589,7 @@ case 65: else name = ""; 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); if (failure) @@ -5091,7 +5091,7 @@ case 570: break;} } /* 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; yyssp -= yylen; diff --git a/gcc/objc/objc-parse.y b/gcc/objc/objc-parse.y index 3413a2cd6bc..29359e96fab 100644 --- a/gcc/objc/objc-parse.y +++ b/gcc/objc/objc-parse.y @@ -514,7 +514,7 @@ cast_expr: else name = ""; $$ = 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); if (failure)