aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-parse.c')
-rw-r--r--gcc/c-parse.c729
1 files changed, 363 insertions, 366 deletions
diff --git a/gcc/c-parse.c b/gcc/c-parse.c
index 8a3dfec4bc3..74530d35d2f 100644
--- a/gcc/c-parse.c
+++ b/gcc/c-parse.c
@@ -68,11 +68,8 @@
#line 56 "c-parse.y"
#include "config.h"
-
-#include <stdio.h>
-#include <errno.h>
+#include "system.h"
#include <setjmp.h>
-
#include "tree.h"
#include "input.h"
#include "c-lex.h"
@@ -101,10 +98,10 @@ void yyerror ();
/* Cause the `yydebug' variable to be defined. */
#define YYDEBUG 1
-#line 94 "c-parse.y"
+#line 91 "c-parse.y"
typedef union {long itype; tree ttype; enum tree_code code;
char *filename; int lineno; int ends_in_label; } YYSTYPE;
-#line 210 "c-parse.y"
+#line 207 "c-parse.y"
/* Number of statements (loosely speaking) and compound statements
seen so far. */
@@ -360,46 +357,46 @@ static const short yyrhs[] = { -1,
#if YYDEBUG != 0
static const short yyrline[] = { 0,
- 239, 244, 258, 260, 260, 261, 263, 265, 266, 274,
- 278, 289, 294, 299, 301, 303, 304, 305, 310, 317,
- 319, 324, 329, 335, 337, 342, 347, 353, 355, 360,
- 367, 369, 372, 374, 376, 378, 380, 382, 384, 388,
- 392, 395, 398, 401, 405, 407, 410, 413, 417, 445,
- 451, 454, 457, 460, 462, 466, 470, 474, 476, 479,
- 483, 510, 512, 514, 516, 518, 520, 522, 524, 526,
- 528, 530, 532, 534, 536, 540, 542, 546, 548, 551,
- 555, 557, 564, 567, 570, 576, 675, 676, 678, 684,
- 686, 700, 723, 725, 727, 731, 737, 739, 744, 746,
- 751, 753, 754, 764, 769, 771, 772, 773, 780, 786,
- 791, 794, 802, 807, 809, 810, 811, 818, 829, 833,
- 839, 844, 849, 854, 856, 858, 867, 870, 874, 876,
- 878, 883, 887, 890, 894, 897, 899, 911, 914, 916,
- 918, 922, 926, 928, 931, 944, 947, 951, 953, 961,
- 962, 963, 967, 969, 975, 976, 977, 980, 982, 985,
- 987, 990, 993, 999, 1006, 1008, 1015, 1022, 1025, 1032,
- 1035, 1039, 1042, 1046, 1051, 1054, 1058, 1061, 1063, 1065,
- 1067, 1074, 1076, 1077, 1078, 1083, 1085, 1090, 1098, 1103,
- 1107, 1110, 1112, 1117, 1120, 1122, 1124, 1128, 1131, 1131,
- 1134, 1134, 1137, 1137, 1140, 1140, 1143, 1145, 1156, 1164,
- 1168, 1179, 1187, 1194, 1196, 1201, 1204, 1209, 1211, 1213,
- 1220, 1222, 1230, 1236, 1238, 1240, 1247, 1249, 1255, 1261,
- 1263, 1265, 1267, 1274, 1276, 1279, 1284, 1286, 1290, 1292,
- 1294, 1296, 1300, 1302, 1305, 1308, 1311, 1314, 1318, 1320,
- 1323, 1325, 1329, 1332, 1337, 1339, 1341, 1355, 1362, 1367,
- 1373, 1378, 1380, 1385, 1387, 1391, 1395, 1399, 1409, 1411,
- 1416, 1421, 1424, 1428, 1431, 1435, 1438, 1441, 1444, 1448,
- 1451, 1455, 1459, 1461, 1463, 1465, 1467, 1469, 1471, 1473,
- 1483, 1491, 1493, 1495, 1499, 1501, 1504, 1507, 1518, 1520,
- 1525, 1527, 1530, 1544, 1547, 1550, 1552, 1554, 1562, 1570,
- 1581, 1586, 1589, 1603, 1612, 1616, 1620, 1624, 1630, 1634,
- 1639, 1642, 1647, 1650, 1651, 1668, 1673, 1676, 1688, 1690,
- 1700, 1710, 1711, 1719, 1722, 1734, 1738, 1755, 1765, 1774,
- 1779, 1784, 1789, 1793, 1797, 1808, 1815, 1822, 1829, 1840,
- 1846, 1849, 1854, 1877, 1911, 1942, 1973, 1988, 1999, 2003,
- 2007, 2010, 2015, 2017, 2020, 2022, 2026, 2031, 2034, 2040,
- 2045, 2050, 2052, 2061, 2062, 2068, 2070, 2080, 2082, 2086,
- 2089, 2095, 2105, 2114, 2123, 2133, 2147, 2152, 2157, 2159,
- 2168, 2171, 2176, 2179, 2183
+ 236, 241, 255, 257, 257, 258, 260, 262, 263, 271,
+ 275, 286, 291, 296, 298, 300, 301, 302, 307, 314,
+ 316, 321, 326, 332, 334, 339, 344, 350, 352, 357,
+ 364, 366, 369, 371, 373, 375, 377, 379, 381, 385,
+ 389, 392, 395, 398, 402, 404, 407, 410, 414, 442,
+ 448, 451, 454, 457, 459, 463, 467, 471, 473, 476,
+ 480, 507, 509, 511, 513, 515, 517, 519, 521, 523,
+ 525, 527, 529, 531, 533, 537, 539, 543, 545, 548,
+ 552, 554, 561, 564, 567, 573, 672, 673, 675, 681,
+ 683, 697, 720, 722, 724, 728, 734, 736, 741, 743,
+ 748, 750, 751, 761, 766, 768, 769, 770, 777, 783,
+ 788, 791, 799, 804, 806, 807, 808, 815, 826, 830,
+ 836, 841, 846, 851, 853, 855, 864, 867, 871, 873,
+ 875, 880, 884, 887, 891, 894, 896, 908, 911, 913,
+ 915, 919, 923, 925, 928, 941, 944, 948, 950, 958,
+ 959, 960, 964, 966, 972, 973, 974, 977, 979, 982,
+ 984, 987, 990, 996, 1003, 1005, 1012, 1019, 1022, 1029,
+ 1032, 1036, 1039, 1043, 1048, 1051, 1055, 1058, 1060, 1062,
+ 1064, 1071, 1073, 1074, 1075, 1080, 1082, 1087, 1095, 1100,
+ 1104, 1107, 1109, 1114, 1117, 1119, 1121, 1125, 1128, 1128,
+ 1131, 1131, 1134, 1134, 1137, 1137, 1140, 1142, 1153, 1161,
+ 1165, 1176, 1184, 1191, 1193, 1198, 1201, 1206, 1208, 1210,
+ 1217, 1219, 1227, 1233, 1235, 1237, 1244, 1246, 1252, 1258,
+ 1260, 1262, 1264, 1271, 1273, 1276, 1281, 1283, 1287, 1289,
+ 1291, 1293, 1297, 1299, 1302, 1305, 1308, 1311, 1315, 1317,
+ 1320, 1322, 1326, 1329, 1334, 1336, 1338, 1352, 1359, 1364,
+ 1370, 1375, 1377, 1382, 1384, 1388, 1392, 1396, 1406, 1408,
+ 1413, 1418, 1421, 1425, 1428, 1432, 1435, 1438, 1441, 1445,
+ 1448, 1452, 1456, 1458, 1460, 1462, 1464, 1466, 1468, 1470,
+ 1480, 1488, 1490, 1492, 1496, 1498, 1501, 1504, 1515, 1517,
+ 1522, 1524, 1527, 1541, 1544, 1547, 1549, 1551, 1559, 1567,
+ 1578, 1583, 1586, 1600, 1609, 1613, 1617, 1621, 1627, 1631,
+ 1636, 1639, 1644, 1647, 1648, 1665, 1670, 1673, 1685, 1687,
+ 1697, 1707, 1708, 1716, 1719, 1731, 1735, 1752, 1762, 1771,
+ 1776, 1781, 1786, 1790, 1794, 1805, 1812, 1819, 1826, 1837,
+ 1843, 1846, 1851, 1874, 1908, 1939, 1970, 1985, 1996, 2000,
+ 2004, 2007, 2012, 2014, 2017, 2019, 2023, 2028, 2031, 2037,
+ 2042, 2047, 2049, 2058, 2059, 2065, 2067, 2077, 2079, 2083,
+ 2086, 2092, 2102, 2111, 2120, 2130, 2144, 2149, 2154, 2156,
+ 2165, 2168, 2173, 2176, 2180
};
#endif
@@ -1662,14 +1659,14 @@ yyreduce:
switch (yyn) {
case 1:
-#line 240 "c-parse.y"
+#line 237 "c-parse.y"
{ if (pedantic)
pedwarn ("ANSI C forbids an empty source file");
finish_file ();
;
break;}
case 2:
-#line 245 "c-parse.y"
+#line 242 "c-parse.y"
{
/* In case there were missing closebraces,
get us back to the global binding level. */
@@ -1679,15 +1676,15 @@ case 2:
;
break;}
case 3:
-#line 259 "c-parse.y"
+#line 256 "c-parse.y"
{yyval.ttype = NULL_TREE; ;
break;}
case 5:
-#line 260 "c-parse.y"
+#line 257 "c-parse.y"
{yyval.ttype = NULL_TREE; ;
break;}
case 9:
-#line 267 "c-parse.y"
+#line 264 "c-parse.y"
{ STRIP_NOPS (yyvsp[-2].ttype);
if ((TREE_CODE (yyvsp[-2].ttype) == ADDR_EXPR
&& TREE_CODE (TREE_OPERAND (yyvsp[-2].ttype, 0)) == STRING_CST)
@@ -1697,11 +1694,11 @@ case 9:
error ("argument of `asm' is not a constant string"); ;
break;}
case 10:
-#line 275 "c-parse.y"
+#line 272 "c-parse.y"
{ pedantic = yyvsp[-1].itype; ;
break;}
case 11:
-#line 280 "c-parse.y"
+#line 277 "c-parse.y"
{ if (pedantic)
error ("ANSI C forbids data definition with no type or storage class");
else if (!flag_traditional)
@@ -1713,45 +1710,45 @@ case 11:
resume_momentary (yyvsp[-2].itype); ;
break;}
case 12:
-#line 290 "c-parse.y"
+#line 287 "c-parse.y"
{ current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-2].itype); ;
break;}
case 13:
-#line 295 "c-parse.y"
+#line 292 "c-parse.y"
{ current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-2].itype); ;
break;}
case 14:
-#line 300 "c-parse.y"
+#line 297 "c-parse.y"
{ pedwarn ("empty declaration"); ;
break;}
case 15:
-#line 302 "c-parse.y"
+#line 299 "c-parse.y"
{ shadow_tag (yyvsp[-1].ttype); ;
break;}
case 18:
-#line 306 "c-parse.y"
+#line 303 "c-parse.y"
{ if (pedantic)
pedwarn ("ANSI C does not allow extra `;' outside of a function"); ;
break;}
case 19:
-#line 312 "c-parse.y"
+#line 309 "c-parse.y"
{ if (! start_function (current_declspecs, yyvsp[0].ttype,
prefix_attributes, NULL_TREE, 0))
YYERROR1;
reinit_parse_for_function (); ;
break;}
case 20:
-#line 317 "c-parse.y"
+#line 314 "c-parse.y"
{ store_parm_decls (); ;
break;}
case 21:
-#line 319 "c-parse.y"
+#line 316 "c-parse.y"
{ finish_function (0);
current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
@@ -1759,25 +1756,25 @@ case 21:
resume_momentary (yyvsp[-5].itype); ;
break;}
case 22:
-#line 325 "c-parse.y"
+#line 322 "c-parse.y"
{ current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-2].itype); ;
break;}
case 23:
-#line 330 "c-parse.y"
+#line 327 "c-parse.y"
{ if (! start_function (current_declspecs, yyvsp[0].ttype,
prefix_attributes, NULL_TREE, 0))
YYERROR1;
reinit_parse_for_function (); ;
break;}
case 24:
-#line 335 "c-parse.y"
+#line 332 "c-parse.y"
{ store_parm_decls (); ;
break;}
case 25:
-#line 337 "c-parse.y"
+#line 334 "c-parse.y"
{ finish_function (0);
current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
@@ -1785,25 +1782,25 @@ case 25:
resume_momentary (yyvsp[-5].itype); ;
break;}
case 26:
-#line 343 "c-parse.y"
+#line 340 "c-parse.y"
{ current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-2].itype); ;
break;}
case 27:
-#line 348 "c-parse.y"
+#line 345 "c-parse.y"
{ if (! start_function (NULL_TREE, yyvsp[0].ttype,
prefix_attributes, NULL_TREE, 0))
YYERROR1;
reinit_parse_for_function (); ;
break;}
case 28:
-#line 353 "c-parse.y"
+#line 350 "c-parse.y"
{ store_parm_decls (); ;
break;}
case 29:
-#line 355 "c-parse.y"
+#line 352 "c-parse.y"
{ finish_function (0);
current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
@@ -1811,72 +1808,72 @@ case 29:
resume_momentary (yyvsp[-5].itype); ;
break;}
case 30:
-#line 361 "c-parse.y"
+#line 358 "c-parse.y"
{ current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-2].itype); ;
break;}
case 33:
-#line 373 "c-parse.y"
+#line 370 "c-parse.y"
{ yyval.code = ADDR_EXPR; ;
break;}
case 34:
-#line 375 "c-parse.y"
+#line 372 "c-parse.y"
{ yyval.code = NEGATE_EXPR; ;
break;}
case 35:
-#line 377 "c-parse.y"
+#line 374 "c-parse.y"
{ yyval.code = CONVERT_EXPR; ;
break;}
case 36:
-#line 379 "c-parse.y"
+#line 376 "c-parse.y"
{ yyval.code = PREINCREMENT_EXPR; ;
break;}
case 37:
-#line 381 "c-parse.y"
+#line 378 "c-parse.y"
{ yyval.code = PREDECREMENT_EXPR; ;
break;}
case 38:
-#line 383 "c-parse.y"
+#line 380 "c-parse.y"
{ yyval.code = BIT_NOT_EXPR; ;
break;}
case 39:
-#line 385 "c-parse.y"
+#line 382 "c-parse.y"
{ yyval.code = TRUTH_NOT_EXPR; ;
break;}
case 40:
-#line 389 "c-parse.y"
+#line 386 "c-parse.y"
{ yyval.ttype = build_compound_expr (yyvsp[0].ttype); ;
break;}
case 41:
-#line 394 "c-parse.y"
+#line 391 "c-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 43:
-#line 400 "c-parse.y"
+#line 397 "c-parse.y"
{ yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;
break;}
case 44:
-#line 402 "c-parse.y"
+#line 399 "c-parse.y"
{ chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;
break;}
case 46:
-#line 408 "c-parse.y"
+#line 405 "c-parse.y"
{ yyval.ttype = build_indirect_ref (yyvsp[0].ttype, "unary *"); ;
break;}
case 47:
-#line 411 "c-parse.y"
+#line 408 "c-parse.y"
{ yyval.ttype = yyvsp[0].ttype;
pedantic = yyvsp[-1].itype; ;
break;}
case 48:
-#line 414 "c-parse.y"
+#line 411 "c-parse.y"
{ yyval.ttype = build_unary_op (yyvsp[-1].code, yyvsp[0].ttype, 0);
overflow_warning (yyval.ttype); ;
break;}
case 49:
-#line 418 "c-parse.y"
+#line 415 "c-parse.y"
{ tree label = lookup_label (yyvsp[0].ttype);
if (pedantic)
pedwarn ("ANSI C forbids `&&'");
@@ -1891,7 +1888,7 @@ case 49:
;
break;}
case 50:
-#line 446 "c-parse.y"
+#line 443 "c-parse.y"
{ skip_evaluation--;
if (TREE_CODE (yyvsp[0].ttype) == COMPONENT_REF
&& DECL_C_BIT_FIELD (TREE_OPERAND (yyvsp[0].ttype, 1)))
@@ -1899,49 +1896,49 @@ case 50:
yyval.ttype = c_sizeof (TREE_TYPE (yyvsp[0].ttype)); ;
break;}
case 51:
-#line 452 "c-parse.y"
+#line 449 "c-parse.y"
{ skip_evaluation--;
yyval.ttype = c_sizeof (groktypename (yyvsp[-1].ttype)); ;
break;}
case 52:
-#line 455 "c-parse.y"
+#line 452 "c-parse.y"
{ skip_evaluation--;
yyval.ttype = c_alignof_expr (yyvsp[0].ttype); ;
break;}
case 53:
-#line 458 "c-parse.y"
+#line 455 "c-parse.y"
{ skip_evaluation--;
yyval.ttype = c_alignof (groktypename (yyvsp[-1].ttype)); ;
break;}
case 54:
-#line 461 "c-parse.y"
+#line 458 "c-parse.y"
{ yyval.ttype = build_unary_op (REALPART_EXPR, yyvsp[0].ttype, 0); ;
break;}
case 55:
-#line 463 "c-parse.y"
+#line 460 "c-parse.y"
{ yyval.ttype = build_unary_op (IMAGPART_EXPR, yyvsp[0].ttype, 0); ;
break;}
case 56:
-#line 467 "c-parse.y"
+#line 464 "c-parse.y"
{ skip_evaluation++; ;
break;}
case 57:
-#line 471 "c-parse.y"
+#line 468 "c-parse.y"
{ skip_evaluation++; ;
break;}
case 59:
-#line 477 "c-parse.y"
+#line 474 "c-parse.y"
{ tree type = groktypename (yyvsp[-2].ttype);
yyval.ttype = build_c_cast (type, yyvsp[0].ttype); ;
break;}
case 60:
-#line 480 "c-parse.y"
+#line 477 "c-parse.y"
{ start_init (NULL_TREE, NULL, 0);
yyvsp[-2].ttype = groktypename (yyvsp[-2].ttype);
really_start_incremental_init (yyvsp[-2].ttype); ;
break;}
case 61:
-#line 484 "c-parse.y"
+#line 481 "c-parse.y"
{ char *name;
tree result = pop_init_level (0);
tree type = yyvsp[-5].ttype;
@@ -1968,90 +1965,90 @@ case 61:
;
break;}
case 63:
-#line 513 "c-parse.y"
+#line 510 "c-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 64:
-#line 515 "c-parse.y"
+#line 512 "c-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 65:
-#line 517 "c-parse.y"
+#line 514 "c-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 66:
-#line 519 "c-parse.y"
+#line 516 "c-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 67:
-#line 521 "c-parse.y"
+#line 518 "c-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 68:
-#line 523 "c-parse.y"
+#line 520 "c-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 69:
-#line 525 "c-parse.y"
+#line 522 "c-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 70:
-#line 527 "c-parse.y"
+#line 524 "c-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 71:
-#line 529 "c-parse.y"
+#line 526 "c-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 72:
-#line 531 "c-parse.y"
+#line 528 "c-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 73:
-#line 533 "c-parse.y"
+#line 530 "c-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 74:
-#line 535 "c-parse.y"
+#line 532 "c-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 75:
-#line 537 "c-parse.y"
+#line 534 "c-parse.y"
{ yyvsp[-1].ttype = truthvalue_conversion (default_conversion (yyvsp[-1].ttype));
skip_evaluation += yyvsp[-1].ttype == boolean_false_node; ;
break;}
case 76:
-#line 540 "c-parse.y"
+#line 537 "c-parse.y"
{ skip_evaluation -= yyvsp[-3].ttype == boolean_false_node;
yyval.ttype = parser_build_binary_op (TRUTH_ANDIF_EXPR, yyvsp[-3].ttype, yyvsp[0].ttype); ;
break;}
case 77:
-#line 543 "c-parse.y"
+#line 540 "c-parse.y"
{ yyvsp[-1].ttype = truthvalue_conversion (default_conversion (yyvsp[-1].ttype));
skip_evaluation += yyvsp[-1].ttype == boolean_true_node; ;
break;}
case 78:
-#line 546 "c-parse.y"
+#line 543 "c-parse.y"
{ skip_evaluation -= yyvsp[-3].ttype == boolean_true_node;
yyval.ttype = parser_build_binary_op (TRUTH_ORIF_EXPR, yyvsp[-3].ttype, yyvsp[0].ttype); ;
break;}
case 79:
-#line 549 "c-parse.y"
+#line 546 "c-parse.y"
{ yyvsp[-1].ttype = truthvalue_conversion (default_conversion (yyvsp[-1].ttype));
skip_evaluation += yyvsp[-1].ttype == boolean_false_node; ;
break;}
case 80:
-#line 552 "c-parse.y"
+#line 549 "c-parse.y"
{ skip_evaluation += ((yyvsp[-4].ttype == boolean_true_node)
- (yyvsp[-4].ttype == boolean_false_node)); ;
break;}
case 81:
-#line 555 "c-parse.y"
+#line 552 "c-parse.y"
{ skip_evaluation -= yyvsp[-6].ttype == boolean_true_node;
yyval.ttype = build_conditional_expr (yyvsp[-6].ttype, yyvsp[-3].ttype, yyvsp[0].ttype); ;
break;}
case 82:
-#line 558 "c-parse.y"
+#line 555 "c-parse.y"
{ if (pedantic)
pedwarn ("ANSI C forbids omitting the middle term of a ?: expression");
/* Make sure first operand is calculated only once. */
@@ -2060,23 +2057,23 @@ case 82:
skip_evaluation += yyvsp[-1].ttype == boolean_true_node; ;
break;}
case 83:
-#line 565 "c-parse.y"
+#line 562 "c-parse.y"
{ skip_evaluation -= yyvsp[-4].ttype == boolean_true_node;
yyval.ttype = build_conditional_expr (yyvsp[-4].ttype, yyvsp[-3].ttype, yyvsp[0].ttype); ;
break;}
case 84:
-#line 568 "c-parse.y"
+#line 565 "c-parse.y"
{ yyval.ttype = build_modify_expr (yyvsp[-2].ttype, NOP_EXPR, yyvsp[0].ttype);
C_SET_EXP_ORIGINAL_CODE (yyval.ttype, MODIFY_EXPR); ;
break;}
case 85:
-#line 571 "c-parse.y"
+#line 568 "c-parse.y"
{ yyval.ttype = build_modify_expr (yyvsp[-2].ttype, yyvsp[-1].code, yyvsp[0].ttype);
/* This inhibits warnings in truthvalue_conversion. */
C_SET_EXP_ORIGINAL_CODE (yyval.ttype, ERROR_MARK); ;
break;}
case 86:
-#line 578 "c-parse.y"
+#line 575 "c-parse.y"
{
yyval.ttype = lastiddecl;
if (!yyval.ttype || yyval.ttype == error_mark_node)
@@ -2176,11 +2173,11 @@ case 86:
;
break;}
case 88:
-#line 677 "c-parse.y"
+#line 674 "c-parse.y"
{ yyval.ttype = combine_strings (yyvsp[0].ttype); ;
break;}
case 89:
-#line 679 "c-parse.y"
+#line 676 "c-parse.y"
{ char class = TREE_CODE_CLASS (TREE_CODE (yyvsp[-1].ttype));
if (class == 'e' || class == '1'
|| class == '2' || class == '<')
@@ -2188,11 +2185,11 @@ case 89:
yyval.ttype = yyvsp[-1].ttype; ;
break;}
case 90:
-#line 685 "c-parse.y"
+#line 682 "c-parse.y"
{ yyval.ttype = error_mark_node; ;
break;}
case 91:
-#line 687 "c-parse.y"
+#line 684 "c-parse.y"
{ if (current_function_decl == 0)
{
error ("braced-group within expression allowed only inside a function");
@@ -2208,7 +2205,7 @@ case 91:
yyval.ttype = expand_start_stmt_expr (); ;
break;}
case 92:
-#line 701 "c-parse.y"
+#line 698 "c-parse.y"
{ tree rtl_exp;
if (pedantic)
pedwarn ("ANSI C forbids braced-groups within expressions");
@@ -2233,21 +2230,21 @@ case 92:
;
break;}
case 93:
-#line 724 "c-parse.y"
+#line 721 "c-parse.y"
{ yyval.ttype = build_function_call (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
break;}
case 94:
-#line 726 "c-parse.y"
+#line 723 "c-parse.y"
{ yyval.ttype = build_array_ref (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
break;}
case 95:
-#line 728 "c-parse.y"
+#line 725 "c-parse.y"
{
yyval.ttype = build_component_ref (yyvsp[-2].ttype, yyvsp[0].ttype);
;
break;}
case 96:
-#line 732 "c-parse.y"
+#line 729 "c-parse.y"
{
tree expr = build_indirect_ref (yyvsp[-2].ttype, "->");
@@ -2255,56 +2252,56 @@ case 96:
;
break;}
case 97:
-#line 738 "c-parse.y"
+#line 735 "c-parse.y"
{ yyval.ttype = build_unary_op (POSTINCREMENT_EXPR, yyvsp[-1].ttype, 0); ;
break;}
case 98:
-#line 740 "c-parse.y"
+#line 737 "c-parse.y"
{ yyval.ttype = build_unary_op (POSTDECREMENT_EXPR, yyvsp[-1].ttype, 0); ;
break;}
case 100:
-#line 747 "c-parse.y"
+#line 744 "c-parse.y"
{ yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;}
case 103:
-#line 756 "c-parse.y"
+#line 753 "c-parse.y"
{ c_mark_varargs ();
if (pedantic)
pedwarn ("ANSI C does not permit use of `varargs.h'"); ;
break;}
case 104:
-#line 766 "c-parse.y"
+#line 763 "c-parse.y"
{ ;
break;}
case 109:
-#line 782 "c-parse.y"
+#line 779 "c-parse.y"
{ current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-2].itype); ;
break;}
case 110:
-#line 787 "c-parse.y"
+#line 784 "c-parse.y"
{ current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-2].itype); ;
break;}
case 111:
-#line 792 "c-parse.y"
+#line 789 "c-parse.y"
{ shadow_tag_warned (yyvsp[-1].ttype, 1);
pedwarn ("empty declaration"); ;
break;}
case 112:
-#line 795 "c-parse.y"
+#line 792 "c-parse.y"
{ pedwarn ("empty declaration"); ;
break;}
case 113:
-#line 804 "c-parse.y"
+#line 801 "c-parse.y"
{ ;
break;}
case 118:
-#line 819 "c-parse.y"
+#line 816 "c-parse.y"
{ yyval.itype = suspend_momentary ();
pending_xref_error ();
declspec_stack = tree_cons (prefix_attributes,
@@ -2314,131 +2311,131 @@ case 118:
&current_declspecs, &prefix_attributes); ;
break;}
case 119:
-#line 830 "c-parse.y"
+#line 827 "c-parse.y"
{ prefix_attributes = chainon (prefix_attributes, yyvsp[0].ttype); ;
break;}
case 120:
-#line 835 "c-parse.y"
+#line 832 "c-parse.y"
{ current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-2].itype); ;
break;}
case 121:
-#line 840 "c-parse.y"
+#line 837 "c-parse.y"
{ current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-2].itype); ;
break;}
case 122:
-#line 845 "c-parse.y"
+#line 842 "c-parse.y"
{ current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-1].itype); ;
break;}
case 123:
-#line 850 "c-parse.y"
+#line 847 "c-parse.y"
{ current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-1].itype); ;
break;}
case 124:
-#line 855 "c-parse.y"
+#line 852 "c-parse.y"
{ shadow_tag (yyvsp[-1].ttype); ;
break;}
case 125:
-#line 857 "c-parse.y"
+#line 854 "c-parse.y"
{ pedwarn ("empty declaration"); ;
break;}
case 126:
-#line 859 "c-parse.y"
+#line 856 "c-parse.y"
{ pedantic = yyvsp[-1].itype; ;
break;}
case 127:
-#line 869 "c-parse.y"
+#line 866 "c-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;}
case 128:
-#line 871 "c-parse.y"
+#line 868 "c-parse.y"
{ yyval.ttype = chainon (yyvsp[0].ttype, tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[-2].ttype)); ;
break;}
case 129:
-#line 875 "c-parse.y"
+#line 872 "c-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 130:
-#line 877 "c-parse.y"
+#line 874 "c-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
break;}
case 131:
-#line 879 "c-parse.y"
+#line 876 "c-parse.y"
{ if (extra_warnings)
warning ("`%s' is not at beginning of declaration",
IDENTIFIER_POINTER (yyvsp[0].ttype));
yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
break;}
case 132:
-#line 884 "c-parse.y"
+#line 881 "c-parse.y"
{ yyval.ttype = tree_cons (yyvsp[0].ttype, NULL_TREE, yyvsp[-1].ttype); ;
break;}
case 133:
-#line 889 "c-parse.y"
+#line 886 "c-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;}
case 134:
-#line 891 "c-parse.y"
+#line 888 "c-parse.y"
{ yyval.ttype = chainon (yyvsp[0].ttype, tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[-2].ttype)); ;
break;}
case 135:
-#line 896 "c-parse.y"
+#line 893 "c-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 136:
-#line 898 "c-parse.y"
+#line 895 "c-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
break;}
case 137:
-#line 900 "c-parse.y"
+#line 897 "c-parse.y"
{ if (extra_warnings)
warning ("`%s' is not at beginning of declaration",
IDENTIFIER_POINTER (yyvsp[0].ttype));
yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
break;}
case 138:
-#line 913 "c-parse.y"
+#line 910 "c-parse.y"
{ yyval.ttype = yyvsp[0].ttype; ;
break;}
case 139:
-#line 915 "c-parse.y"
+#line 912 "c-parse.y"
{ yyval.ttype = tree_cons (yyvsp[0].ttype, NULL_TREE, NULL_TREE); ;
break;}
case 140:
-#line 917 "c-parse.y"
+#line 914 "c-parse.y"
{ yyval.ttype = chainon (yyvsp[0].ttype, yyvsp[-1].ttype); ;
break;}
case 141:
-#line 919 "c-parse.y"
+#line 916 "c-parse.y"
{ yyval.ttype = tree_cons (yyvsp[0].ttype, NULL_TREE, yyvsp[-1].ttype); ;
break;}
case 142:
-#line 924 "c-parse.y"
+#line 921 "c-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE);
TREE_STATIC (yyval.ttype) = 1; ;
break;}
case 143:
-#line 927 "c-parse.y"
+#line 924 "c-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;
break;}
case 144:
-#line 929 "c-parse.y"
+#line 926 "c-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype);
TREE_STATIC (yyval.ttype) = 1; ;
break;}
case 145:
-#line 932 "c-parse.y"
+#line 929 "c-parse.y"
{ if (extra_warnings && TREE_STATIC (yyvsp[-1].ttype))
warning ("`%s' is not at beginning of declaration",
IDENTIFIER_POINTER (yyvsp[0].ttype));
@@ -2446,138 +2443,138 @@ case 145:
TREE_STATIC (yyval.ttype) = TREE_STATIC (yyvsp[-1].ttype); ;
break;}
case 146:
-#line 946 "c-parse.y"
+#line 943 "c-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;}
case 147:
-#line 948 "c-parse.y"
+#line 945 "c-parse.y"
{ yyval.ttype = chainon (yyvsp[0].ttype, tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[-2].ttype)); ;
break;}
case 148:
-#line 952 "c-parse.y"
+#line 949 "c-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 149:
-#line 954 "c-parse.y"
+#line 951 "c-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
break;}
case 152:
-#line 964 "c-parse.y"
+#line 961 "c-parse.y"
{ /* For a typedef name, record the meaning, not the name.
In case of `foo foo, bar;'. */
yyval.ttype = lookup_name (yyvsp[0].ttype); ;
break;}
case 153:
-#line 968 "c-parse.y"
+#line 965 "c-parse.y"
{ yyval.ttype = TREE_TYPE (yyvsp[-1].ttype); ;
break;}
case 154:
-#line 970 "c-parse.y"
+#line 967 "c-parse.y"
{ yyval.ttype = groktypename (yyvsp[-1].ttype); ;
break;}
case 162:
-#line 992 "c-parse.y"
+#line 989 "c-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 163:
-#line 994 "c-parse.y"
+#line 991 "c-parse.y"
{ if (TREE_CHAIN (yyvsp[-1].ttype)) yyvsp[-1].ttype = combine_strings (yyvsp[-1].ttype);
yyval.ttype = yyvsp[-1].ttype;
;
break;}
case 164:
-#line 1001 "c-parse.y"
+#line 998 "c-parse.y"
{ yyval.ttype = start_decl (yyvsp[-3].ttype, current_declspecs, 1,
yyvsp[-1].ttype, prefix_attributes);
start_init (yyval.ttype, yyvsp[-2].ttype, global_bindings_p ()); ;
break;}
case 165:
-#line 1006 "c-parse.y"
+#line 1003 "c-parse.y"
{ finish_init ();
finish_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ;
break;}
case 166:
-#line 1009 "c-parse.y"
+#line 1006 "c-parse.y"
{ tree d = start_decl (yyvsp[-2].ttype, current_declspecs, 0,
yyvsp[0].ttype, prefix_attributes);
finish_decl (d, NULL_TREE, yyvsp[-1].ttype);
;
break;}
case 167:
-#line 1017 "c-parse.y"
+#line 1014 "c-parse.y"
{ yyval.ttype = start_decl (yyvsp[-3].ttype, current_declspecs, 1,
yyvsp[-1].ttype, prefix_attributes);
start_init (yyval.ttype, yyvsp[-2].ttype, global_bindings_p ()); ;
break;}
case 168:
-#line 1022 "c-parse.y"
+#line 1019 "c-parse.y"
{ finish_init ();
decl_attributes (yyvsp[-1].ttype, yyvsp[-3].ttype, prefix_attributes);
finish_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ;
break;}
case 169:
-#line 1026 "c-parse.y"
+#line 1023 "c-parse.y"
{ tree d = start_decl (yyvsp[-2].ttype, current_declspecs, 0,
yyvsp[0].ttype, prefix_attributes);
finish_decl (d, NULL_TREE, yyvsp[-1].ttype); ;
break;}
case 170:
-#line 1034 "c-parse.y"
+#line 1031 "c-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 171:
-#line 1036 "c-parse.y"
+#line 1033 "c-parse.y"
{ yyval.ttype = yyvsp[0].ttype; ;
break;}
case 172:
-#line 1041 "c-parse.y"
+#line 1038 "c-parse.y"
{ yyval.ttype = yyvsp[0].ttype; ;
break;}
case 173:
-#line 1043 "c-parse.y"
+#line 1040 "c-parse.y"
{ yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;}
case 174:
-#line 1048 "c-parse.y"
+#line 1045 "c-parse.y"
{ yyval.ttype = yyvsp[-2].ttype; ;
break;}
case 175:
-#line 1053 "c-parse.y"
+#line 1050 "c-parse.y"
{ yyval.ttype = yyvsp[0].ttype; ;
break;}
case 176:
-#line 1055 "c-parse.y"
+#line 1052 "c-parse.y"
{ yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 177:
-#line 1060 "c-parse.y"
+#line 1057 "c-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 178:
-#line 1062 "c-parse.y"
+#line 1059 "c-parse.y"
{ yyval.ttype = build_tree_list (yyvsp[0].ttype, NULL_TREE); ;
break;}
case 179:
-#line 1064 "c-parse.y"
+#line 1061 "c-parse.y"
{ yyval.ttype = build_tree_list (yyvsp[-3].ttype, build_tree_list (NULL_TREE, yyvsp[-1].ttype)); ;
break;}
case 180:
-#line 1066 "c-parse.y"
+#line 1063 "c-parse.y"
{ yyval.ttype = build_tree_list (yyvsp[-5].ttype, tree_cons (NULL_TREE, yyvsp[-3].ttype, yyvsp[-1].ttype)); ;
break;}
case 181:
-#line 1068 "c-parse.y"
+#line 1065 "c-parse.y"
{ yyval.ttype = build_tree_list (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
break;}
case 187:
-#line 1086 "c-parse.y"
+#line 1083 "c-parse.y"
{ really_start_incremental_init (NULL_TREE);
/* Note that the call to clear_momentary
is in process_init_element. */
push_momentary (); ;
break;}
case 188:
-#line 1091 "c-parse.y"
+#line 1088 "c-parse.y"
{ yyval.ttype = pop_init_level (0);
if (yyval.ttype == error_mark_node
&& ! (yychar == STRING || yychar == CONSTANT))
@@ -2586,48 +2583,48 @@ case 188:
pop_momentary_nofree (); ;
break;}
case 189:
-#line 1099 "c-parse.y"
+#line 1096 "c-parse.y"
{ yyval.ttype = error_mark_node; ;
break;}
case 190:
-#line 1105 "c-parse.y"
+#line 1102 "c-parse.y"
{ if (pedantic)
pedwarn ("ANSI C forbids empty initializer braces"); ;
break;}
case 194:
-#line 1119 "c-parse.y"
+#line 1116 "c-parse.y"
{ process_init_element (yyvsp[0].ttype); ;
break;}
case 195:
-#line 1121 "c-parse.y"
+#line 1118 "c-parse.y"
{ push_init_level (0); ;
break;}
case 196:
-#line 1123 "c-parse.y"
+#line 1120 "c-parse.y"
{ process_init_element (pop_init_level (0)); ;
break;}
case 198:
-#line 1129 "c-parse.y"
+#line 1126 "c-parse.y"
{ set_init_index (yyvsp[-4].ttype, yyvsp[-2].ttype); ;
break;}
case 200:
-#line 1132 "c-parse.y"
+#line 1129 "c-parse.y"
{ set_init_index (yyvsp[-2].ttype, NULL_TREE); ;
break;}
case 202:
-#line 1135 "c-parse.y"
+#line 1132 "c-parse.y"
{ set_init_index (yyvsp[-1].ttype, NULL_TREE); ;
break;}
case 204:
-#line 1138 "c-parse.y"
+#line 1135 "c-parse.y"
{ set_init_label (yyvsp[-1].ttype); ;
break;}
case 206:
-#line 1141 "c-parse.y"
+#line 1138 "c-parse.y"
{ set_init_label (yyvsp[-1].ttype); ;
break;}
case 208:
-#line 1147 "c-parse.y"
+#line 1144 "c-parse.y"
{ push_c_function_context ();
if (! start_function (current_declspecs, yyvsp[0].ttype,
prefix_attributes, NULL_TREE, 1))
@@ -2638,16 +2635,16 @@ case 208:
reinit_parse_for_function (); ;
break;}
case 209:
-#line 1156 "c-parse.y"
+#line 1153 "c-parse.y"
{ store_parm_decls (); ;
break;}
case 210:
-#line 1164 "c-parse.y"
+#line 1161 "c-parse.y"
{ finish_function (1);
pop_c_function_context (); ;
break;}
case 211:
-#line 1170 "c-parse.y"
+#line 1167 "c-parse.y"
{ push_c_function_context ();
if (! start_function (current_declspecs, yyvsp[0].ttype,
prefix_attributes, NULL_TREE, 1))
@@ -2658,172 +2655,172 @@ case 211:
reinit_parse_for_function (); ;
break;}
case 212:
-#line 1179 "c-parse.y"
+#line 1176 "c-parse.y"
{ store_parm_decls (); ;
break;}
case 213:
-#line 1187 "c-parse.y"
+#line 1184 "c-parse.y"
{ finish_function (1);
pop_c_function_context (); ;
break;}
case 216:
-#line 1203 "c-parse.y"
+#line 1200 "c-parse.y"
{ yyval.ttype = yyvsp[-1].ttype; ;
break;}
case 217:
-#line 1205 "c-parse.y"
+#line 1202 "c-parse.y"
{ yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
break;}
case 218:
-#line 1210 "c-parse.y"
+#line 1207 "c-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
break;}
case 219:
-#line 1212 "c-parse.y"
+#line 1209 "c-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
break;}
case 220:
-#line 1214 "c-parse.y"
+#line 1211 "c-parse.y"
{ yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;}
case 221:
-#line 1221 "c-parse.y"
+#line 1218 "c-parse.y"
{ yyval.ttype = yyvsp[0].ttype; ;
break;}
case 223:
-#line 1232 "c-parse.y"
+#line 1229 "c-parse.y"
{ yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
break;}
case 224:
-#line 1237 "c-parse.y"
+#line 1234 "c-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
break;}
case 225:
-#line 1239 "c-parse.y"
+#line 1236 "c-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
break;}
case 226:
-#line 1241 "c-parse.y"
+#line 1238 "c-parse.y"
{ yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;}
case 227:
-#line 1248 "c-parse.y"
+#line 1245 "c-parse.y"
{ yyval.ttype = yyvsp[0].ttype; ;
break;}
case 229:
-#line 1257 "c-parse.y"
+#line 1254 "c-parse.y"
{ yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
break;}
case 230:
-#line 1262 "c-parse.y"
+#line 1259 "c-parse.y"
{ yyval.ttype = yyvsp[-1].ttype; ;
break;}
case 231:
-#line 1264 "c-parse.y"
+#line 1261 "c-parse.y"
{ yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;}
case 232:
-#line 1266 "c-parse.y"
+#line 1263 "c-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
break;}
case 233:
-#line 1268 "c-parse.y"
+#line 1265 "c-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
break;}
case 234:
-#line 1275 "c-parse.y"
+#line 1272 "c-parse.y"
{ yyval.ttype = yyvsp[0].ttype; ;
break;}
case 236:
-#line 1281 "c-parse.y"
+#line 1278 "c-parse.y"
{ yyval.ttype = start_struct (RECORD_TYPE, yyvsp[-1].ttype);
/* Start scope of tag before parsing components. */
;
break;}
case 237:
-#line 1285 "c-parse.y"
+#line 1282 "c-parse.y"
{ yyval.ttype = finish_struct (yyvsp[-3].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 238:
-#line 1287 "c-parse.y"
+#line 1284 "c-parse.y"
{ yyval.ttype = finish_struct (start_struct (RECORD_TYPE, NULL_TREE),
yyvsp[-2].ttype, yyvsp[0].ttype);
;
break;}
case 239:
-#line 1291 "c-parse.y"
+#line 1288 "c-parse.y"
{ yyval.ttype = xref_tag (RECORD_TYPE, yyvsp[0].ttype); ;
break;}
case 240:
-#line 1293 "c-parse.y"
+#line 1290 "c-parse.y"
{ yyval.ttype = start_struct (UNION_TYPE, yyvsp[-1].ttype); ;
break;}
case 241:
-#line 1295 "c-parse.y"
+#line 1292 "c-parse.y"
{ yyval.ttype = finish_struct (yyvsp[-3].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 242:
-#line 1297 "c-parse.y"
+#line 1294 "c-parse.y"
{ yyval.ttype = finish_struct (start_struct (UNION_TYPE, NULL_TREE),
yyvsp[-2].ttype, yyvsp[0].ttype);
;
break;}
case 243:
-#line 1301 "c-parse.y"
+#line 1298 "c-parse.y"
{ yyval.ttype = xref_tag (UNION_TYPE, yyvsp[0].ttype); ;
break;}
case 244:
-#line 1303 "c-parse.y"
+#line 1300 "c-parse.y"
{ yyvsp[0].itype = suspend_momentary ();
yyval.ttype = start_enum (yyvsp[-1].ttype); ;
break;}
case 245:
-#line 1306 "c-parse.y"
+#line 1303 "c-parse.y"
{ yyval.ttype = finish_enum (yyvsp[-4].ttype, nreverse (yyvsp[-3].ttype), yyvsp[0].ttype);
resume_momentary (yyvsp[-5].itype); ;
break;}
case 246:
-#line 1309 "c-parse.y"
+#line 1306 "c-parse.y"
{ yyvsp[0].itype = suspend_momentary ();
yyval.ttype = start_enum (NULL_TREE); ;
break;}
case 247:
-#line 1312 "c-parse.y"
+#line 1309 "c-parse.y"
{ yyval.ttype = finish_enum (yyvsp[-4].ttype, nreverse (yyvsp[-3].ttype), yyvsp[0].ttype);
resume_momentary (yyvsp[-5].itype); ;
break;}
case 248:
-#line 1315 "c-parse.y"
+#line 1312 "c-parse.y"
{ yyval.ttype = xref_tag (ENUMERAL_TYPE, yyvsp[0].ttype); ;
break;}
case 252:
-#line 1326 "c-parse.y"
+#line 1323 "c-parse.y"
{ if (pedantic) pedwarn ("comma at end of enumerator list"); ;
break;}
case 253:
-#line 1331 "c-parse.y"
+#line 1328 "c-parse.y"
{ yyval.ttype = yyvsp[0].ttype; ;
break;}
case 254:
-#line 1333 "c-parse.y"
+#line 1330 "c-parse.y"
{ yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype);
pedwarn ("no semicolon at end of struct or union"); ;
break;}
case 255:
-#line 1338 "c-parse.y"
+#line 1335 "c-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 256:
-#line 1340 "c-parse.y"
+#line 1337 "c-parse.y"
{ yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[-1].ttype); ;
break;}
case 257:
-#line 1342 "c-parse.y"
+#line 1339 "c-parse.y"
{ if (pedantic)
pedwarn ("extra semicolon in struct or union specified"); ;
break;}
case 258:
-#line 1357 "c-parse.y"
+#line 1354 "c-parse.y"
{ yyval.ttype = yyvsp[0].ttype;
current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
@@ -2831,14 +2828,14 @@ case 258:
resume_momentary (yyvsp[-1].itype); ;
break;}
case 259:
-#line 1363 "c-parse.y"
+#line 1360 "c-parse.y"
{ if (pedantic)
pedwarn ("ANSI C forbids member declarations with no members");
shadow_tag(yyvsp[0].ttype);
yyval.ttype = NULL_TREE; ;
break;}
case 260:
-#line 1368 "c-parse.y"
+#line 1365 "c-parse.y"
{ yyval.ttype = yyvsp[0].ttype;
current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
@@ -2846,140 +2843,140 @@ case 260:
resume_momentary (yyvsp[-1].itype); ;
break;}
case 261:
-#line 1374 "c-parse.y"
+#line 1371 "c-parse.y"
{ if (pedantic)
pedwarn ("ANSI C forbids member declarations with no members");
shadow_tag(yyvsp[0].ttype);
yyval.ttype = NULL_TREE; ;
break;}
case 262:
-#line 1379 "c-parse.y"
+#line 1376 "c-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 263:
-#line 1381 "c-parse.y"
+#line 1378 "c-parse.y"
{ yyval.ttype = yyvsp[0].ttype;
pedantic = yyvsp[-1].itype; ;
break;}
case 265:
-#line 1388 "c-parse.y"
+#line 1385 "c-parse.y"
{ yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 266:
-#line 1393 "c-parse.y"
+#line 1390 "c-parse.y"
{ yyval.ttype = grokfield (yyvsp[-3].filename, yyvsp[-2].lineno, yyvsp[-1].ttype, current_declspecs, NULL_TREE);
decl_attributes (yyval.ttype, yyvsp[0].ttype, prefix_attributes); ;
break;}
case 267:
-#line 1397 "c-parse.y"
+#line 1394 "c-parse.y"
{ yyval.ttype = grokfield (yyvsp[-5].filename, yyvsp[-4].lineno, yyvsp[-3].ttype, current_declspecs, yyvsp[-1].ttype);
decl_attributes (yyval.ttype, yyvsp[0].ttype, prefix_attributes); ;
break;}
case 268:
-#line 1400 "c-parse.y"
+#line 1397 "c-parse.y"
{ yyval.ttype = grokfield (yyvsp[-4].filename, yyvsp[-3].lineno, NULL_TREE, current_declspecs, yyvsp[-1].ttype);
decl_attributes (yyval.ttype, yyvsp[0].ttype, prefix_attributes); ;
break;}
case 270:
-#line 1412 "c-parse.y"
+#line 1409 "c-parse.y"
{ if (yyvsp[-2].ttype == error_mark_node)
yyval.ttype = yyvsp[-2].ttype;
else
yyval.ttype = chainon (yyvsp[0].ttype, yyvsp[-2].ttype); ;
break;}
case 271:
-#line 1417 "c-parse.y"
+#line 1414 "c-parse.y"
{ yyval.ttype = error_mark_node; ;
break;}
case 272:
-#line 1423 "c-parse.y"
+#line 1420 "c-parse.y"
{ yyval.ttype = build_enumerator (yyvsp[0].ttype, NULL_TREE); ;
break;}
case 273:
-#line 1425 "c-parse.y"
+#line 1422 "c-parse.y"
{ yyval.ttype = build_enumerator (yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 274:
-#line 1430 "c-parse.y"
+#line 1427 "c-parse.y"
{ yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;}
case 275:
-#line 1432 "c-parse.y"
+#line 1429 "c-parse.y"
{ yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;}
case 276:
-#line 1437 "c-parse.y"
+#line 1434 "c-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 278:
-#line 1443 "c-parse.y"
+#line 1440 "c-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;
break;}
case 279:
-#line 1445 "c-parse.y"
+#line 1442 "c-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
break;}
case 280:
-#line 1450 "c-parse.y"
+#line 1447 "c-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 281:
-#line 1452 "c-parse.y"
+#line 1449 "c-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
break;}
case 282:
-#line 1457 "c-parse.y"
+#line 1454 "c-parse.y"
{ yyval.ttype = yyvsp[-1].ttype; ;
break;}
case 283:
-#line 1460 "c-parse.y"
+#line 1457 "c-parse.y"
{ yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;}
case 284:
-#line 1462 "c-parse.y"
+#line 1459 "c-parse.y"
{ yyval.ttype = make_pointer_declarator (yyvsp[0].ttype, NULL_TREE); ;
break;}
case 285:
-#line 1464 "c-parse.y"
+#line 1461 "c-parse.y"
{ yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
break;}
case 286:
-#line 1466 "c-parse.y"
+#line 1463 "c-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
break;}
case 287:
-#line 1468 "c-parse.y"
+#line 1465 "c-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
break;}
case 288:
-#line 1470 "c-parse.y"
+#line 1467 "c-parse.y"
{ yyval.ttype = build_nt (CALL_EXPR, NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;
break;}
case 289:
-#line 1472 "c-parse.y"
+#line 1469 "c-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, NULL_TREE, yyvsp[-1].ttype); ;
break;}
case 290:
-#line 1474 "c-parse.y"
+#line 1471 "c-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, NULL_TREE, NULL_TREE); ;
break;}
case 291:
-#line 1485 "c-parse.y"
+#line 1482 "c-parse.y"
{
if (pedantic && yyvsp[0].ends_in_label)
pedwarn ("ANSI C forbids label at end of compound statement");
;
break;}
case 293:
-#line 1494 "c-parse.y"
+#line 1491 "c-parse.y"
{ yyval.ends_in_label = yyvsp[0].ends_in_label; ;
break;}
case 294:
-#line 1496 "c-parse.y"
+#line 1493 "c-parse.y"
{ yyval.ends_in_label = 0; ;
break;}
case 298:
-#line 1508 "c-parse.y"
+#line 1505 "c-parse.y"
{ emit_line_note (input_filename, lineno);
pushlevel (0);
clear_last_expr ();
@@ -2988,12 +2985,12 @@ case 298:
;
break;}
case 300:
-#line 1521 "c-parse.y"
+#line 1518 "c-parse.y"
{ if (pedantic)
pedwarn ("ANSI C forbids label declarations"); ;
break;}
case 303:
-#line 1532 "c-parse.y"
+#line 1529 "c-parse.y"
{ tree link;
for (link = yyvsp[-1].ttype; link; link = TREE_CHAIN (link))
{
@@ -3004,19 +3001,19 @@ case 303:
;
break;}
case 304:
-#line 1546 "c-parse.y"
+#line 1543 "c-parse.y"
{;
break;}
case 306:
-#line 1550 "c-parse.y"
+#line 1547 "c-parse.y"
{ compstmt_count++; ;
break;}
case 307:
-#line 1553 "c-parse.y"
+#line 1550 "c-parse.y"
{ yyval.ttype = convert (void_type_node, integer_zero_node); ;
break;}
case 308:
-#line 1555 "c-parse.y"
+#line 1552 "c-parse.y"
{ emit_line_note (input_filename, lineno);
expand_end_bindings (getdecls (), 1, 0);
yyval.ttype = poplevel (1, 1, 0);
@@ -3026,7 +3023,7 @@ case 308:
pop_momentary (); ;
break;}
case 309:
-#line 1563 "c-parse.y"
+#line 1560 "c-parse.y"
{ emit_line_note (input_filename, lineno);
expand_end_bindings (getdecls (), kept_level_p (), 0);
yyval.ttype = poplevel (kept_level_p (), 0, 0);
@@ -3036,7 +3033,7 @@ case 309:
pop_momentary (); ;
break;}
case 310:
-#line 1571 "c-parse.y"
+#line 1568 "c-parse.y"
{ emit_line_note (input_filename, lineno);
expand_end_bindings (getdecls (), kept_level_p (), 0);
yyval.ttype = poplevel (kept_level_p (), 0, 0);
@@ -3046,7 +3043,7 @@ case 310:
pop_momentary (); ;
break;}
case 313:
-#line 1591 "c-parse.y"
+#line 1588 "c-parse.y"
{ emit_line_note (yyvsp[-5].filename, yyvsp[-4].lineno);
c_expand_start_cond (truthvalue_conversion (yyvsp[-1].ttype), 0,
compstmt_count);
@@ -3056,7 +3053,7 @@ case 313:
position_after_white_space (); ;
break;}
case 314:
-#line 1605 "c-parse.y"
+#line 1602 "c-parse.y"
{ stmt_count++;
compstmt_count++;
emit_line_note (yyvsp[-2].filename, yyvsp[-1].lineno);
@@ -3066,43 +3063,43 @@ case 314:
position_after_white_space (); ;
break;}
case 315:
-#line 1613 "c-parse.y"
+#line 1610 "c-parse.y"
{ expand_loop_continue_here (); ;
break;}
case 316:
-#line 1617 "c-parse.y"
+#line 1614 "c-parse.y"
{ yyval.filename = input_filename; ;
break;}
case 317:
-#line 1621 "c-parse.y"
+#line 1618 "c-parse.y"
{ yyval.lineno = lineno; ;
break;}
case 318:
-#line 1626 "c-parse.y"
+#line 1623 "c-parse.y"
{ ;
break;}
case 319:
-#line 1631 "c-parse.y"
+#line 1628 "c-parse.y"
{ ;
break;}
case 320:
-#line 1636 "c-parse.y"
+#line 1633 "c-parse.y"
{ yyval.ends_in_label = yyvsp[0].ends_in_label; ;
break;}
case 321:
-#line 1641 "c-parse.y"
+#line 1638 "c-parse.y"
{ yyval.ends_in_label = 0; ;
break;}
case 322:
-#line 1643 "c-parse.y"
+#line 1640 "c-parse.y"
{ yyval.ends_in_label = 1; ;
break;}
case 323:
-#line 1649 "c-parse.y"
+#line 1646 "c-parse.y"
{ stmt_count++; ;
break;}
case 325:
-#line 1652 "c-parse.y"
+#line 1649 "c-parse.y"
{ stmt_count++;
emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno);
/* It appears that this should not be done--that a non-lvalue array
@@ -3121,19 +3118,19 @@ case 325:
clear_momentary (); ;
break;}
case 326:
-#line 1669 "c-parse.y"
+#line 1666 "c-parse.y"
{ c_expand_start_else ();
yyvsp[-1].itype = stmt_count;
position_after_white_space (); ;
break;}
case 327:
-#line 1673 "c-parse.y"
+#line 1670 "c-parse.y"
{ c_expand_end_cond ();
if (extra_warnings && stmt_count == yyvsp[-3].itype)
warning ("empty body in an else-statement"); ;
break;}
case 328:
-#line 1677 "c-parse.y"
+#line 1674 "c-parse.y"
{ c_expand_end_cond ();
/* This warning is here instead of in simple_if, because we
do not want a warning if an empty if is followed by an
@@ -3144,11 +3141,11 @@ case 328:
"empty body in an if-statement"); ;
break;}
case 329:
-#line 1689 "c-parse.y"
+#line 1686 "c-parse.y"
{ c_expand_end_cond (); ;
break;}
case 330:
-#line 1691 "c-parse.y"
+#line 1688 "c-parse.y"
{ stmt_count++;
emit_line_note (yyvsp[-2].filename, yyvsp[-1].lineno);
/* The emit_nop used to come before emit_line_note,
@@ -3160,7 +3157,7 @@ case 330:
emit_nop (); ;
break;}
case 331:
-#line 1701 "c-parse.y"
+#line 1698 "c-parse.y"
{ /* Don't start the loop till we have succeeded
in parsing the end test. This is to make sure
that we end every loop we start. */
@@ -3171,11 +3168,11 @@ case 331:
position_after_white_space (); ;
break;}
case 332:
-#line 1710 "c-parse.y"
+#line 1707 "c-parse.y"
{ expand_end_loop (); ;
break;}
case 333:
-#line 1713 "c-parse.y"
+#line 1710 "c-parse.y"
{ emit_line_note (input_filename, lineno);
expand_exit_loop_if_false (NULL_PTR,
truthvalue_conversion (yyvsp[-2].ttype));
@@ -3183,12 +3180,12 @@ case 333:
clear_momentary (); ;
break;}
case 334:
-#line 1720 "c-parse.y"
+#line 1717 "c-parse.y"
{ expand_end_loop ();
clear_momentary (); ;
break;}
case 335:
-#line 1724 "c-parse.y"
+#line 1721 "c-parse.y"
{ stmt_count++;
emit_line_note (yyvsp[-5].filename, yyvsp[-4].lineno);
/* See comment in `while' alternative, above. */
@@ -3201,12 +3198,12 @@ case 335:
;
break;}
case 336:
-#line 1736 "c-parse.y"
+#line 1733 "c-parse.y"
{ yyvsp[0].lineno = lineno;
yyval.filename = input_filename; ;
break;}
case 337:
-#line 1739 "c-parse.y"
+#line 1736 "c-parse.y"
{
/* Start the loop. Doing this after parsing
all the expressions ensures we will end the loop. */
@@ -3224,7 +3221,7 @@ case 337:
position_after_white_space (); ;
break;}
case 338:
-#line 1755 "c-parse.y"
+#line 1752 "c-parse.y"
{ /* Emit the increment expression, with a line number. */
emit_line_note (yyvsp[-4].filename, yyvsp[-5].lineno);
expand_loop_continue_here ();
@@ -3237,7 +3234,7 @@ case 338:
expand_end_loop (); ;
break;}
case 339:
-#line 1766 "c-parse.y"
+#line 1763 "c-parse.y"
{ stmt_count++;
emit_line_note (yyvsp[-5].filename, yyvsp[-4].lineno);
c_expand_start_case (yyvsp[-1].ttype);
@@ -3247,7 +3244,7 @@ case 339:
position_after_white_space (); ;
break;}
case 340:
-#line 1774 "c-parse.y"
+#line 1771 "c-parse.y"
{ expand_end_case (yyvsp[-3].ttype);
if (yychar == CONSTANT || yychar == STRING)
pop_momentary_nofree ();
@@ -3255,33 +3252,33 @@ case 340:
pop_momentary (); ;
break;}
case 341:
-#line 1780 "c-parse.y"
+#line 1777 "c-parse.y"
{ stmt_count++;
emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno);
if ( ! expand_exit_something ())
error ("break statement not within loop or switch"); ;
break;}
case 342:
-#line 1785 "c-parse.y"
+#line 1782 "c-parse.y"
{ stmt_count++;
emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno);
if (! expand_continue_loop (NULL_PTR))
error ("continue statement not within a loop"); ;
break;}
case 343:
-#line 1790 "c-parse.y"
+#line 1787 "c-parse.y"
{ stmt_count++;
emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno);
c_expand_return (NULL_TREE); ;
break;}
case 344:
-#line 1794 "c-parse.y"
+#line 1791 "c-parse.y"
{ stmt_count++;
emit_line_note (yyvsp[-4].filename, yyvsp[-3].lineno);
c_expand_return (yyvsp[-1].ttype); ;
break;}
case 345:
-#line 1798 "c-parse.y"
+#line 1795 "c-parse.y"
{ stmt_count++;
emit_line_note (yyvsp[-7].filename, yyvsp[-6].lineno);
STRIP_NOPS (yyvsp[-2].ttype);
@@ -3293,7 +3290,7 @@ case 345:
error ("argument of `asm' is not a constant string"); ;
break;}
case 346:
-#line 1809 "c-parse.y"
+#line 1806 "c-parse.y"
{ stmt_count++;
emit_line_note (yyvsp[-9].filename, yyvsp[-8].lineno);
c_expand_asm_operands (yyvsp[-4].ttype, yyvsp[-2].ttype, NULL_TREE, NULL_TREE,
@@ -3301,7 +3298,7 @@ case 346:
input_filename, lineno); ;
break;}
case 347:
-#line 1816 "c-parse.y"
+#line 1813 "c-parse.y"
{ stmt_count++;
emit_line_note (yyvsp[-11].filename, yyvsp[-10].lineno);
c_expand_asm_operands (yyvsp[-6].ttype, yyvsp[-4].ttype, yyvsp[-2].ttype, NULL_TREE,
@@ -3309,7 +3306,7 @@ case 347:
input_filename, lineno); ;
break;}
case 348:
-#line 1824 "c-parse.y"
+#line 1821 "c-parse.y"
{ stmt_count++;
emit_line_note (yyvsp[-13].filename, yyvsp[-12].lineno);
c_expand_asm_operands (yyvsp[-8].ttype, yyvsp[-6].ttype, yyvsp[-4].ttype, yyvsp[-2].ttype,
@@ -3317,7 +3314,7 @@ case 348:
input_filename, lineno); ;
break;}
case 349:
-#line 1830 "c-parse.y"
+#line 1827 "c-parse.y"
{ tree decl;
stmt_count++;
emit_line_note (yyvsp[-4].filename, yyvsp[-3].lineno);
@@ -3330,7 +3327,7 @@ case 349:
;
break;}
case 350:
-#line 1841 "c-parse.y"
+#line 1838 "c-parse.y"
{ if (pedantic)
pedwarn ("ANSI C forbids `goto *expr;'");
stmt_count++;
@@ -3338,7 +3335,7 @@ case 350:
expand_computed_goto (convert (ptr_type_node, yyvsp[-1].ttype)); ;
break;}
case 353:
-#line 1856 "c-parse.y"
+#line 1853 "c-parse.y"
{
/* The value returned by this action is */
/* 1 if everything is OK */
@@ -3361,14 +3358,14 @@ case 353:
;
break;}
case 354:
-#line 1877 "c-parse.y"
+#line 1874 "c-parse.y"
{
if (yyvsp[-1].itype)
iterator_for_loop_end (yyvsp[-3].ttype);
;
break;}
case 355:
-#line 1912 "c-parse.y"
+#line 1909 "c-parse.y"
{ register tree value = check_case_value (yyvsp[-1].ttype);
register tree label
= build_decl (LABEL_DECL, NULL_TREE, NULL_TREE);
@@ -3401,7 +3398,7 @@ case 355:
position_after_white_space (); ;
break;}
case 356:
-#line 1943 "c-parse.y"
+#line 1940 "c-parse.y"
{ register tree value1 = check_case_value (yyvsp[-3].ttype);
register tree value2 = check_case_value (yyvsp[-1].ttype);
register tree label
@@ -3434,7 +3431,7 @@ case 356:
position_after_white_space (); ;
break;}
case 357:
-#line 1974 "c-parse.y"
+#line 1971 "c-parse.y"
{
tree duplicate;
register tree label
@@ -3451,7 +3448,7 @@ case 357:
position_after_white_space (); ;
break;}
case 358:
-#line 1989 "c-parse.y"
+#line 1986 "c-parse.y"
{ tree label = define_label (input_filename, lineno, yyvsp[-1].ttype);
stmt_count++;
emit_nop ();
@@ -3460,52 +3457,52 @@ case 358:
position_after_white_space (); ;
break;}
case 359:
-#line 2001 "c-parse.y"
+#line 1998 "c-parse.y"
{ emit_line_note (input_filename, lineno);
yyval.ttype = NULL_TREE; ;
break;}
case 360:
-#line 2004 "c-parse.y"
+#line 2001 "c-parse.y"
{ emit_line_note (input_filename, lineno); ;
break;}
case 361:
-#line 2009 "c-parse.y"
+#line 2006 "c-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 363:
-#line 2016 "c-parse.y"
+#line 2013 "c-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 366:
-#line 2023 "c-parse.y"
+#line 2020 "c-parse.y"
{ yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 367:
-#line 2028 "c-parse.y"
+#line 2025 "c-parse.y"
{ yyval.ttype = build_tree_list (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
break;}
case 368:
-#line 2033 "c-parse.y"
+#line 2030 "c-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, combine_strings (yyvsp[0].ttype), NULL_TREE); ;
break;}
case 369:
-#line 2035 "c-parse.y"
+#line 2032 "c-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, combine_strings (yyvsp[0].ttype), yyvsp[-2].ttype); ;
break;}
case 370:
-#line 2041 "c-parse.y"
+#line 2038 "c-parse.y"
{ pushlevel (0);
clear_parm_order ();
declare_parm_level (0); ;
break;}
case 371:
-#line 2045 "c-parse.y"
+#line 2042 "c-parse.y"
{ yyval.ttype = yyvsp[0].ttype;
parmlist_tags_warning ();
poplevel (0, 0, 0); ;
break;}
case 373:
-#line 2053 "c-parse.y"
+#line 2050 "c-parse.y"
{ tree parm;
if (pedantic)
pedwarn ("ANSI C forbids forward parameter declarations");
@@ -3515,19 +3512,19 @@ case 373:
clear_parm_order (); ;
break;}
case 374:
-#line 2061 "c-parse.y"
+#line 2058 "c-parse.y"
{ yyval.ttype = yyvsp[0].ttype; ;
break;}
case 375:
-#line 2063 "c-parse.y"
+#line 2060 "c-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, NULL_TREE, NULL_TREE); ;
break;}
case 376:
-#line 2069 "c-parse.y"
+#line 2066 "c-parse.y"
{ yyval.ttype = get_parm_info (0); ;
break;}
case 377:
-#line 2071 "c-parse.y"
+#line 2068 "c-parse.y"
{ yyval.ttype = get_parm_info (0);
/* Gcc used to allow this as an extension. However, it does
not work for all targets, and thus has been disabled.
@@ -3539,23 +3536,23 @@ case 377:
;
break;}
case 378:
-#line 2081 "c-parse.y"
+#line 2078 "c-parse.y"
{ yyval.ttype = get_parm_info (1); ;
break;}
case 379:
-#line 2083 "c-parse.y"
+#line 2080 "c-parse.y"
{ yyval.ttype = get_parm_info (0); ;
break;}
case 380:
-#line 2088 "c-parse.y"
+#line 2085 "c-parse.y"
{ push_parm_decl (yyvsp[0].ttype); ;
break;}
case 381:
-#line 2090 "c-parse.y"
+#line 2087 "c-parse.y"
{ push_parm_decl (yyvsp[0].ttype); ;
break;}
case 382:
-#line 2097 "c-parse.y"
+#line 2094 "c-parse.y"
{ yyval.ttype = build_tree_list (build_tree_list (current_declspecs,
yyvsp[-1].ttype),
build_tree_list (prefix_attributes,
@@ -3566,7 +3563,7 @@ case 382:
resume_momentary (yyvsp[-2].itype); ;
break;}
case 383:
-#line 2106 "c-parse.y"
+#line 2103 "c-parse.y"
{ yyval.ttype = build_tree_list (build_tree_list (current_declspecs,
yyvsp[-1].ttype),
build_tree_list (prefix_attributes,
@@ -3577,7 +3574,7 @@ case 383:
resume_momentary (yyvsp[-2].itype); ;
break;}
case 384:
-#line 2115 "c-parse.y"
+#line 2112 "c-parse.y"
{ yyval.ttype = build_tree_list (build_tree_list (current_declspecs,
yyvsp[-1].ttype),
build_tree_list (prefix_attributes,
@@ -3588,7 +3585,7 @@ case 384:
resume_momentary (yyvsp[-2].itype); ;
break;}
case 385:
-#line 2124 "c-parse.y"
+#line 2121 "c-parse.y"
{ yyval.ttype = build_tree_list (build_tree_list (current_declspecs,
yyvsp[-1].ttype),
build_tree_list (prefix_attributes,
@@ -3599,7 +3596,7 @@ case 385:
resume_momentary (yyvsp[-2].itype); ;
break;}
case 386:
-#line 2134 "c-parse.y"
+#line 2131 "c-parse.y"
{ yyval.ttype = build_tree_list (build_tree_list (current_declspecs,
yyvsp[-1].ttype),
build_tree_list (prefix_attributes,
@@ -3610,19 +3607,19 @@ case 386:
resume_momentary (yyvsp[-2].itype); ;
break;}
case 387:
-#line 2148 "c-parse.y"
+#line 2145 "c-parse.y"
{ pushlevel (0);
clear_parm_order ();
declare_parm_level (1); ;
break;}
case 388:
-#line 2152 "c-parse.y"
+#line 2149 "c-parse.y"
{ yyval.ttype = yyvsp[0].ttype;
parmlist_tags_warning ();
poplevel (0, 0, 0); ;
break;}
case 390:
-#line 2160 "c-parse.y"
+#line 2157 "c-parse.y"
{ tree t;
for (t = yyvsp[-1].ttype; t; t = TREE_CHAIN (t))
if (TREE_VALUE (t) == NULL_TREE)
@@ -3630,23 +3627,23 @@ case 390:
yyval.ttype = tree_cons (NULL_TREE, NULL_TREE, yyvsp[-1].ttype); ;
break;}
case 391:
-#line 2170 "c-parse.y"
+#line 2167 "c-parse.y"
{ yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;
break;}
case 392:
-#line 2172 "c-parse.y"
+#line 2169 "c-parse.y"
{ yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;
break;}
case 393:
-#line 2178 "c-parse.y"
+#line 2175 "c-parse.y"
{ yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;
break;}
case 394:
-#line 2180 "c-parse.y"
+#line 2177 "c-parse.y"
{ yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;
break;}
case 395:
-#line 2185 "c-parse.y"
+#line 2182 "c-parse.y"
{ yyval.itype = pedantic;
pedantic = 0; ;
break;}
@@ -3848,5 +3845,5 @@ yyerrhandle:
yystate = yyn;
goto yynewstate;
}
-#line 2189 "c-parse.y"
+#line 2186 "c-parse.y"