Commit 458f4b6b by Jim Wilson

More toplev.h cleanup, regnerate c-parse.c.

From-SVN: r19614
parent 2d7cec0d
...@@ -77,6 +77,7 @@ ...@@ -77,6 +77,7 @@
#include "c-tree.h" #include "c-tree.h"
#include "flags.h" #include "flags.h"
#include "output.h" #include "output.h"
#include "toplev.h"
#ifdef MULTIBYTE_CHARS #ifdef MULTIBYTE_CHARS
#include <locale.h> #include <locale.h>
...@@ -93,10 +94,10 @@ char *language_string = "GNU C"; ...@@ -93,10 +94,10 @@ char *language_string = "GNU C";
/* Cause the `yydebug' variable to be defined. */ /* Cause the `yydebug' variable to be defined. */
#define YYDEBUG 1 #define YYDEBUG 1
#line 86 "c-parse.y" #line 87 "c-parse.y"
typedef union {long itype; tree ttype; enum tree_code code; typedef union {long itype; tree ttype; enum tree_code code;
char *filename; int lineno; int ends_in_label; } YYSTYPE; char *filename; int lineno; int ends_in_label; } YYSTYPE;
#line 202 "c-parse.y" #line 203 "c-parse.y"
/* Number of statements (loosely speaking) and compound statements /* Number of statements (loosely speaking) and compound statements
seen so far. */ seen so far. */
...@@ -352,46 +353,46 @@ static const short yyrhs[] = { -1, ...@@ -352,46 +353,46 @@ static const short yyrhs[] = { -1,
#if YYDEBUG != 0 #if YYDEBUG != 0
static const short yyrline[] = { 0, static const short yyrline[] = { 0,
231, 236, 250, 252, 252, 253, 255, 257, 258, 266, 232, 237, 251, 253, 253, 254, 256, 258, 259, 267,
270, 281, 286, 291, 293, 295, 296, 297, 302, 309, 271, 282, 287, 292, 294, 296, 297, 298, 303, 310,
311, 316, 321, 327, 329, 334, 339, 345, 347, 352, 312, 317, 322, 328, 330, 335, 340, 346, 348, 353,
359, 361, 364, 366, 368, 370, 372, 374, 376, 380, 360, 362, 365, 367, 369, 371, 373, 375, 377, 381,
384, 387, 390, 393, 397, 399, 402, 405, 409, 437, 385, 388, 391, 394, 398, 400, 403, 406, 410, 438,
443, 446, 449, 452, 454, 458, 462, 466, 468, 471, 444, 447, 450, 453, 455, 459, 463, 467, 469, 472,
475, 502, 504, 506, 508, 510, 512, 514, 516, 518, 476, 503, 505, 507, 509, 511, 513, 515, 517, 519,
520, 522, 524, 526, 528, 532, 534, 538, 540, 543, 521, 523, 525, 527, 529, 533, 535, 539, 541, 544,
547, 549, 556, 559, 562, 568, 667, 668, 670, 676, 548, 550, 557, 560, 563, 569, 668, 669, 671, 677,
678, 692, 715, 717, 719, 723, 729, 731, 736, 738, 679, 693, 716, 718, 720, 724, 730, 732, 737, 739,
743, 745, 746, 756, 761, 763, 764, 765, 772, 778, 744, 746, 747, 757, 762, 764, 765, 766, 773, 779,
783, 786, 794, 799, 801, 802, 803, 810, 821, 825, 784, 787, 795, 800, 802, 803, 804, 811, 822, 826,
831, 836, 841, 846, 848, 850, 859, 862, 866, 868, 832, 837, 842, 847, 849, 851, 860, 863, 867, 869,
870, 875, 879, 882, 886, 889, 891, 903, 906, 908, 871, 876, 880, 883, 887, 890, 892, 904, 907, 909,
910, 914, 918, 920, 923, 936, 939, 943, 945, 953, 911, 915, 919, 921, 924, 937, 940, 944, 946, 954,
954, 955, 959, 961, 967, 968, 969, 972, 974, 977, 955, 956, 960, 962, 968, 969, 970, 973, 975, 978,
979, 982, 985, 991, 998, 1000, 1007, 1014, 1017, 1024, 980, 983, 986, 992, 999, 1001, 1008, 1015, 1018, 1025,
1027, 1031, 1034, 1038, 1043, 1046, 1050, 1053, 1055, 1057, 1028, 1032, 1035, 1039, 1044, 1047, 1051, 1054, 1056, 1058,
1059, 1066, 1068, 1069, 1070, 1075, 1077, 1082, 1090, 1095, 1060, 1067, 1069, 1070, 1071, 1076, 1078, 1083, 1091, 1096,
1099, 1102, 1104, 1109, 1112, 1114, 1116, 1120, 1123, 1123, 1100, 1103, 1105, 1110, 1113, 1115, 1117, 1121, 1124, 1124,
1126, 1126, 1129, 1129, 1132, 1132, 1135, 1137, 1148, 1156, 1127, 1127, 1130, 1130, 1133, 1133, 1136, 1138, 1149, 1157,
1160, 1171, 1179, 1186, 1188, 1193, 1196, 1201, 1203, 1205, 1161, 1172, 1180, 1187, 1189, 1194, 1197, 1202, 1204, 1206,
1212, 1214, 1222, 1228, 1230, 1232, 1239, 1241, 1247, 1253, 1213, 1215, 1223, 1229, 1231, 1233, 1240, 1242, 1248, 1254,
1255, 1257, 1259, 1266, 1268, 1271, 1276, 1278, 1282, 1284, 1256, 1258, 1260, 1267, 1269, 1272, 1277, 1279, 1283, 1285,
1286, 1288, 1292, 1294, 1297, 1300, 1303, 1306, 1310, 1312, 1287, 1289, 1293, 1295, 1298, 1301, 1304, 1307, 1311, 1313,
1315, 1317, 1321, 1324, 1329, 1331, 1333, 1347, 1354, 1359, 1316, 1318, 1322, 1325, 1330, 1332, 1334, 1348, 1355, 1360,
1365, 1370, 1372, 1377, 1379, 1383, 1387, 1391, 1401, 1403, 1366, 1371, 1373, 1378, 1380, 1384, 1388, 1392, 1402, 1404,
1408, 1413, 1416, 1420, 1423, 1427, 1430, 1433, 1436, 1440, 1409, 1414, 1417, 1421, 1424, 1428, 1431, 1434, 1437, 1441,
1443, 1447, 1451, 1453, 1455, 1457, 1459, 1461, 1463, 1465, 1444, 1448, 1452, 1454, 1456, 1458, 1460, 1462, 1464, 1466,
1475, 1483, 1485, 1487, 1491, 1493, 1496, 1499, 1510, 1512, 1476, 1484, 1486, 1488, 1492, 1494, 1497, 1500, 1511, 1513,
1517, 1519, 1522, 1536, 1539, 1542, 1544, 1546, 1554, 1562, 1518, 1520, 1523, 1537, 1540, 1543, 1545, 1547, 1555, 1563,
1573, 1578, 1581, 1595, 1604, 1608, 1612, 1616, 1622, 1626, 1574, 1579, 1582, 1596, 1605, 1609, 1613, 1617, 1623, 1627,
1631, 1634, 1639, 1642, 1643, 1660, 1665, 1668, 1680, 1682, 1632, 1635, 1640, 1643, 1644, 1661, 1666, 1669, 1681, 1683,
1692, 1702, 1703, 1711, 1714, 1726, 1730, 1747, 1757, 1766, 1693, 1703, 1704, 1712, 1715, 1727, 1731, 1748, 1758, 1767,
1771, 1776, 1781, 1785, 1789, 1800, 1807, 1814, 1821, 1832, 1772, 1777, 1782, 1786, 1790, 1801, 1808, 1815, 1822, 1833,
1838, 1841, 1846, 1869, 1903, 1934, 1965, 1980, 1991, 1995, 1839, 1842, 1847, 1870, 1904, 1935, 1966, 1981, 1992, 1996,
1999, 2002, 2007, 2009, 2012, 2014, 2018, 2023, 2026, 2032, 2000, 2003, 2008, 2010, 2013, 2015, 2019, 2024, 2027, 2033,
2037, 2042, 2044, 2053, 2054, 2060, 2062, 2072, 2074, 2078, 2038, 2043, 2045, 2054, 2055, 2061, 2063, 2073, 2075, 2079,
2081, 2087, 2097, 2106, 2115, 2125, 2139, 2144, 2149, 2151, 2082, 2088, 2098, 2107, 2116, 2126, 2140, 2145, 2150, 2152,
2160, 2163, 2168, 2171, 2175 2161, 2164, 2169, 2172, 2176
}; };
#endif #endif
...@@ -1660,14 +1661,14 @@ yyreduce: ...@@ -1660,14 +1661,14 @@ yyreduce:
switch (yyn) { switch (yyn) {
case 1: case 1:
#line 232 "c-parse.y" #line 233 "c-parse.y"
{ if (pedantic) { if (pedantic)
pedwarn ("ANSI C forbids an empty source file"); pedwarn ("ANSI C forbids an empty source file");
finish_file (); finish_file ();
; ;
break;} break;}
case 2: case 2:
#line 237 "c-parse.y" #line 238 "c-parse.y"
{ {
/* In case there were missing closebraces, /* In case there were missing closebraces,
get us back to the global binding level. */ get us back to the global binding level. */
...@@ -1677,15 +1678,15 @@ case 2: ...@@ -1677,15 +1678,15 @@ case 2:
; ;
break;} break;}
case 3: case 3:
#line 251 "c-parse.y" #line 252 "c-parse.y"
{yyval.ttype = NULL_TREE; ; {yyval.ttype = NULL_TREE; ;
break;} break;}
case 5: case 5:
#line 252 "c-parse.y" #line 253 "c-parse.y"
{yyval.ttype = NULL_TREE; ; {yyval.ttype = NULL_TREE; ;
break;} break;}
case 9: case 9:
#line 259 "c-parse.y" #line 260 "c-parse.y"
{ STRIP_NOPS (yyvsp[-2].ttype); { STRIP_NOPS (yyvsp[-2].ttype);
if ((TREE_CODE (yyvsp[-2].ttype) == ADDR_EXPR if ((TREE_CODE (yyvsp[-2].ttype) == ADDR_EXPR
&& TREE_CODE (TREE_OPERAND (yyvsp[-2].ttype, 0)) == STRING_CST) && TREE_CODE (TREE_OPERAND (yyvsp[-2].ttype, 0)) == STRING_CST)
...@@ -1695,11 +1696,11 @@ case 9: ...@@ -1695,11 +1696,11 @@ case 9:
error ("argument of `asm' is not a constant string"); ; error ("argument of `asm' is not a constant string"); ;
break;} break;}
case 10: case 10:
#line 267 "c-parse.y" #line 268 "c-parse.y"
{ pedantic = yyvsp[-1].itype; ; { pedantic = yyvsp[-1].itype; ;
break;} break;}
case 11: case 11:
#line 272 "c-parse.y" #line 273 "c-parse.y"
{ if (pedantic) { if (pedantic)
error ("ANSI C forbids data definition with no type or storage class"); error ("ANSI C forbids data definition with no type or storage class");
else if (!flag_traditional) else if (!flag_traditional)
...@@ -1711,45 +1712,45 @@ case 11: ...@@ -1711,45 +1712,45 @@ case 11:
resume_momentary (yyvsp[-2].itype); ; resume_momentary (yyvsp[-2].itype); ;
break;} break;}
case 12: case 12:
#line 282 "c-parse.y" #line 283 "c-parse.y"
{ current_declspecs = TREE_VALUE (declspec_stack); { current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack); prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-2].itype); ; resume_momentary (yyvsp[-2].itype); ;
break;} break;}
case 13: case 13:
#line 287 "c-parse.y" #line 288 "c-parse.y"
{ current_declspecs = TREE_VALUE (declspec_stack); { current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack); prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-2].itype); ; resume_momentary (yyvsp[-2].itype); ;
break;} break;}
case 14: case 14:
#line 292 "c-parse.y" #line 293 "c-parse.y"
{ pedwarn ("empty declaration"); ; { pedwarn ("empty declaration"); ;
break;} break;}
case 15: case 15:
#line 294 "c-parse.y" #line 295 "c-parse.y"
{ shadow_tag (yyvsp[-1].ttype); ; { shadow_tag (yyvsp[-1].ttype); ;
break;} break;}
case 18: case 18:
#line 298 "c-parse.y" #line 299 "c-parse.y"
{ if (pedantic) { if (pedantic)
pedwarn ("ANSI C does not allow extra `;' outside of a function"); ; pedwarn ("ANSI C does not allow extra `;' outside of a function"); ;
break;} break;}
case 19: case 19:
#line 304 "c-parse.y" #line 305 "c-parse.y"
{ if (! start_function (current_declspecs, yyvsp[0].ttype, { if (! start_function (current_declspecs, yyvsp[0].ttype,
prefix_attributes, NULL_TREE, 0)) prefix_attributes, NULL_TREE, 0))
YYERROR1; YYERROR1;
reinit_parse_for_function (); ; reinit_parse_for_function (); ;
break;} break;}
case 20: case 20:
#line 309 "c-parse.y" #line 310 "c-parse.y"
{ store_parm_decls (); ; { store_parm_decls (); ;
break;} break;}
case 21: case 21:
#line 311 "c-parse.y" #line 312 "c-parse.y"
{ finish_function (0); { finish_function (0);
current_declspecs = TREE_VALUE (declspec_stack); current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack); prefix_attributes = TREE_PURPOSE (declspec_stack);
...@@ -1757,25 +1758,25 @@ case 21: ...@@ -1757,25 +1758,25 @@ case 21:
resume_momentary (yyvsp[-5].itype); ; resume_momentary (yyvsp[-5].itype); ;
break;} break;}
case 22: case 22:
#line 317 "c-parse.y" #line 318 "c-parse.y"
{ current_declspecs = TREE_VALUE (declspec_stack); { current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack); prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-2].itype); ; resume_momentary (yyvsp[-2].itype); ;
break;} break;}
case 23: case 23:
#line 322 "c-parse.y" #line 323 "c-parse.y"
{ if (! start_function (current_declspecs, yyvsp[0].ttype, { if (! start_function (current_declspecs, yyvsp[0].ttype,
prefix_attributes, NULL_TREE, 0)) prefix_attributes, NULL_TREE, 0))
YYERROR1; YYERROR1;
reinit_parse_for_function (); ; reinit_parse_for_function (); ;
break;} break;}
case 24: case 24:
#line 327 "c-parse.y" #line 328 "c-parse.y"
{ store_parm_decls (); ; { store_parm_decls (); ;
break;} break;}
case 25: case 25:
#line 329 "c-parse.y" #line 330 "c-parse.y"
{ finish_function (0); { finish_function (0);
current_declspecs = TREE_VALUE (declspec_stack); current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack); prefix_attributes = TREE_PURPOSE (declspec_stack);
...@@ -1783,25 +1784,25 @@ case 25: ...@@ -1783,25 +1784,25 @@ case 25:
resume_momentary (yyvsp[-5].itype); ; resume_momentary (yyvsp[-5].itype); ;
break;} break;}
case 26: case 26:
#line 335 "c-parse.y" #line 336 "c-parse.y"
{ current_declspecs = TREE_VALUE (declspec_stack); { current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack); prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-2].itype); ; resume_momentary (yyvsp[-2].itype); ;
break;} break;}
case 27: case 27:
#line 340 "c-parse.y" #line 341 "c-parse.y"
{ if (! start_function (NULL_TREE, yyvsp[0].ttype, { if (! start_function (NULL_TREE, yyvsp[0].ttype,
prefix_attributes, NULL_TREE, 0)) prefix_attributes, NULL_TREE, 0))
YYERROR1; YYERROR1;
reinit_parse_for_function (); ; reinit_parse_for_function (); ;
break;} break;}
case 28: case 28:
#line 345 "c-parse.y" #line 346 "c-parse.y"
{ store_parm_decls (); ; { store_parm_decls (); ;
break;} break;}
case 29: case 29:
#line 347 "c-parse.y" #line 348 "c-parse.y"
{ finish_function (0); { finish_function (0);
current_declspecs = TREE_VALUE (declspec_stack); current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack); prefix_attributes = TREE_PURPOSE (declspec_stack);
...@@ -1809,72 +1810,72 @@ case 29: ...@@ -1809,72 +1810,72 @@ case 29:
resume_momentary (yyvsp[-5].itype); ; resume_momentary (yyvsp[-5].itype); ;
break;} break;}
case 30: case 30:
#line 353 "c-parse.y" #line 354 "c-parse.y"
{ current_declspecs = TREE_VALUE (declspec_stack); { current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack); prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-2].itype); ; resume_momentary (yyvsp[-2].itype); ;
break;} break;}
case 33: case 33:
#line 365 "c-parse.y" #line 366 "c-parse.y"
{ yyval.code = ADDR_EXPR; ; { yyval.code = ADDR_EXPR; ;
break;} break;}
case 34: case 34:
#line 367 "c-parse.y" #line 368 "c-parse.y"
{ yyval.code = NEGATE_EXPR; ; { yyval.code = NEGATE_EXPR; ;
break;} break;}
case 35: case 35:
#line 369 "c-parse.y" #line 370 "c-parse.y"
{ yyval.code = CONVERT_EXPR; ; { yyval.code = CONVERT_EXPR; ;
break;} break;}
case 36: case 36:
#line 371 "c-parse.y" #line 372 "c-parse.y"
{ yyval.code = PREINCREMENT_EXPR; ; { yyval.code = PREINCREMENT_EXPR; ;
break;} break;}
case 37: case 37:
#line 373 "c-parse.y" #line 374 "c-parse.y"
{ yyval.code = PREDECREMENT_EXPR; ; { yyval.code = PREDECREMENT_EXPR; ;
break;} break;}
case 38: case 38:
#line 375 "c-parse.y" #line 376 "c-parse.y"
{ yyval.code = BIT_NOT_EXPR; ; { yyval.code = BIT_NOT_EXPR; ;
break;} break;}
case 39: case 39:
#line 377 "c-parse.y" #line 378 "c-parse.y"
{ yyval.code = TRUTH_NOT_EXPR; ; { yyval.code = TRUTH_NOT_EXPR; ;
break;} break;}
case 40: case 40:
#line 381 "c-parse.y" #line 382 "c-parse.y"
{ yyval.ttype = build_compound_expr (yyvsp[0].ttype); ; { yyval.ttype = build_compound_expr (yyvsp[0].ttype); ;
break;} break;}
case 41: case 41:
#line 386 "c-parse.y" #line 387 "c-parse.y"
{ yyval.ttype = NULL_TREE; ; { yyval.ttype = NULL_TREE; ;
break;} break;}
case 43: case 43:
#line 392 "c-parse.y" #line 393 "c-parse.y"
{ yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ; { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;
break;} break;}
case 44: case 44:
#line 394 "c-parse.y" #line 395 "c-parse.y"
{ chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ; { chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;
break;} break;}
case 46: case 46:
#line 400 "c-parse.y" #line 401 "c-parse.y"
{ yyval.ttype = build_indirect_ref (yyvsp[0].ttype, "unary *"); ; { yyval.ttype = build_indirect_ref (yyvsp[0].ttype, "unary *"); ;
break;} break;}
case 47: case 47:
#line 403 "c-parse.y" #line 404 "c-parse.y"
{ yyval.ttype = yyvsp[0].ttype; { yyval.ttype = yyvsp[0].ttype;
pedantic = yyvsp[-1].itype; ; pedantic = yyvsp[-1].itype; ;
break;} break;}
case 48: case 48:
#line 406 "c-parse.y" #line 407 "c-parse.y"
{ yyval.ttype = build_unary_op (yyvsp[-1].code, yyvsp[0].ttype, 0); { yyval.ttype = build_unary_op (yyvsp[-1].code, yyvsp[0].ttype, 0);
overflow_warning (yyval.ttype); ; overflow_warning (yyval.ttype); ;
break;} break;}
case 49: case 49:
#line 410 "c-parse.y" #line 411 "c-parse.y"
{ tree label = lookup_label (yyvsp[0].ttype); { tree label = lookup_label (yyvsp[0].ttype);
if (pedantic) if (pedantic)
pedwarn ("ANSI C forbids `&&'"); pedwarn ("ANSI C forbids `&&'");
...@@ -1889,7 +1890,7 @@ case 49: ...@@ -1889,7 +1890,7 @@ case 49:
; ;
break;} break;}
case 50: case 50:
#line 438 "c-parse.y" #line 439 "c-parse.y"
{ skip_evaluation--; { skip_evaluation--;
if (TREE_CODE (yyvsp[0].ttype) == COMPONENT_REF if (TREE_CODE (yyvsp[0].ttype) == COMPONENT_REF
&& DECL_C_BIT_FIELD (TREE_OPERAND (yyvsp[0].ttype, 1))) && DECL_C_BIT_FIELD (TREE_OPERAND (yyvsp[0].ttype, 1)))
...@@ -1897,49 +1898,49 @@ case 50: ...@@ -1897,49 +1898,49 @@ case 50:
yyval.ttype = c_sizeof (TREE_TYPE (yyvsp[0].ttype)); ; yyval.ttype = c_sizeof (TREE_TYPE (yyvsp[0].ttype)); ;
break;} break;}
case 51: case 51:
#line 444 "c-parse.y" #line 445 "c-parse.y"
{ skip_evaluation--; { skip_evaluation--;
yyval.ttype = c_sizeof (groktypename (yyvsp[-1].ttype)); ; yyval.ttype = c_sizeof (groktypename (yyvsp[-1].ttype)); ;
break;} break;}
case 52: case 52:
#line 447 "c-parse.y" #line 448 "c-parse.y"
{ skip_evaluation--; { skip_evaluation--;
yyval.ttype = c_alignof_expr (yyvsp[0].ttype); ; yyval.ttype = c_alignof_expr (yyvsp[0].ttype); ;
break;} break;}
case 53: case 53:
#line 450 "c-parse.y" #line 451 "c-parse.y"
{ skip_evaluation--; { skip_evaluation--;
yyval.ttype = c_alignof (groktypename (yyvsp[-1].ttype)); ; yyval.ttype = c_alignof (groktypename (yyvsp[-1].ttype)); ;
break;} break;}
case 54: case 54:
#line 453 "c-parse.y" #line 454 "c-parse.y"
{ yyval.ttype = build_unary_op (REALPART_EXPR, yyvsp[0].ttype, 0); ; { yyval.ttype = build_unary_op (REALPART_EXPR, yyvsp[0].ttype, 0); ;
break;} break;}
case 55: case 55:
#line 455 "c-parse.y" #line 456 "c-parse.y"
{ yyval.ttype = build_unary_op (IMAGPART_EXPR, yyvsp[0].ttype, 0); ; { yyval.ttype = build_unary_op (IMAGPART_EXPR, yyvsp[0].ttype, 0); ;
break;} break;}
case 56: case 56:
#line 459 "c-parse.y" #line 460 "c-parse.y"
{ skip_evaluation++; ; { skip_evaluation++; ;
break;} break;}
case 57: case 57:
#line 463 "c-parse.y" #line 464 "c-parse.y"
{ skip_evaluation++; ; { skip_evaluation++; ;
break;} break;}
case 59: case 59:
#line 469 "c-parse.y" #line 470 "c-parse.y"
{ tree type = groktypename (yyvsp[-2].ttype); { tree type = groktypename (yyvsp[-2].ttype);
yyval.ttype = build_c_cast (type, yyvsp[0].ttype); ; yyval.ttype = build_c_cast (type, yyvsp[0].ttype); ;
break;} break;}
case 60: case 60:
#line 472 "c-parse.y" #line 473 "c-parse.y"
{ start_init (NULL_TREE, NULL, 0); { start_init (NULL_TREE, NULL, 0);
yyvsp[-2].ttype = groktypename (yyvsp[-2].ttype); yyvsp[-2].ttype = groktypename (yyvsp[-2].ttype);
really_start_incremental_init (yyvsp[-2].ttype); ; really_start_incremental_init (yyvsp[-2].ttype); ;
break;} break;}
case 61: case 61:
#line 476 "c-parse.y" #line 477 "c-parse.y"
{ char *name; { char *name;
tree result = pop_init_level (0); tree result = pop_init_level (0);
tree type = yyvsp[-5].ttype; tree type = yyvsp[-5].ttype;
...@@ -1966,90 +1967,90 @@ case 61: ...@@ -1966,90 +1967,90 @@ case 61:
; ;
break;} break;}
case 63: case 63:
#line 505 "c-parse.y" #line 506 "c-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;} break;}
case 64: case 64:
#line 507 "c-parse.y" #line 508 "c-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;} break;}
case 65: case 65:
#line 509 "c-parse.y" #line 510 "c-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;} break;}
case 66: case 66:
#line 511 "c-parse.y" #line 512 "c-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;} break;}
case 67: case 67:
#line 513 "c-parse.y" #line 514 "c-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;} break;}
case 68: case 68:
#line 515 "c-parse.y" #line 516 "c-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;} break;}
case 69: case 69:
#line 517 "c-parse.y" #line 518 "c-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;} break;}
case 70: case 70:
#line 519 "c-parse.y" #line 520 "c-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;} break;}
case 71: case 71:
#line 521 "c-parse.y" #line 522 "c-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;} break;}
case 72: case 72:
#line 523 "c-parse.y" #line 524 "c-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;} break;}
case 73: case 73:
#line 525 "c-parse.y" #line 526 "c-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;} break;}
case 74: case 74:
#line 527 "c-parse.y" #line 528 "c-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;} break;}
case 75: case 75:
#line 529 "c-parse.y" #line 530 "c-parse.y"
{ yyvsp[-1].ttype = truthvalue_conversion (default_conversion (yyvsp[-1].ttype)); { yyvsp[-1].ttype = truthvalue_conversion (default_conversion (yyvsp[-1].ttype));
skip_evaluation += yyvsp[-1].ttype == boolean_false_node; ; skip_evaluation += yyvsp[-1].ttype == boolean_false_node; ;
break;} break;}
case 76: case 76:
#line 532 "c-parse.y" #line 533 "c-parse.y"
{ skip_evaluation -= yyvsp[-3].ttype == boolean_false_node; { skip_evaluation -= yyvsp[-3].ttype == boolean_false_node;
yyval.ttype = parser_build_binary_op (TRUTH_ANDIF_EXPR, yyvsp[-3].ttype, yyvsp[0].ttype); ; yyval.ttype = parser_build_binary_op (TRUTH_ANDIF_EXPR, yyvsp[-3].ttype, yyvsp[0].ttype); ;
break;} break;}
case 77: case 77:
#line 535 "c-parse.y" #line 536 "c-parse.y"
{ yyvsp[-1].ttype = truthvalue_conversion (default_conversion (yyvsp[-1].ttype)); { yyvsp[-1].ttype = truthvalue_conversion (default_conversion (yyvsp[-1].ttype));
skip_evaluation += yyvsp[-1].ttype == boolean_true_node; ; skip_evaluation += yyvsp[-1].ttype == boolean_true_node; ;
break;} break;}
case 78: case 78:
#line 538 "c-parse.y" #line 539 "c-parse.y"
{ skip_evaluation -= yyvsp[-3].ttype == boolean_true_node; { skip_evaluation -= yyvsp[-3].ttype == boolean_true_node;
yyval.ttype = parser_build_binary_op (TRUTH_ORIF_EXPR, yyvsp[-3].ttype, yyvsp[0].ttype); ; yyval.ttype = parser_build_binary_op (TRUTH_ORIF_EXPR, yyvsp[-3].ttype, yyvsp[0].ttype); ;
break;} break;}
case 79: case 79:
#line 541 "c-parse.y" #line 542 "c-parse.y"
{ yyvsp[-1].ttype = truthvalue_conversion (default_conversion (yyvsp[-1].ttype)); { yyvsp[-1].ttype = truthvalue_conversion (default_conversion (yyvsp[-1].ttype));
skip_evaluation += yyvsp[-1].ttype == boolean_false_node; ; skip_evaluation += yyvsp[-1].ttype == boolean_false_node; ;
break;} break;}
case 80: case 80:
#line 544 "c-parse.y" #line 545 "c-parse.y"
{ skip_evaluation += ((yyvsp[-4].ttype == boolean_true_node) { skip_evaluation += ((yyvsp[-4].ttype == boolean_true_node)
- (yyvsp[-4].ttype == boolean_false_node)); ; - (yyvsp[-4].ttype == boolean_false_node)); ;
break;} break;}
case 81: case 81:
#line 547 "c-parse.y" #line 548 "c-parse.y"
{ skip_evaluation -= yyvsp[-6].ttype == boolean_true_node; { skip_evaluation -= yyvsp[-6].ttype == boolean_true_node;
yyval.ttype = build_conditional_expr (yyvsp[-6].ttype, yyvsp[-3].ttype, yyvsp[0].ttype); ; yyval.ttype = build_conditional_expr (yyvsp[-6].ttype, yyvsp[-3].ttype, yyvsp[0].ttype); ;
break;} break;}
case 82: case 82:
#line 550 "c-parse.y" #line 551 "c-parse.y"
{ if (pedantic) { if (pedantic)
pedwarn ("ANSI C forbids omitting the middle term of a ?: expression"); pedwarn ("ANSI C forbids omitting the middle term of a ?: expression");
/* Make sure first operand is calculated only once. */ /* Make sure first operand is calculated only once. */
...@@ -2058,23 +2059,23 @@ case 82: ...@@ -2058,23 +2059,23 @@ case 82:
skip_evaluation += yyvsp[-1].ttype == boolean_true_node; ; skip_evaluation += yyvsp[-1].ttype == boolean_true_node; ;
break;} break;}
case 83: case 83:
#line 557 "c-parse.y" #line 558 "c-parse.y"
{ skip_evaluation -= yyvsp[-4].ttype == boolean_true_node; { skip_evaluation -= yyvsp[-4].ttype == boolean_true_node;
yyval.ttype = build_conditional_expr (yyvsp[-4].ttype, yyvsp[-3].ttype, yyvsp[0].ttype); ; yyval.ttype = build_conditional_expr (yyvsp[-4].ttype, yyvsp[-3].ttype, yyvsp[0].ttype); ;
break;} break;}
case 84: case 84:
#line 560 "c-parse.y" #line 561 "c-parse.y"
{ yyval.ttype = build_modify_expr (yyvsp[-2].ttype, NOP_EXPR, yyvsp[0].ttype); { yyval.ttype = build_modify_expr (yyvsp[-2].ttype, NOP_EXPR, yyvsp[0].ttype);
C_SET_EXP_ORIGINAL_CODE (yyval.ttype, MODIFY_EXPR); ; C_SET_EXP_ORIGINAL_CODE (yyval.ttype, MODIFY_EXPR); ;
break;} break;}
case 85: case 85:
#line 563 "c-parse.y" #line 564 "c-parse.y"
{ yyval.ttype = build_modify_expr (yyvsp[-2].ttype, yyvsp[-1].code, yyvsp[0].ttype); { yyval.ttype = build_modify_expr (yyvsp[-2].ttype, yyvsp[-1].code, yyvsp[0].ttype);
/* This inhibits warnings in truthvalue_conversion. */ /* This inhibits warnings in truthvalue_conversion. */
C_SET_EXP_ORIGINAL_CODE (yyval.ttype, ERROR_MARK); ; C_SET_EXP_ORIGINAL_CODE (yyval.ttype, ERROR_MARK); ;
break;} break;}
case 86: case 86:
#line 570 "c-parse.y" #line 571 "c-parse.y"
{ {
yyval.ttype = lastiddecl; yyval.ttype = lastiddecl;
if (!yyval.ttype || yyval.ttype == error_mark_node) if (!yyval.ttype || yyval.ttype == error_mark_node)
...@@ -2174,11 +2175,11 @@ case 86: ...@@ -2174,11 +2175,11 @@ case 86:
; ;
break;} break;}
case 88: case 88:
#line 669 "c-parse.y" #line 670 "c-parse.y"
{ yyval.ttype = combine_strings (yyvsp[0].ttype); ; { yyval.ttype = combine_strings (yyvsp[0].ttype); ;
break;} break;}
case 89: case 89:
#line 671 "c-parse.y" #line 672 "c-parse.y"
{ char class = TREE_CODE_CLASS (TREE_CODE (yyvsp[-1].ttype)); { char class = TREE_CODE_CLASS (TREE_CODE (yyvsp[-1].ttype));
if (class == 'e' || class == '1' if (class == 'e' || class == '1'
|| class == '2' || class == '<') || class == '2' || class == '<')
...@@ -2186,11 +2187,11 @@ case 89: ...@@ -2186,11 +2187,11 @@ case 89:
yyval.ttype = yyvsp[-1].ttype; ; yyval.ttype = yyvsp[-1].ttype; ;
break;} break;}
case 90: case 90:
#line 677 "c-parse.y" #line 678 "c-parse.y"
{ yyval.ttype = error_mark_node; ; { yyval.ttype = error_mark_node; ;
break;} break;}
case 91: case 91:
#line 679 "c-parse.y" #line 680 "c-parse.y"
{ if (current_function_decl == 0) { if (current_function_decl == 0)
{ {
error ("braced-group within expression allowed only inside a function"); error ("braced-group within expression allowed only inside a function");
...@@ -2206,7 +2207,7 @@ case 91: ...@@ -2206,7 +2207,7 @@ case 91:
yyval.ttype = expand_start_stmt_expr (); ; yyval.ttype = expand_start_stmt_expr (); ;
break;} break;}
case 92: case 92:
#line 693 "c-parse.y" #line 694 "c-parse.y"
{ tree rtl_exp; { tree rtl_exp;
if (pedantic) if (pedantic)
pedwarn ("ANSI C forbids braced-groups within expressions"); pedwarn ("ANSI C forbids braced-groups within expressions");
...@@ -2231,21 +2232,21 @@ case 92: ...@@ -2231,21 +2232,21 @@ case 92:
; ;
break;} break;}
case 93: case 93:
#line 716 "c-parse.y" #line 717 "c-parse.y"
{ yyval.ttype = build_function_call (yyvsp[-3].ttype, yyvsp[-1].ttype); ; { yyval.ttype = build_function_call (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
break;} break;}
case 94: case 94:
#line 718 "c-parse.y" #line 719 "c-parse.y"
{ yyval.ttype = build_array_ref (yyvsp[-3].ttype, yyvsp[-1].ttype); ; { yyval.ttype = build_array_ref (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
break;} break;}
case 95: case 95:
#line 720 "c-parse.y" #line 721 "c-parse.y"
{ {
yyval.ttype = build_component_ref (yyvsp[-2].ttype, yyvsp[0].ttype); yyval.ttype = build_component_ref (yyvsp[-2].ttype, yyvsp[0].ttype);
; ;
break;} break;}
case 96: case 96:
#line 724 "c-parse.y" #line 725 "c-parse.y"
{ {
tree expr = build_indirect_ref (yyvsp[-2].ttype, "->"); tree expr = build_indirect_ref (yyvsp[-2].ttype, "->");
...@@ -2253,56 +2254,56 @@ case 96: ...@@ -2253,56 +2254,56 @@ case 96:
; ;
break;} break;}
case 97: case 97:
#line 730 "c-parse.y" #line 731 "c-parse.y"
{ yyval.ttype = build_unary_op (POSTINCREMENT_EXPR, yyvsp[-1].ttype, 0); ; { yyval.ttype = build_unary_op (POSTINCREMENT_EXPR, yyvsp[-1].ttype, 0); ;
break;} break;}
case 98: case 98:
#line 732 "c-parse.y" #line 733 "c-parse.y"
{ yyval.ttype = build_unary_op (POSTDECREMENT_EXPR, yyvsp[-1].ttype, 0); ; { yyval.ttype = build_unary_op (POSTDECREMENT_EXPR, yyvsp[-1].ttype, 0); ;
break;} break;}
case 100: case 100:
#line 739 "c-parse.y" #line 740 "c-parse.y"
{ yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ; { yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;} break;}
case 103: case 103:
#line 748 "c-parse.y" #line 749 "c-parse.y"
{ c_mark_varargs (); { c_mark_varargs ();
if (pedantic) if (pedantic)
pedwarn ("ANSI C does not permit use of `varargs.h'"); ; pedwarn ("ANSI C does not permit use of `varargs.h'"); ;
break;} break;}
case 104: case 104:
#line 758 "c-parse.y" #line 759 "c-parse.y"
{ ; { ;
break;} break;}
case 109: case 109:
#line 774 "c-parse.y" #line 775 "c-parse.y"
{ current_declspecs = TREE_VALUE (declspec_stack); { current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack); prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-2].itype); ; resume_momentary (yyvsp[-2].itype); ;
break;} break;}
case 110: case 110:
#line 779 "c-parse.y" #line 780 "c-parse.y"
{ current_declspecs = TREE_VALUE (declspec_stack); { current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack); prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-2].itype); ; resume_momentary (yyvsp[-2].itype); ;
break;} break;}
case 111: case 111:
#line 784 "c-parse.y" #line 785 "c-parse.y"
{ shadow_tag_warned (yyvsp[-1].ttype, 1); { shadow_tag_warned (yyvsp[-1].ttype, 1);
pedwarn ("empty declaration"); ; pedwarn ("empty declaration"); ;
break;} break;}
case 112: case 112:
#line 787 "c-parse.y" #line 788 "c-parse.y"
{ pedwarn ("empty declaration"); ; { pedwarn ("empty declaration"); ;
break;} break;}
case 113: case 113:
#line 796 "c-parse.y" #line 797 "c-parse.y"
{ ; { ;
break;} break;}
case 118: case 118:
#line 811 "c-parse.y" #line 812 "c-parse.y"
{ yyval.itype = suspend_momentary (); { yyval.itype = suspend_momentary ();
pending_xref_error (); pending_xref_error ();
declspec_stack = tree_cons (prefix_attributes, declspec_stack = tree_cons (prefix_attributes,
...@@ -2312,131 +2313,131 @@ case 118: ...@@ -2312,131 +2313,131 @@ case 118:
&current_declspecs, &prefix_attributes); ; &current_declspecs, &prefix_attributes); ;
break;} break;}
case 119: case 119:
#line 822 "c-parse.y" #line 823 "c-parse.y"
{ prefix_attributes = chainon (prefix_attributes, yyvsp[0].ttype); ; { prefix_attributes = chainon (prefix_attributes, yyvsp[0].ttype); ;
break;} break;}
case 120: case 120:
#line 827 "c-parse.y" #line 828 "c-parse.y"
{ current_declspecs = TREE_VALUE (declspec_stack); { current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack); prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-2].itype); ; resume_momentary (yyvsp[-2].itype); ;
break;} break;}
case 121: case 121:
#line 832 "c-parse.y" #line 833 "c-parse.y"
{ current_declspecs = TREE_VALUE (declspec_stack); { current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack); prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-2].itype); ; resume_momentary (yyvsp[-2].itype); ;
break;} break;}
case 122: case 122:
#line 837 "c-parse.y" #line 838 "c-parse.y"
{ current_declspecs = TREE_VALUE (declspec_stack); { current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack); prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-1].itype); ; resume_momentary (yyvsp[-1].itype); ;
break;} break;}
case 123: case 123:
#line 842 "c-parse.y" #line 843 "c-parse.y"
{ current_declspecs = TREE_VALUE (declspec_stack); { current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack); prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-1].itype); ; resume_momentary (yyvsp[-1].itype); ;
break;} break;}
case 124: case 124:
#line 847 "c-parse.y" #line 848 "c-parse.y"
{ shadow_tag (yyvsp[-1].ttype); ; { shadow_tag (yyvsp[-1].ttype); ;
break;} break;}
case 125: case 125:
#line 849 "c-parse.y" #line 850 "c-parse.y"
{ pedwarn ("empty declaration"); ; { pedwarn ("empty declaration"); ;
break;} break;}
case 126: case 126:
#line 851 "c-parse.y" #line 852 "c-parse.y"
{ pedantic = yyvsp[-1].itype; ; { pedantic = yyvsp[-1].itype; ;
break;} break;}
case 127: case 127:
#line 861 "c-parse.y" #line 862 "c-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ; { yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;} break;}
case 128: case 128:
#line 863 "c-parse.y" #line 864 "c-parse.y"
{ yyval.ttype = chainon (yyvsp[0].ttype, tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[-2].ttype)); ; { yyval.ttype = chainon (yyvsp[0].ttype, tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[-2].ttype)); ;
break;} break;}
case 129: case 129:
#line 867 "c-parse.y" #line 868 "c-parse.y"
{ yyval.ttype = NULL_TREE; ; { yyval.ttype = NULL_TREE; ;
break;} break;}
case 130: case 130:
#line 869 "c-parse.y" #line 870 "c-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ; { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
break;} break;}
case 131: case 131:
#line 871 "c-parse.y" #line 872 "c-parse.y"
{ if (extra_warnings) { if (extra_warnings)
warning ("`%s' is not at beginning of declaration", warning ("`%s' is not at beginning of declaration",
IDENTIFIER_POINTER (yyvsp[0].ttype)); IDENTIFIER_POINTER (yyvsp[0].ttype));
yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ; yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
break;} break;}
case 132: case 132:
#line 876 "c-parse.y" #line 877 "c-parse.y"
{ yyval.ttype = tree_cons (yyvsp[0].ttype, NULL_TREE, yyvsp[-1].ttype); ; { yyval.ttype = tree_cons (yyvsp[0].ttype, NULL_TREE, yyvsp[-1].ttype); ;
break;} break;}
case 133: case 133:
#line 881 "c-parse.y" #line 882 "c-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ; { yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;} break;}
case 134: case 134:
#line 883 "c-parse.y" #line 884 "c-parse.y"
{ yyval.ttype = chainon (yyvsp[0].ttype, tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[-2].ttype)); ; { yyval.ttype = chainon (yyvsp[0].ttype, tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[-2].ttype)); ;
break;} break;}
case 135: case 135:
#line 888 "c-parse.y" #line 889 "c-parse.y"
{ yyval.ttype = NULL_TREE; ; { yyval.ttype = NULL_TREE; ;
break;} break;}
case 136: case 136:
#line 890 "c-parse.y" #line 891 "c-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ; { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
break;} break;}
case 137: case 137:
#line 892 "c-parse.y" #line 893 "c-parse.y"
{ if (extra_warnings) { if (extra_warnings)
warning ("`%s' is not at beginning of declaration", warning ("`%s' is not at beginning of declaration",
IDENTIFIER_POINTER (yyvsp[0].ttype)); IDENTIFIER_POINTER (yyvsp[0].ttype));
yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ; yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
break;} break;}
case 138: case 138:
#line 905 "c-parse.y" #line 906 "c-parse.y"
{ yyval.ttype = yyvsp[0].ttype; ; { yyval.ttype = yyvsp[0].ttype; ;
break;} break;}
case 139: case 139:
#line 907 "c-parse.y" #line 908 "c-parse.y"
{ yyval.ttype = tree_cons (yyvsp[0].ttype, NULL_TREE, NULL_TREE); ; { yyval.ttype = tree_cons (yyvsp[0].ttype, NULL_TREE, NULL_TREE); ;
break;} break;}
case 140: case 140:
#line 909 "c-parse.y" #line 910 "c-parse.y"
{ yyval.ttype = chainon (yyvsp[0].ttype, yyvsp[-1].ttype); ; { yyval.ttype = chainon (yyvsp[0].ttype, yyvsp[-1].ttype); ;
break;} break;}
case 141: case 141:
#line 911 "c-parse.y" #line 912 "c-parse.y"
{ yyval.ttype = tree_cons (yyvsp[0].ttype, NULL_TREE, yyvsp[-1].ttype); ; { yyval.ttype = tree_cons (yyvsp[0].ttype, NULL_TREE, yyvsp[-1].ttype); ;
break;} break;}
case 142: case 142:
#line 916 "c-parse.y" #line 917 "c-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE);
TREE_STATIC (yyval.ttype) = 1; ; TREE_STATIC (yyval.ttype) = 1; ;
break;} break;}
case 143: case 143:
#line 919 "c-parse.y" #line 920 "c-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ; { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;
break;} break;}
case 144: case 144:
#line 921 "c-parse.y" #line 922 "c-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype);
TREE_STATIC (yyval.ttype) = 1; ; TREE_STATIC (yyval.ttype) = 1; ;
break;} break;}
case 145: case 145:
#line 924 "c-parse.y" #line 925 "c-parse.y"
{ if (extra_warnings && TREE_STATIC (yyvsp[-1].ttype)) { if (extra_warnings && TREE_STATIC (yyvsp[-1].ttype))
warning ("`%s' is not at beginning of declaration", warning ("`%s' is not at beginning of declaration",
IDENTIFIER_POINTER (yyvsp[0].ttype)); IDENTIFIER_POINTER (yyvsp[0].ttype));
...@@ -2444,138 +2445,138 @@ case 145: ...@@ -2444,138 +2445,138 @@ case 145:
TREE_STATIC (yyval.ttype) = TREE_STATIC (yyvsp[-1].ttype); ; TREE_STATIC (yyval.ttype) = TREE_STATIC (yyvsp[-1].ttype); ;
break;} break;}
case 146: case 146:
#line 938 "c-parse.y" #line 939 "c-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ; { yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;} break;}
case 147: case 147:
#line 940 "c-parse.y" #line 941 "c-parse.y"
{ yyval.ttype = chainon (yyvsp[0].ttype, tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[-2].ttype)); ; { yyval.ttype = chainon (yyvsp[0].ttype, tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[-2].ttype)); ;
break;} break;}
case 148: case 148:
#line 944 "c-parse.y" #line 945 "c-parse.y"
{ yyval.ttype = NULL_TREE; ; { yyval.ttype = NULL_TREE; ;
break;} break;}
case 149: case 149:
#line 946 "c-parse.y" #line 947 "c-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ; { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
break;} break;}
case 152: case 152:
#line 956 "c-parse.y" #line 957 "c-parse.y"
{ /* For a typedef name, record the meaning, not the name. { /* For a typedef name, record the meaning, not the name.
In case of `foo foo, bar;'. */ In case of `foo foo, bar;'. */
yyval.ttype = lookup_name (yyvsp[0].ttype); ; yyval.ttype = lookup_name (yyvsp[0].ttype); ;
break;} break;}
case 153: case 153:
#line 960 "c-parse.y" #line 961 "c-parse.y"
{ yyval.ttype = TREE_TYPE (yyvsp[-1].ttype); ; { yyval.ttype = TREE_TYPE (yyvsp[-1].ttype); ;
break;} break;}
case 154: case 154:
#line 962 "c-parse.y" #line 963 "c-parse.y"
{ yyval.ttype = groktypename (yyvsp[-1].ttype); ; { yyval.ttype = groktypename (yyvsp[-1].ttype); ;
break;} break;}
case 162: case 162:
#line 984 "c-parse.y" #line 985 "c-parse.y"
{ yyval.ttype = NULL_TREE; ; { yyval.ttype = NULL_TREE; ;
break;} break;}
case 163: case 163:
#line 986 "c-parse.y" #line 987 "c-parse.y"
{ if (TREE_CHAIN (yyvsp[-1].ttype)) yyvsp[-1].ttype = combine_strings (yyvsp[-1].ttype); { if (TREE_CHAIN (yyvsp[-1].ttype)) yyvsp[-1].ttype = combine_strings (yyvsp[-1].ttype);
yyval.ttype = yyvsp[-1].ttype; yyval.ttype = yyvsp[-1].ttype;
; ;
break;} break;}
case 164: case 164:
#line 993 "c-parse.y" #line 994 "c-parse.y"
{ yyval.ttype = start_decl (yyvsp[-3].ttype, current_declspecs, 1, { yyval.ttype = start_decl (yyvsp[-3].ttype, current_declspecs, 1,
yyvsp[-1].ttype, prefix_attributes); yyvsp[-1].ttype, prefix_attributes);
start_init (yyval.ttype, yyvsp[-2].ttype, global_bindings_p ()); ; start_init (yyval.ttype, yyvsp[-2].ttype, global_bindings_p ()); ;
break;} break;}
case 165: case 165:
#line 998 "c-parse.y" #line 999 "c-parse.y"
{ finish_init (); { finish_init ();
finish_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ; finish_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ;
break;} break;}
case 166: case 166:
#line 1001 "c-parse.y" #line 1002 "c-parse.y"
{ tree d = start_decl (yyvsp[-2].ttype, current_declspecs, 0, { tree d = start_decl (yyvsp[-2].ttype, current_declspecs, 0,
yyvsp[0].ttype, prefix_attributes); yyvsp[0].ttype, prefix_attributes);
finish_decl (d, NULL_TREE, yyvsp[-1].ttype); finish_decl (d, NULL_TREE, yyvsp[-1].ttype);
; ;
break;} break;}
case 167: case 167:
#line 1009 "c-parse.y" #line 1010 "c-parse.y"
{ yyval.ttype = start_decl (yyvsp[-3].ttype, current_declspecs, 1, { yyval.ttype = start_decl (yyvsp[-3].ttype, current_declspecs, 1,
yyvsp[-1].ttype, prefix_attributes); yyvsp[-1].ttype, prefix_attributes);
start_init (yyval.ttype, yyvsp[-2].ttype, global_bindings_p ()); ; start_init (yyval.ttype, yyvsp[-2].ttype, global_bindings_p ()); ;
break;} break;}
case 168: case 168:
#line 1014 "c-parse.y" #line 1015 "c-parse.y"
{ finish_init (); { finish_init ();
decl_attributes (yyvsp[-1].ttype, yyvsp[-3].ttype, prefix_attributes); decl_attributes (yyvsp[-1].ttype, yyvsp[-3].ttype, prefix_attributes);
finish_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ; finish_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ;
break;} break;}
case 169: case 169:
#line 1018 "c-parse.y" #line 1019 "c-parse.y"
{ tree d = start_decl (yyvsp[-2].ttype, current_declspecs, 0, { tree d = start_decl (yyvsp[-2].ttype, current_declspecs, 0,
yyvsp[0].ttype, prefix_attributes); yyvsp[0].ttype, prefix_attributes);
finish_decl (d, NULL_TREE, yyvsp[-1].ttype); ; finish_decl (d, NULL_TREE, yyvsp[-1].ttype); ;
break;} break;}
case 170: case 170:
#line 1026 "c-parse.y" #line 1027 "c-parse.y"
{ yyval.ttype = NULL_TREE; ; { yyval.ttype = NULL_TREE; ;
break;} break;}
case 171: case 171:
#line 1028 "c-parse.y" #line 1029 "c-parse.y"
{ yyval.ttype = yyvsp[0].ttype; ; { yyval.ttype = yyvsp[0].ttype; ;
break;} break;}
case 172: case 172:
#line 1033 "c-parse.y" #line 1034 "c-parse.y"
{ yyval.ttype = yyvsp[0].ttype; ; { yyval.ttype = yyvsp[0].ttype; ;
break;} break;}
case 173: case 173:
#line 1035 "c-parse.y" #line 1036 "c-parse.y"
{ yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ; { yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;} break;}
case 174: case 174:
#line 1040 "c-parse.y" #line 1041 "c-parse.y"
{ yyval.ttype = yyvsp[-2].ttype; ; { yyval.ttype = yyvsp[-2].ttype; ;
break;} break;}
case 175: case 175:
#line 1045 "c-parse.y" #line 1046 "c-parse.y"
{ yyval.ttype = yyvsp[0].ttype; ; { yyval.ttype = yyvsp[0].ttype; ;
break;} break;}
case 176: case 176:
#line 1047 "c-parse.y" #line 1048 "c-parse.y"
{ yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ; { yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;} break;}
case 177: case 177:
#line 1052 "c-parse.y" #line 1053 "c-parse.y"
{ yyval.ttype = NULL_TREE; ; { yyval.ttype = NULL_TREE; ;
break;} break;}
case 178: case 178:
#line 1054 "c-parse.y" #line 1055 "c-parse.y"
{ yyval.ttype = build_tree_list (yyvsp[0].ttype, NULL_TREE); ; { yyval.ttype = build_tree_list (yyvsp[0].ttype, NULL_TREE); ;
break;} break;}
case 179: case 179:
#line 1056 "c-parse.y" #line 1057 "c-parse.y"
{ yyval.ttype = build_tree_list (yyvsp[-3].ttype, build_tree_list (NULL_TREE, yyvsp[-1].ttype)); ; { yyval.ttype = build_tree_list (yyvsp[-3].ttype, build_tree_list (NULL_TREE, yyvsp[-1].ttype)); ;
break;} break;}
case 180: case 180:
#line 1058 "c-parse.y" #line 1059 "c-parse.y"
{ yyval.ttype = build_tree_list (yyvsp[-5].ttype, tree_cons (NULL_TREE, yyvsp[-3].ttype, yyvsp[-1].ttype)); ; { yyval.ttype = build_tree_list (yyvsp[-5].ttype, tree_cons (NULL_TREE, yyvsp[-3].ttype, yyvsp[-1].ttype)); ;
break;} break;}
case 181: case 181:
#line 1060 "c-parse.y" #line 1061 "c-parse.y"
{ yyval.ttype = build_tree_list (yyvsp[-3].ttype, yyvsp[-1].ttype); ; { yyval.ttype = build_tree_list (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
break;} break;}
case 187: case 187:
#line 1078 "c-parse.y" #line 1079 "c-parse.y"
{ really_start_incremental_init (NULL_TREE); { really_start_incremental_init (NULL_TREE);
/* Note that the call to clear_momentary /* Note that the call to clear_momentary
is in process_init_element. */ is in process_init_element. */
push_momentary (); ; push_momentary (); ;
break;} break;}
case 188: case 188:
#line 1083 "c-parse.y" #line 1084 "c-parse.y"
{ yyval.ttype = pop_init_level (0); { yyval.ttype = pop_init_level (0);
if (yyval.ttype == error_mark_node if (yyval.ttype == error_mark_node
&& ! (yychar == STRING || yychar == CONSTANT)) && ! (yychar == STRING || yychar == CONSTANT))
...@@ -2584,48 +2585,48 @@ case 188: ...@@ -2584,48 +2585,48 @@ case 188:
pop_momentary_nofree (); ; pop_momentary_nofree (); ;
break;} break;}
case 189: case 189:
#line 1091 "c-parse.y" #line 1092 "c-parse.y"
{ yyval.ttype = error_mark_node; ; { yyval.ttype = error_mark_node; ;
break;} break;}
case 190: case 190:
#line 1097 "c-parse.y" #line 1098 "c-parse.y"
{ if (pedantic) { if (pedantic)
pedwarn ("ANSI C forbids empty initializer braces"); ; pedwarn ("ANSI C forbids empty initializer braces"); ;
break;} break;}
case 194: case 194:
#line 1111 "c-parse.y" #line 1112 "c-parse.y"
{ process_init_element (yyvsp[0].ttype); ; { process_init_element (yyvsp[0].ttype); ;
break;} break;}
case 195: case 195:
#line 1113 "c-parse.y" #line 1114 "c-parse.y"
{ push_init_level (0); ; { push_init_level (0); ;
break;} break;}
case 196: case 196:
#line 1115 "c-parse.y" #line 1116 "c-parse.y"
{ process_init_element (pop_init_level (0)); ; { process_init_element (pop_init_level (0)); ;
break;} break;}
case 198: case 198:
#line 1121 "c-parse.y" #line 1122 "c-parse.y"
{ set_init_index (yyvsp[-4].ttype, yyvsp[-2].ttype); ; { set_init_index (yyvsp[-4].ttype, yyvsp[-2].ttype); ;
break;} break;}
case 200: case 200:
#line 1124 "c-parse.y" #line 1125 "c-parse.y"
{ set_init_index (yyvsp[-2].ttype, NULL_TREE); ; { set_init_index (yyvsp[-2].ttype, NULL_TREE); ;
break;} break;}
case 202: case 202:
#line 1127 "c-parse.y" #line 1128 "c-parse.y"
{ set_init_index (yyvsp[-1].ttype, NULL_TREE); ; { set_init_index (yyvsp[-1].ttype, NULL_TREE); ;
break;} break;}
case 204: case 204:
#line 1130 "c-parse.y" #line 1131 "c-parse.y"
{ set_init_label (yyvsp[-1].ttype); ; { set_init_label (yyvsp[-1].ttype); ;
break;} break;}
case 206: case 206:
#line 1133 "c-parse.y" #line 1134 "c-parse.y"
{ set_init_label (yyvsp[-1].ttype); ; { set_init_label (yyvsp[-1].ttype); ;
break;} break;}
case 208: case 208:
#line 1139 "c-parse.y" #line 1140 "c-parse.y"
{ push_c_function_context (); { push_c_function_context ();
if (! start_function (current_declspecs, yyvsp[0].ttype, if (! start_function (current_declspecs, yyvsp[0].ttype,
prefix_attributes, NULL_TREE, 1)) prefix_attributes, NULL_TREE, 1))
...@@ -2636,16 +2637,16 @@ case 208: ...@@ -2636,16 +2637,16 @@ case 208:
reinit_parse_for_function (); ; reinit_parse_for_function (); ;
break;} break;}
case 209: case 209:
#line 1148 "c-parse.y" #line 1149 "c-parse.y"
{ store_parm_decls (); ; { store_parm_decls (); ;
break;} break;}
case 210: case 210:
#line 1156 "c-parse.y" #line 1157 "c-parse.y"
{ finish_function (1); { finish_function (1);
pop_c_function_context (); ; pop_c_function_context (); ;
break;} break;}
case 211: case 211:
#line 1162 "c-parse.y" #line 1163 "c-parse.y"
{ push_c_function_context (); { push_c_function_context ();
if (! start_function (current_declspecs, yyvsp[0].ttype, if (! start_function (current_declspecs, yyvsp[0].ttype,
prefix_attributes, NULL_TREE, 1)) prefix_attributes, NULL_TREE, 1))
...@@ -2656,172 +2657,172 @@ case 211: ...@@ -2656,172 +2657,172 @@ case 211:
reinit_parse_for_function (); ; reinit_parse_for_function (); ;
break;} break;}
case 212: case 212:
#line 1171 "c-parse.y" #line 1172 "c-parse.y"
{ store_parm_decls (); ; { store_parm_decls (); ;
break;} break;}
case 213: case 213:
#line 1179 "c-parse.y" #line 1180 "c-parse.y"
{ finish_function (1); { finish_function (1);
pop_c_function_context (); ; pop_c_function_context (); ;
break;} break;}
case 216: case 216:
#line 1195 "c-parse.y" #line 1196 "c-parse.y"
{ yyval.ttype = yyvsp[-1].ttype; ; { yyval.ttype = yyvsp[-1].ttype; ;
break;} break;}
case 217: case 217:
#line 1197 "c-parse.y" #line 1198 "c-parse.y"
{ yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ; { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
break;} break;}
case 218: case 218:
#line 1202 "c-parse.y" #line 1203 "c-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ; { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
break;} break;}
case 219: case 219:
#line 1204 "c-parse.y" #line 1205 "c-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ; { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
break;} break;}
case 220: case 220:
#line 1206 "c-parse.y" #line 1207 "c-parse.y"
{ yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ; { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;} break;}
case 221: case 221:
#line 1213 "c-parse.y" #line 1214 "c-parse.y"
{ yyval.ttype = yyvsp[0].ttype; ; { yyval.ttype = yyvsp[0].ttype; ;
break;} break;}
case 223: case 223:
#line 1224 "c-parse.y" #line 1225 "c-parse.y"
{ yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ; { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
break;} break;}
case 224: case 224:
#line 1229 "c-parse.y" #line 1230 "c-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ; { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
break;} break;}
case 225: case 225:
#line 1231 "c-parse.y" #line 1232 "c-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ; { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
break;} break;}
case 226: case 226:
#line 1233 "c-parse.y" #line 1234 "c-parse.y"
{ yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ; { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;} break;}
case 227: case 227:
#line 1240 "c-parse.y" #line 1241 "c-parse.y"
{ yyval.ttype = yyvsp[0].ttype; ; { yyval.ttype = yyvsp[0].ttype; ;
break;} break;}
case 229: case 229:
#line 1249 "c-parse.y" #line 1250 "c-parse.y"
{ yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ; { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
break;} break;}
case 230: case 230:
#line 1254 "c-parse.y" #line 1255 "c-parse.y"
{ yyval.ttype = yyvsp[-1].ttype; ; { yyval.ttype = yyvsp[-1].ttype; ;
break;} break;}
case 231: case 231:
#line 1256 "c-parse.y" #line 1257 "c-parse.y"
{ yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ; { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;} break;}
case 232: case 232:
#line 1258 "c-parse.y" #line 1259 "c-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ; { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
break;} break;}
case 233: case 233:
#line 1260 "c-parse.y" #line 1261 "c-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ; { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
break;} break;}
case 234: case 234:
#line 1267 "c-parse.y" #line 1268 "c-parse.y"
{ yyval.ttype = yyvsp[0].ttype; ; { yyval.ttype = yyvsp[0].ttype; ;
break;} break;}
case 236: case 236:
#line 1273 "c-parse.y" #line 1274 "c-parse.y"
{ yyval.ttype = start_struct (RECORD_TYPE, yyvsp[-1].ttype); { yyval.ttype = start_struct (RECORD_TYPE, yyvsp[-1].ttype);
/* Start scope of tag before parsing components. */ /* Start scope of tag before parsing components. */
; ;
break;} break;}
case 237: case 237:
#line 1277 "c-parse.y" #line 1278 "c-parse.y"
{ yyval.ttype = finish_struct (yyvsp[-3].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ; { yyval.ttype = finish_struct (yyvsp[-3].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;} break;}
case 238: case 238:
#line 1279 "c-parse.y" #line 1280 "c-parse.y"
{ yyval.ttype = finish_struct (start_struct (RECORD_TYPE, NULL_TREE), { yyval.ttype = finish_struct (start_struct (RECORD_TYPE, NULL_TREE),
yyvsp[-2].ttype, yyvsp[0].ttype); yyvsp[-2].ttype, yyvsp[0].ttype);
; ;
break;} break;}
case 239: case 239:
#line 1283 "c-parse.y" #line 1284 "c-parse.y"
{ yyval.ttype = xref_tag (RECORD_TYPE, yyvsp[0].ttype); ; { yyval.ttype = xref_tag (RECORD_TYPE, yyvsp[0].ttype); ;
break;} break;}
case 240: case 240:
#line 1285 "c-parse.y" #line 1286 "c-parse.y"
{ yyval.ttype = start_struct (UNION_TYPE, yyvsp[-1].ttype); ; { yyval.ttype = start_struct (UNION_TYPE, yyvsp[-1].ttype); ;
break;} break;}
case 241: case 241:
#line 1287 "c-parse.y" #line 1288 "c-parse.y"
{ yyval.ttype = finish_struct (yyvsp[-3].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ; { yyval.ttype = finish_struct (yyvsp[-3].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;} break;}
case 242: case 242:
#line 1289 "c-parse.y" #line 1290 "c-parse.y"
{ yyval.ttype = finish_struct (start_struct (UNION_TYPE, NULL_TREE), { yyval.ttype = finish_struct (start_struct (UNION_TYPE, NULL_TREE),
yyvsp[-2].ttype, yyvsp[0].ttype); yyvsp[-2].ttype, yyvsp[0].ttype);
; ;
break;} break;}
case 243: case 243:
#line 1293 "c-parse.y" #line 1294 "c-parse.y"
{ yyval.ttype = xref_tag (UNION_TYPE, yyvsp[0].ttype); ; { yyval.ttype = xref_tag (UNION_TYPE, yyvsp[0].ttype); ;
break;} break;}
case 244: case 244:
#line 1295 "c-parse.y" #line 1296 "c-parse.y"
{ yyvsp[0].itype = suspend_momentary (); { yyvsp[0].itype = suspend_momentary ();
yyval.ttype = start_enum (yyvsp[-1].ttype); ; yyval.ttype = start_enum (yyvsp[-1].ttype); ;
break;} break;}
case 245: case 245:
#line 1298 "c-parse.y" #line 1299 "c-parse.y"
{ yyval.ttype = finish_enum (yyvsp[-4].ttype, nreverse (yyvsp[-3].ttype), yyvsp[0].ttype); { yyval.ttype = finish_enum (yyvsp[-4].ttype, nreverse (yyvsp[-3].ttype), yyvsp[0].ttype);
resume_momentary (yyvsp[-5].itype); ; resume_momentary (yyvsp[-5].itype); ;
break;} break;}
case 246: case 246:
#line 1301 "c-parse.y" #line 1302 "c-parse.y"
{ yyvsp[0].itype = suspend_momentary (); { yyvsp[0].itype = suspend_momentary ();
yyval.ttype = start_enum (NULL_TREE); ; yyval.ttype = start_enum (NULL_TREE); ;
break;} break;}
case 247: case 247:
#line 1304 "c-parse.y" #line 1305 "c-parse.y"
{ yyval.ttype = finish_enum (yyvsp[-4].ttype, nreverse (yyvsp[-3].ttype), yyvsp[0].ttype); { yyval.ttype = finish_enum (yyvsp[-4].ttype, nreverse (yyvsp[-3].ttype), yyvsp[0].ttype);
resume_momentary (yyvsp[-5].itype); ; resume_momentary (yyvsp[-5].itype); ;
break;} break;}
case 248: case 248:
#line 1307 "c-parse.y" #line 1308 "c-parse.y"
{ yyval.ttype = xref_tag (ENUMERAL_TYPE, yyvsp[0].ttype); ; { yyval.ttype = xref_tag (ENUMERAL_TYPE, yyvsp[0].ttype); ;
break;} break;}
case 252: case 252:
#line 1318 "c-parse.y" #line 1319 "c-parse.y"
{ if (pedantic) pedwarn ("comma at end of enumerator list"); ; { if (pedantic) pedwarn ("comma at end of enumerator list"); ;
break;} break;}
case 253: case 253:
#line 1323 "c-parse.y" #line 1324 "c-parse.y"
{ yyval.ttype = yyvsp[0].ttype; ; { yyval.ttype = yyvsp[0].ttype; ;
break;} break;}
case 254: case 254:
#line 1325 "c-parse.y" #line 1326 "c-parse.y"
{ yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); { yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype);
pedwarn ("no semicolon at end of struct or union"); ; pedwarn ("no semicolon at end of struct or union"); ;
break;} break;}
case 255: case 255:
#line 1330 "c-parse.y" #line 1331 "c-parse.y"
{ yyval.ttype = NULL_TREE; ; { yyval.ttype = NULL_TREE; ;
break;} break;}
case 256: case 256:
#line 1332 "c-parse.y" #line 1333 "c-parse.y"
{ yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[-1].ttype); ; { yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[-1].ttype); ;
break;} break;}
case 257: case 257:
#line 1334 "c-parse.y" #line 1335 "c-parse.y"
{ if (pedantic) { if (pedantic)
pedwarn ("extra semicolon in struct or union specified"); ; pedwarn ("extra semicolon in struct or union specified"); ;
break;} break;}
case 258: case 258:
#line 1349 "c-parse.y" #line 1350 "c-parse.y"
{ yyval.ttype = yyvsp[0].ttype; { yyval.ttype = yyvsp[0].ttype;
current_declspecs = TREE_VALUE (declspec_stack); current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack); prefix_attributes = TREE_PURPOSE (declspec_stack);
...@@ -2829,14 +2830,14 @@ case 258: ...@@ -2829,14 +2830,14 @@ case 258:
resume_momentary (yyvsp[-1].itype); ; resume_momentary (yyvsp[-1].itype); ;
break;} break;}
case 259: case 259:
#line 1355 "c-parse.y" #line 1356 "c-parse.y"
{ if (pedantic) { if (pedantic)
pedwarn ("ANSI C forbids member declarations with no members"); pedwarn ("ANSI C forbids member declarations with no members");
shadow_tag(yyvsp[0].ttype); shadow_tag(yyvsp[0].ttype);
yyval.ttype = NULL_TREE; ; yyval.ttype = NULL_TREE; ;
break;} break;}
case 260: case 260:
#line 1360 "c-parse.y" #line 1361 "c-parse.y"
{ yyval.ttype = yyvsp[0].ttype; { yyval.ttype = yyvsp[0].ttype;
current_declspecs = TREE_VALUE (declspec_stack); current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack); prefix_attributes = TREE_PURPOSE (declspec_stack);
...@@ -2844,140 +2845,140 @@ case 260: ...@@ -2844,140 +2845,140 @@ case 260:
resume_momentary (yyvsp[-1].itype); ; resume_momentary (yyvsp[-1].itype); ;
break;} break;}
case 261: case 261:
#line 1366 "c-parse.y" #line 1367 "c-parse.y"
{ if (pedantic) { if (pedantic)
pedwarn ("ANSI C forbids member declarations with no members"); pedwarn ("ANSI C forbids member declarations with no members");
shadow_tag(yyvsp[0].ttype); shadow_tag(yyvsp[0].ttype);
yyval.ttype = NULL_TREE; ; yyval.ttype = NULL_TREE; ;
break;} break;}
case 262: case 262:
#line 1371 "c-parse.y" #line 1372 "c-parse.y"
{ yyval.ttype = NULL_TREE; ; { yyval.ttype = NULL_TREE; ;
break;} break;}
case 263: case 263:
#line 1373 "c-parse.y" #line 1374 "c-parse.y"
{ yyval.ttype = yyvsp[0].ttype; { yyval.ttype = yyvsp[0].ttype;
pedantic = yyvsp[-1].itype; ; pedantic = yyvsp[-1].itype; ;
break;} break;}
case 265: case 265:
#line 1380 "c-parse.y" #line 1381 "c-parse.y"
{ yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ; { yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;} break;}
case 266: case 266:
#line 1385 "c-parse.y" #line 1386 "c-parse.y"
{ yyval.ttype = grokfield (yyvsp[-3].filename, yyvsp[-2].lineno, yyvsp[-1].ttype, current_declspecs, NULL_TREE); { 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); ; decl_attributes (yyval.ttype, yyvsp[0].ttype, prefix_attributes); ;
break;} break;}
case 267: case 267:
#line 1389 "c-parse.y" #line 1390 "c-parse.y"
{ yyval.ttype = grokfield (yyvsp[-5].filename, yyvsp[-4].lineno, yyvsp[-3].ttype, current_declspecs, yyvsp[-1].ttype); { 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); ; decl_attributes (yyval.ttype, yyvsp[0].ttype, prefix_attributes); ;
break;} break;}
case 268: case 268:
#line 1392 "c-parse.y" #line 1393 "c-parse.y"
{ yyval.ttype = grokfield (yyvsp[-4].filename, yyvsp[-3].lineno, NULL_TREE, current_declspecs, yyvsp[-1].ttype); { 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); ; decl_attributes (yyval.ttype, yyvsp[0].ttype, prefix_attributes); ;
break;} break;}
case 270: case 270:
#line 1404 "c-parse.y" #line 1405 "c-parse.y"
{ if (yyvsp[-2].ttype == error_mark_node) { if (yyvsp[-2].ttype == error_mark_node)
yyval.ttype = yyvsp[-2].ttype; yyval.ttype = yyvsp[-2].ttype;
else else
yyval.ttype = chainon (yyvsp[0].ttype, yyvsp[-2].ttype); ; yyval.ttype = chainon (yyvsp[0].ttype, yyvsp[-2].ttype); ;
break;} break;}
case 271: case 271:
#line 1409 "c-parse.y" #line 1410 "c-parse.y"
{ yyval.ttype = error_mark_node; ; { yyval.ttype = error_mark_node; ;
break;} break;}
case 272: case 272:
#line 1415 "c-parse.y" #line 1416 "c-parse.y"
{ yyval.ttype = build_enumerator (yyvsp[0].ttype, NULL_TREE); ; { yyval.ttype = build_enumerator (yyvsp[0].ttype, NULL_TREE); ;
break;} break;}
case 273: case 273:
#line 1417 "c-parse.y" #line 1418 "c-parse.y"
{ yyval.ttype = build_enumerator (yyvsp[-2].ttype, yyvsp[0].ttype); ; { yyval.ttype = build_enumerator (yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;} break;}
case 274: case 274:
#line 1422 "c-parse.y" #line 1423 "c-parse.y"
{ yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ; { yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;} break;}
case 275: case 275:
#line 1424 "c-parse.y" #line 1425 "c-parse.y"
{ yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ; { yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;} break;}
case 276: case 276:
#line 1429 "c-parse.y" #line 1430 "c-parse.y"
{ yyval.ttype = NULL_TREE; ; { yyval.ttype = NULL_TREE; ;
break;} break;}
case 278: case 278:
#line 1435 "c-parse.y" #line 1436 "c-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ; { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;
break;} break;}
case 279: case 279:
#line 1437 "c-parse.y" #line 1438 "c-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ; { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
break;} break;}
case 280: case 280:
#line 1442 "c-parse.y" #line 1443 "c-parse.y"
{ yyval.ttype = NULL_TREE; ; { yyval.ttype = NULL_TREE; ;
break;} break;}
case 281: case 281:
#line 1444 "c-parse.y" #line 1445 "c-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ; { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
break;} break;}
case 282: case 282:
#line 1449 "c-parse.y" #line 1450 "c-parse.y"
{ yyval.ttype = yyvsp[-1].ttype; ; { yyval.ttype = yyvsp[-1].ttype; ;
break;} break;}
case 283: case 283:
#line 1452 "c-parse.y" #line 1453 "c-parse.y"
{ yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ; { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;} break;}
case 284: case 284:
#line 1454 "c-parse.y" #line 1455 "c-parse.y"
{ yyval.ttype = make_pointer_declarator (yyvsp[0].ttype, NULL_TREE); ; { yyval.ttype = make_pointer_declarator (yyvsp[0].ttype, NULL_TREE); ;
break;} break;}
case 285: case 285:
#line 1456 "c-parse.y" #line 1457 "c-parse.y"
{ yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ; { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
break;} break;}
case 286: case 286:
#line 1458 "c-parse.y" #line 1459 "c-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ; { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
break;} break;}
case 287: case 287:
#line 1460 "c-parse.y" #line 1461 "c-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ; { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
break;} break;}
case 288: case 288:
#line 1462 "c-parse.y" #line 1463 "c-parse.y"
{ yyval.ttype = build_nt (CALL_EXPR, NULL_TREE, yyvsp[0].ttype, NULL_TREE); ; { yyval.ttype = build_nt (CALL_EXPR, NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;
break;} break;}
case 289: case 289:
#line 1464 "c-parse.y" #line 1465 "c-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, NULL_TREE, yyvsp[-1].ttype); ; { yyval.ttype = build_nt (ARRAY_REF, NULL_TREE, yyvsp[-1].ttype); ;
break;} break;}
case 290: case 290:
#line 1466 "c-parse.y" #line 1467 "c-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, NULL_TREE, NULL_TREE); ; { yyval.ttype = build_nt (ARRAY_REF, NULL_TREE, NULL_TREE); ;
break;} break;}
case 291: case 291:
#line 1477 "c-parse.y" #line 1478 "c-parse.y"
{ {
if (pedantic && yyvsp[0].ends_in_label) if (pedantic && yyvsp[0].ends_in_label)
pedwarn ("ANSI C forbids label at end of compound statement"); pedwarn ("ANSI C forbids label at end of compound statement");
; ;
break;} break;}
case 293: case 293:
#line 1486 "c-parse.y" #line 1487 "c-parse.y"
{ yyval.ends_in_label = yyvsp[0].ends_in_label; ; { yyval.ends_in_label = yyvsp[0].ends_in_label; ;
break;} break;}
case 294: case 294:
#line 1488 "c-parse.y" #line 1489 "c-parse.y"
{ yyval.ends_in_label = 0; ; { yyval.ends_in_label = 0; ;
break;} break;}
case 298: case 298:
#line 1500 "c-parse.y" #line 1501 "c-parse.y"
{ emit_line_note (input_filename, lineno); { emit_line_note (input_filename, lineno);
pushlevel (0); pushlevel (0);
clear_last_expr (); clear_last_expr ();
...@@ -2986,12 +2987,12 @@ case 298: ...@@ -2986,12 +2987,12 @@ case 298:
; ;
break;} break;}
case 300: case 300:
#line 1513 "c-parse.y" #line 1514 "c-parse.y"
{ if (pedantic) { if (pedantic)
pedwarn ("ANSI C forbids label declarations"); ; pedwarn ("ANSI C forbids label declarations"); ;
break;} break;}
case 303: case 303:
#line 1524 "c-parse.y" #line 1525 "c-parse.y"
{ tree link; { tree link;
for (link = yyvsp[-1].ttype; link; link = TREE_CHAIN (link)) for (link = yyvsp[-1].ttype; link; link = TREE_CHAIN (link))
{ {
...@@ -3002,19 +3003,19 @@ case 303: ...@@ -3002,19 +3003,19 @@ case 303:
; ;
break;} break;}
case 304: case 304:
#line 1538 "c-parse.y" #line 1539 "c-parse.y"
{; {;
break;} break;}
case 306: case 306:
#line 1542 "c-parse.y" #line 1543 "c-parse.y"
{ compstmt_count++; ; { compstmt_count++; ;
break;} break;}
case 307: case 307:
#line 1545 "c-parse.y" #line 1546 "c-parse.y"
{ yyval.ttype = convert (void_type_node, integer_zero_node); ; { yyval.ttype = convert (void_type_node, integer_zero_node); ;
break;} break;}
case 308: case 308:
#line 1547 "c-parse.y" #line 1548 "c-parse.y"
{ emit_line_note (input_filename, lineno); { emit_line_note (input_filename, lineno);
expand_end_bindings (getdecls (), 1, 0); expand_end_bindings (getdecls (), 1, 0);
yyval.ttype = poplevel (1, 1, 0); yyval.ttype = poplevel (1, 1, 0);
...@@ -3024,7 +3025,7 @@ case 308: ...@@ -3024,7 +3025,7 @@ case 308:
pop_momentary (); ; pop_momentary (); ;
break;} break;}
case 309: case 309:
#line 1555 "c-parse.y" #line 1556 "c-parse.y"
{ emit_line_note (input_filename, lineno); { emit_line_note (input_filename, lineno);
expand_end_bindings (getdecls (), kept_level_p (), 0); expand_end_bindings (getdecls (), kept_level_p (), 0);
yyval.ttype = poplevel (kept_level_p (), 0, 0); yyval.ttype = poplevel (kept_level_p (), 0, 0);
...@@ -3034,7 +3035,7 @@ case 309: ...@@ -3034,7 +3035,7 @@ case 309:
pop_momentary (); ; pop_momentary (); ;
break;} break;}
case 310: case 310:
#line 1563 "c-parse.y" #line 1564 "c-parse.y"
{ emit_line_note (input_filename, lineno); { emit_line_note (input_filename, lineno);
expand_end_bindings (getdecls (), kept_level_p (), 0); expand_end_bindings (getdecls (), kept_level_p (), 0);
yyval.ttype = poplevel (kept_level_p (), 0, 0); yyval.ttype = poplevel (kept_level_p (), 0, 0);
...@@ -3044,7 +3045,7 @@ case 310: ...@@ -3044,7 +3045,7 @@ case 310:
pop_momentary (); ; pop_momentary (); ;
break;} break;}
case 313: case 313:
#line 1583 "c-parse.y" #line 1584 "c-parse.y"
{ emit_line_note (yyvsp[-5].filename, yyvsp[-4].lineno); { emit_line_note (yyvsp[-5].filename, yyvsp[-4].lineno);
c_expand_start_cond (truthvalue_conversion (yyvsp[-1].ttype), 0, c_expand_start_cond (truthvalue_conversion (yyvsp[-1].ttype), 0,
compstmt_count); compstmt_count);
...@@ -3054,7 +3055,7 @@ case 313: ...@@ -3054,7 +3055,7 @@ case 313:
position_after_white_space (); ; position_after_white_space (); ;
break;} break;}
case 314: case 314:
#line 1597 "c-parse.y" #line 1598 "c-parse.y"
{ stmt_count++; { stmt_count++;
compstmt_count++; compstmt_count++;
emit_line_note (yyvsp[-2].filename, yyvsp[-1].lineno); emit_line_note (yyvsp[-2].filename, yyvsp[-1].lineno);
...@@ -3064,43 +3065,43 @@ case 314: ...@@ -3064,43 +3065,43 @@ case 314:
position_after_white_space (); ; position_after_white_space (); ;
break;} break;}
case 315: case 315:
#line 1605 "c-parse.y" #line 1606 "c-parse.y"
{ expand_loop_continue_here (); ; { expand_loop_continue_here (); ;
break;} break;}
case 316: case 316:
#line 1609 "c-parse.y" #line 1610 "c-parse.y"
{ yyval.filename = input_filename; ; { yyval.filename = input_filename; ;
break;} break;}
case 317: case 317:
#line 1613 "c-parse.y" #line 1614 "c-parse.y"
{ yyval.lineno = lineno; ; { yyval.lineno = lineno; ;
break;} break;}
case 318: case 318:
#line 1618 "c-parse.y" #line 1619 "c-parse.y"
{ ; { ;
break;} break;}
case 319: case 319:
#line 1623 "c-parse.y" #line 1624 "c-parse.y"
{ ; { ;
break;} break;}
case 320: case 320:
#line 1628 "c-parse.y" #line 1629 "c-parse.y"
{ yyval.ends_in_label = yyvsp[0].ends_in_label; ; { yyval.ends_in_label = yyvsp[0].ends_in_label; ;
break;} break;}
case 321: case 321:
#line 1633 "c-parse.y" #line 1634 "c-parse.y"
{ yyval.ends_in_label = 0; ; { yyval.ends_in_label = 0; ;
break;} break;}
case 322: case 322:
#line 1635 "c-parse.y" #line 1636 "c-parse.y"
{ yyval.ends_in_label = 1; ; { yyval.ends_in_label = 1; ;
break;} break;}
case 323: case 323:
#line 1641 "c-parse.y" #line 1642 "c-parse.y"
{ stmt_count++; ; { stmt_count++; ;
break;} break;}
case 325: case 325:
#line 1644 "c-parse.y" #line 1645 "c-parse.y"
{ stmt_count++; { stmt_count++;
emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno); emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno);
/* It appears that this should not be done--that a non-lvalue array /* It appears that this should not be done--that a non-lvalue array
...@@ -3119,19 +3120,19 @@ case 325: ...@@ -3119,19 +3120,19 @@ case 325:
clear_momentary (); ; clear_momentary (); ;
break;} break;}
case 326: case 326:
#line 1661 "c-parse.y" #line 1662 "c-parse.y"
{ c_expand_start_else (); { c_expand_start_else ();
yyvsp[-1].itype = stmt_count; yyvsp[-1].itype = stmt_count;
position_after_white_space (); ; position_after_white_space (); ;
break;} break;}
case 327: case 327:
#line 1665 "c-parse.y" #line 1666 "c-parse.y"
{ c_expand_end_cond (); { c_expand_end_cond ();
if (extra_warnings && stmt_count == yyvsp[-3].itype) if (extra_warnings && stmt_count == yyvsp[-3].itype)
warning ("empty body in an else-statement"); ; warning ("empty body in an else-statement"); ;
break;} break;}
case 328: case 328:
#line 1669 "c-parse.y" #line 1670 "c-parse.y"
{ c_expand_end_cond (); { c_expand_end_cond ();
/* This warning is here instead of in simple_if, because we /* This warning is here instead of in simple_if, because we
do not want a warning if an empty if is followed by an do not want a warning if an empty if is followed by an
...@@ -3142,11 +3143,11 @@ case 328: ...@@ -3142,11 +3143,11 @@ case 328:
"empty body in an if-statement"); ; "empty body in an if-statement"); ;
break;} break;}
case 329: case 329:
#line 1681 "c-parse.y" #line 1682 "c-parse.y"
{ c_expand_end_cond (); ; { c_expand_end_cond (); ;
break;} break;}
case 330: case 330:
#line 1683 "c-parse.y" #line 1684 "c-parse.y"
{ stmt_count++; { stmt_count++;
emit_line_note (yyvsp[-2].filename, yyvsp[-1].lineno); emit_line_note (yyvsp[-2].filename, yyvsp[-1].lineno);
/* The emit_nop used to come before emit_line_note, /* The emit_nop used to come before emit_line_note,
...@@ -3158,7 +3159,7 @@ case 330: ...@@ -3158,7 +3159,7 @@ case 330:
emit_nop (); ; emit_nop (); ;
break;} break;}
case 331: case 331:
#line 1693 "c-parse.y" #line 1694 "c-parse.y"
{ /* Don't start the loop till we have succeeded { /* Don't start the loop till we have succeeded
in parsing the end test. This is to make sure in parsing the end test. This is to make sure
that we end every loop we start. */ that we end every loop we start. */
...@@ -3169,11 +3170,11 @@ case 331: ...@@ -3169,11 +3170,11 @@ case 331:
position_after_white_space (); ; position_after_white_space (); ;
break;} break;}
case 332: case 332:
#line 1702 "c-parse.y" #line 1703 "c-parse.y"
{ expand_end_loop (); ; { expand_end_loop (); ;
break;} break;}
case 333: case 333:
#line 1705 "c-parse.y" #line 1706 "c-parse.y"
{ emit_line_note (input_filename, lineno); { emit_line_note (input_filename, lineno);
expand_exit_loop_if_false (NULL_PTR, expand_exit_loop_if_false (NULL_PTR,
truthvalue_conversion (yyvsp[-2].ttype)); truthvalue_conversion (yyvsp[-2].ttype));
...@@ -3181,12 +3182,12 @@ case 333: ...@@ -3181,12 +3182,12 @@ case 333:
clear_momentary (); ; clear_momentary (); ;
break;} break;}
case 334: case 334:
#line 1712 "c-parse.y" #line 1713 "c-parse.y"
{ expand_end_loop (); { expand_end_loop ();
clear_momentary (); ; clear_momentary (); ;
break;} break;}
case 335: case 335:
#line 1716 "c-parse.y" #line 1717 "c-parse.y"
{ stmt_count++; { stmt_count++;
emit_line_note (yyvsp[-5].filename, yyvsp[-4].lineno); emit_line_note (yyvsp[-5].filename, yyvsp[-4].lineno);
/* See comment in `while' alternative, above. */ /* See comment in `while' alternative, above. */
...@@ -3199,12 +3200,12 @@ case 335: ...@@ -3199,12 +3200,12 @@ case 335:
; ;
break;} break;}
case 336: case 336:
#line 1728 "c-parse.y" #line 1729 "c-parse.y"
{ yyvsp[0].lineno = lineno; { yyvsp[0].lineno = lineno;
yyval.filename = input_filename; ; yyval.filename = input_filename; ;
break;} break;}
case 337: case 337:
#line 1731 "c-parse.y" #line 1732 "c-parse.y"
{ {
/* Start the loop. Doing this after parsing /* Start the loop. Doing this after parsing
all the expressions ensures we will end the loop. */ all the expressions ensures we will end the loop. */
...@@ -3222,7 +3223,7 @@ case 337: ...@@ -3222,7 +3223,7 @@ case 337:
position_after_white_space (); ; position_after_white_space (); ;
break;} break;}
case 338: case 338:
#line 1747 "c-parse.y" #line 1748 "c-parse.y"
{ /* Emit the increment expression, with a line number. */ { /* Emit the increment expression, with a line number. */
emit_line_note (yyvsp[-4].filename, yyvsp[-5].lineno); emit_line_note (yyvsp[-4].filename, yyvsp[-5].lineno);
expand_loop_continue_here (); expand_loop_continue_here ();
...@@ -3235,7 +3236,7 @@ case 338: ...@@ -3235,7 +3236,7 @@ case 338:
expand_end_loop (); ; expand_end_loop (); ;
break;} break;}
case 339: case 339:
#line 1758 "c-parse.y" #line 1759 "c-parse.y"
{ stmt_count++; { stmt_count++;
emit_line_note (yyvsp[-5].filename, yyvsp[-4].lineno); emit_line_note (yyvsp[-5].filename, yyvsp[-4].lineno);
c_expand_start_case (yyvsp[-1].ttype); c_expand_start_case (yyvsp[-1].ttype);
...@@ -3245,7 +3246,7 @@ case 339: ...@@ -3245,7 +3246,7 @@ case 339:
position_after_white_space (); ; position_after_white_space (); ;
break;} break;}
case 340: case 340:
#line 1766 "c-parse.y" #line 1767 "c-parse.y"
{ expand_end_case (yyvsp[-3].ttype); { expand_end_case (yyvsp[-3].ttype);
if (yychar == CONSTANT || yychar == STRING) if (yychar == CONSTANT || yychar == STRING)
pop_momentary_nofree (); pop_momentary_nofree ();
...@@ -3253,33 +3254,33 @@ case 340: ...@@ -3253,33 +3254,33 @@ case 340:
pop_momentary (); ; pop_momentary (); ;
break;} break;}
case 341: case 341:
#line 1772 "c-parse.y" #line 1773 "c-parse.y"
{ stmt_count++; { stmt_count++;
emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno); emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno);
if ( ! expand_exit_something ()) if ( ! expand_exit_something ())
error ("break statement not within loop or switch"); ; error ("break statement not within loop or switch"); ;
break;} break;}
case 342: case 342:
#line 1777 "c-parse.y" #line 1778 "c-parse.y"
{ stmt_count++; { stmt_count++;
emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno); emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno);
if (! expand_continue_loop (NULL_PTR)) if (! expand_continue_loop (NULL_PTR))
error ("continue statement not within a loop"); ; error ("continue statement not within a loop"); ;
break;} break;}
case 343: case 343:
#line 1782 "c-parse.y" #line 1783 "c-parse.y"
{ stmt_count++; { stmt_count++;
emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno); emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno);
c_expand_return (NULL_TREE); ; c_expand_return (NULL_TREE); ;
break;} break;}
case 344: case 344:
#line 1786 "c-parse.y" #line 1787 "c-parse.y"
{ stmt_count++; { stmt_count++;
emit_line_note (yyvsp[-4].filename, yyvsp[-3].lineno); emit_line_note (yyvsp[-4].filename, yyvsp[-3].lineno);
c_expand_return (yyvsp[-1].ttype); ; c_expand_return (yyvsp[-1].ttype); ;
break;} break;}
case 345: case 345:
#line 1790 "c-parse.y" #line 1791 "c-parse.y"
{ stmt_count++; { stmt_count++;
emit_line_note (yyvsp[-7].filename, yyvsp[-6].lineno); emit_line_note (yyvsp[-7].filename, yyvsp[-6].lineno);
STRIP_NOPS (yyvsp[-2].ttype); STRIP_NOPS (yyvsp[-2].ttype);
...@@ -3291,7 +3292,7 @@ case 345: ...@@ -3291,7 +3292,7 @@ case 345:
error ("argument of `asm' is not a constant string"); ; error ("argument of `asm' is not a constant string"); ;
break;} break;}
case 346: case 346:
#line 1801 "c-parse.y" #line 1802 "c-parse.y"
{ stmt_count++; { stmt_count++;
emit_line_note (yyvsp[-9].filename, yyvsp[-8].lineno); emit_line_note (yyvsp[-9].filename, yyvsp[-8].lineno);
c_expand_asm_operands (yyvsp[-4].ttype, yyvsp[-2].ttype, NULL_TREE, NULL_TREE, c_expand_asm_operands (yyvsp[-4].ttype, yyvsp[-2].ttype, NULL_TREE, NULL_TREE,
...@@ -3299,7 +3300,7 @@ case 346: ...@@ -3299,7 +3300,7 @@ case 346:
input_filename, lineno); ; input_filename, lineno); ;
break;} break;}
case 347: case 347:
#line 1808 "c-parse.y" #line 1809 "c-parse.y"
{ stmt_count++; { stmt_count++;
emit_line_note (yyvsp[-11].filename, yyvsp[-10].lineno); emit_line_note (yyvsp[-11].filename, yyvsp[-10].lineno);
c_expand_asm_operands (yyvsp[-6].ttype, yyvsp[-4].ttype, yyvsp[-2].ttype, NULL_TREE, c_expand_asm_operands (yyvsp[-6].ttype, yyvsp[-4].ttype, yyvsp[-2].ttype, NULL_TREE,
...@@ -3307,7 +3308,7 @@ case 347: ...@@ -3307,7 +3308,7 @@ case 347:
input_filename, lineno); ; input_filename, lineno); ;
break;} break;}
case 348: case 348:
#line 1816 "c-parse.y" #line 1817 "c-parse.y"
{ stmt_count++; { stmt_count++;
emit_line_note (yyvsp[-13].filename, yyvsp[-12].lineno); 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, c_expand_asm_operands (yyvsp[-8].ttype, yyvsp[-6].ttype, yyvsp[-4].ttype, yyvsp[-2].ttype,
...@@ -3315,7 +3316,7 @@ case 348: ...@@ -3315,7 +3316,7 @@ case 348:
input_filename, lineno); ; input_filename, lineno); ;
break;} break;}
case 349: case 349:
#line 1822 "c-parse.y" #line 1823 "c-parse.y"
{ tree decl; { tree decl;
stmt_count++; stmt_count++;
emit_line_note (yyvsp[-4].filename, yyvsp[-3].lineno); emit_line_note (yyvsp[-4].filename, yyvsp[-3].lineno);
...@@ -3328,7 +3329,7 @@ case 349: ...@@ -3328,7 +3329,7 @@ case 349:
; ;
break;} break;}
case 350: case 350:
#line 1833 "c-parse.y" #line 1834 "c-parse.y"
{ if (pedantic) { if (pedantic)
pedwarn ("ANSI C forbids `goto *expr;'"); pedwarn ("ANSI C forbids `goto *expr;'");
stmt_count++; stmt_count++;
...@@ -3336,7 +3337,7 @@ case 350: ...@@ -3336,7 +3337,7 @@ case 350:
expand_computed_goto (convert (ptr_type_node, yyvsp[-1].ttype)); ; expand_computed_goto (convert (ptr_type_node, yyvsp[-1].ttype)); ;
break;} break;}
case 353: case 353:
#line 1848 "c-parse.y" #line 1849 "c-parse.y"
{ {
/* The value returned by this action is */ /* The value returned by this action is */
/* 1 if everything is OK */ /* 1 if everything is OK */
...@@ -3359,14 +3360,14 @@ case 353: ...@@ -3359,14 +3360,14 @@ case 353:
; ;
break;} break;}
case 354: case 354:
#line 1869 "c-parse.y" #line 1870 "c-parse.y"
{ {
if (yyvsp[-1].itype) if (yyvsp[-1].itype)
iterator_for_loop_end (yyvsp[-3].ttype); iterator_for_loop_end (yyvsp[-3].ttype);
; ;
break;} break;}
case 355: case 355:
#line 1904 "c-parse.y" #line 1905 "c-parse.y"
{ register tree value = check_case_value (yyvsp[-1].ttype); { register tree value = check_case_value (yyvsp[-1].ttype);
register tree label register tree label
= build_decl (LABEL_DECL, NULL_TREE, NULL_TREE); = build_decl (LABEL_DECL, NULL_TREE, NULL_TREE);
...@@ -3399,7 +3400,7 @@ case 355: ...@@ -3399,7 +3400,7 @@ case 355:
position_after_white_space (); ; position_after_white_space (); ;
break;} break;}
case 356: case 356:
#line 1935 "c-parse.y" #line 1936 "c-parse.y"
{ register tree value1 = check_case_value (yyvsp[-3].ttype); { register tree value1 = check_case_value (yyvsp[-3].ttype);
register tree value2 = check_case_value (yyvsp[-1].ttype); register tree value2 = check_case_value (yyvsp[-1].ttype);
register tree label register tree label
...@@ -3432,7 +3433,7 @@ case 356: ...@@ -3432,7 +3433,7 @@ case 356:
position_after_white_space (); ; position_after_white_space (); ;
break;} break;}
case 357: case 357:
#line 1966 "c-parse.y" #line 1967 "c-parse.y"
{ {
tree duplicate; tree duplicate;
register tree label register tree label
...@@ -3449,7 +3450,7 @@ case 357: ...@@ -3449,7 +3450,7 @@ case 357:
position_after_white_space (); ; position_after_white_space (); ;
break;} break;}
case 358: case 358:
#line 1981 "c-parse.y" #line 1982 "c-parse.y"
{ tree label = define_label (input_filename, lineno, yyvsp[-1].ttype); { tree label = define_label (input_filename, lineno, yyvsp[-1].ttype);
stmt_count++; stmt_count++;
emit_nop (); emit_nop ();
...@@ -3458,52 +3459,52 @@ case 358: ...@@ -3458,52 +3459,52 @@ case 358:
position_after_white_space (); ; position_after_white_space (); ;
break;} break;}
case 359: case 359:
#line 1993 "c-parse.y" #line 1994 "c-parse.y"
{ emit_line_note (input_filename, lineno); { emit_line_note (input_filename, lineno);
yyval.ttype = NULL_TREE; ; yyval.ttype = NULL_TREE; ;
break;} break;}
case 360: case 360:
#line 1996 "c-parse.y" #line 1997 "c-parse.y"
{ emit_line_note (input_filename, lineno); ; { emit_line_note (input_filename, lineno); ;
break;} break;}
case 361: case 361:
#line 2001 "c-parse.y" #line 2002 "c-parse.y"
{ yyval.ttype = NULL_TREE; ; { yyval.ttype = NULL_TREE; ;
break;} break;}
case 363: case 363:
#line 2008 "c-parse.y" #line 2009 "c-parse.y"
{ yyval.ttype = NULL_TREE; ; { yyval.ttype = NULL_TREE; ;
break;} break;}
case 366: case 366:
#line 2015 "c-parse.y" #line 2016 "c-parse.y"
{ yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ; { yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;} break;}
case 367: case 367:
#line 2020 "c-parse.y" #line 2021 "c-parse.y"
{ yyval.ttype = build_tree_list (yyvsp[-3].ttype, yyvsp[-1].ttype); ; { yyval.ttype = build_tree_list (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
break;} break;}
case 368: case 368:
#line 2025 "c-parse.y" #line 2026 "c-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, combine_strings (yyvsp[0].ttype), NULL_TREE); ; { yyval.ttype = tree_cons (NULL_TREE, combine_strings (yyvsp[0].ttype), NULL_TREE); ;
break;} break;}
case 369: case 369:
#line 2027 "c-parse.y" #line 2028 "c-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, combine_strings (yyvsp[0].ttype), yyvsp[-2].ttype); ; { yyval.ttype = tree_cons (NULL_TREE, combine_strings (yyvsp[0].ttype), yyvsp[-2].ttype); ;
break;} break;}
case 370: case 370:
#line 2033 "c-parse.y" #line 2034 "c-parse.y"
{ pushlevel (0); { pushlevel (0);
clear_parm_order (); clear_parm_order ();
declare_parm_level (0); ; declare_parm_level (0); ;
break;} break;}
case 371: case 371:
#line 2037 "c-parse.y" #line 2038 "c-parse.y"
{ yyval.ttype = yyvsp[0].ttype; { yyval.ttype = yyvsp[0].ttype;
parmlist_tags_warning (); parmlist_tags_warning ();
poplevel (0, 0, 0); ; poplevel (0, 0, 0); ;
break;} break;}
case 373: case 373:
#line 2045 "c-parse.y" #line 2046 "c-parse.y"
{ tree parm; { tree parm;
if (pedantic) if (pedantic)
pedwarn ("ANSI C forbids forward parameter declarations"); pedwarn ("ANSI C forbids forward parameter declarations");
...@@ -3513,19 +3514,19 @@ case 373: ...@@ -3513,19 +3514,19 @@ case 373:
clear_parm_order (); ; clear_parm_order (); ;
break;} break;}
case 374: case 374:
#line 2053 "c-parse.y" #line 2054 "c-parse.y"
{ yyval.ttype = yyvsp[0].ttype; ; { yyval.ttype = yyvsp[0].ttype; ;
break;} break;}
case 375: case 375:
#line 2055 "c-parse.y" #line 2056 "c-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, NULL_TREE, NULL_TREE); ; { yyval.ttype = tree_cons (NULL_TREE, NULL_TREE, NULL_TREE); ;
break;} break;}
case 376: case 376:
#line 2061 "c-parse.y" #line 2062 "c-parse.y"
{ yyval.ttype = get_parm_info (0); ; { yyval.ttype = get_parm_info (0); ;
break;} break;}
case 377: case 377:
#line 2063 "c-parse.y" #line 2064 "c-parse.y"
{ yyval.ttype = get_parm_info (0); { yyval.ttype = get_parm_info (0);
/* Gcc used to allow this as an extension. However, it does /* Gcc used to allow this as an extension. However, it does
not work for all targets, and thus has been disabled. not work for all targets, and thus has been disabled.
...@@ -3537,23 +3538,23 @@ case 377: ...@@ -3537,23 +3538,23 @@ case 377:
; ;
break;} break;}
case 378: case 378:
#line 2073 "c-parse.y" #line 2074 "c-parse.y"
{ yyval.ttype = get_parm_info (1); ; { yyval.ttype = get_parm_info (1); ;
break;} break;}
case 379: case 379:
#line 2075 "c-parse.y" #line 2076 "c-parse.y"
{ yyval.ttype = get_parm_info (0); ; { yyval.ttype = get_parm_info (0); ;
break;} break;}
case 380: case 380:
#line 2080 "c-parse.y" #line 2081 "c-parse.y"
{ push_parm_decl (yyvsp[0].ttype); ; { push_parm_decl (yyvsp[0].ttype); ;
break;} break;}
case 381: case 381:
#line 2082 "c-parse.y" #line 2083 "c-parse.y"
{ push_parm_decl (yyvsp[0].ttype); ; { push_parm_decl (yyvsp[0].ttype); ;
break;} break;}
case 382: case 382:
#line 2089 "c-parse.y" #line 2090 "c-parse.y"
{ yyval.ttype = build_tree_list (build_tree_list (current_declspecs, { yyval.ttype = build_tree_list (build_tree_list (current_declspecs,
yyvsp[-1].ttype), yyvsp[-1].ttype),
build_tree_list (prefix_attributes, build_tree_list (prefix_attributes,
...@@ -3564,7 +3565,7 @@ case 382: ...@@ -3564,7 +3565,7 @@ case 382:
resume_momentary (yyvsp[-2].itype); ; resume_momentary (yyvsp[-2].itype); ;
break;} break;}
case 383: case 383:
#line 2098 "c-parse.y" #line 2099 "c-parse.y"
{ yyval.ttype = build_tree_list (build_tree_list (current_declspecs, { yyval.ttype = build_tree_list (build_tree_list (current_declspecs,
yyvsp[-1].ttype), yyvsp[-1].ttype),
build_tree_list (prefix_attributes, build_tree_list (prefix_attributes,
...@@ -3575,7 +3576,7 @@ case 383: ...@@ -3575,7 +3576,7 @@ case 383:
resume_momentary (yyvsp[-2].itype); ; resume_momentary (yyvsp[-2].itype); ;
break;} break;}
case 384: case 384:
#line 2107 "c-parse.y" #line 2108 "c-parse.y"
{ yyval.ttype = build_tree_list (build_tree_list (current_declspecs, { yyval.ttype = build_tree_list (build_tree_list (current_declspecs,
yyvsp[-1].ttype), yyvsp[-1].ttype),
build_tree_list (prefix_attributes, build_tree_list (prefix_attributes,
...@@ -3586,7 +3587,7 @@ case 384: ...@@ -3586,7 +3587,7 @@ case 384:
resume_momentary (yyvsp[-2].itype); ; resume_momentary (yyvsp[-2].itype); ;
break;} break;}
case 385: case 385:
#line 2116 "c-parse.y" #line 2117 "c-parse.y"
{ yyval.ttype = build_tree_list (build_tree_list (current_declspecs, { yyval.ttype = build_tree_list (build_tree_list (current_declspecs,
yyvsp[-1].ttype), yyvsp[-1].ttype),
build_tree_list (prefix_attributes, build_tree_list (prefix_attributes,
...@@ -3597,7 +3598,7 @@ case 385: ...@@ -3597,7 +3598,7 @@ case 385:
resume_momentary (yyvsp[-2].itype); ; resume_momentary (yyvsp[-2].itype); ;
break;} break;}
case 386: case 386:
#line 2126 "c-parse.y" #line 2127 "c-parse.y"
{ yyval.ttype = build_tree_list (build_tree_list (current_declspecs, { yyval.ttype = build_tree_list (build_tree_list (current_declspecs,
yyvsp[-1].ttype), yyvsp[-1].ttype),
build_tree_list (prefix_attributes, build_tree_list (prefix_attributes,
...@@ -3608,19 +3609,19 @@ case 386: ...@@ -3608,19 +3609,19 @@ case 386:
resume_momentary (yyvsp[-2].itype); ; resume_momentary (yyvsp[-2].itype); ;
break;} break;}
case 387: case 387:
#line 2140 "c-parse.y" #line 2141 "c-parse.y"
{ pushlevel (0); { pushlevel (0);
clear_parm_order (); clear_parm_order ();
declare_parm_level (1); ; declare_parm_level (1); ;
break;} break;}
case 388: case 388:
#line 2144 "c-parse.y" #line 2145 "c-parse.y"
{ yyval.ttype = yyvsp[0].ttype; { yyval.ttype = yyvsp[0].ttype;
parmlist_tags_warning (); parmlist_tags_warning ();
poplevel (0, 0, 0); ; poplevel (0, 0, 0); ;
break;} break;}
case 390: case 390:
#line 2152 "c-parse.y" #line 2153 "c-parse.y"
{ tree t; { tree t;
for (t = yyvsp[-1].ttype; t; t = TREE_CHAIN (t)) for (t = yyvsp[-1].ttype; t; t = TREE_CHAIN (t))
if (TREE_VALUE (t) == NULL_TREE) if (TREE_VALUE (t) == NULL_TREE)
...@@ -3628,23 +3629,23 @@ case 390: ...@@ -3628,23 +3629,23 @@ case 390:
yyval.ttype = tree_cons (NULL_TREE, NULL_TREE, yyvsp[-1].ttype); ; yyval.ttype = tree_cons (NULL_TREE, NULL_TREE, yyvsp[-1].ttype); ;
break;} break;}
case 391: case 391:
#line 2162 "c-parse.y" #line 2163 "c-parse.y"
{ yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ; { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;
break;} break;}
case 392: case 392:
#line 2164 "c-parse.y" #line 2165 "c-parse.y"
{ yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ; { yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;
break;} break;}
case 393: case 393:
#line 2170 "c-parse.y" #line 2171 "c-parse.y"
{ yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ; { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;
break;} break;}
case 394: case 394:
#line 2172 "c-parse.y" #line 2173 "c-parse.y"
{ yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ; { yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;
break;} break;}
case 395: case 395:
#line 2177 "c-parse.y" #line 2178 "c-parse.y"
{ yyval.itype = pedantic; { yyval.itype = pedantic;
pedantic = 0; ; pedantic = 0; ;
break;} break;}
...@@ -3846,5 +3847,5 @@ yyerrhandle: ...@@ -3846,5 +3847,5 @@ yyerrhandle:
yystate = yyn; yystate = yyn;
goto yynewstate; goto yynewstate;
} }
#line 2181 "c-parse.y" #line 2182 "c-parse.y"
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