This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: bug (26/26)
- To: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Subject: Re: bug (26/26)
- From: Brian Grossman <briang at gomer dot fc dot hp dot com>
- Date: Wed, 02 Sep 1998 10:24:13 -0600
{ yyval.item = yyvsp[0].item; ;
break;}
case 540:
# 1587 "sql_yacc.yy"
{ yyval.item = new Item_int((int32) atol(yyvsp[0].lex_str.str),yyvsp[0].lex_str.length); ;
break;}
case 541:
# 1588 "sql_yacc.yy"
{ yyval.item = new Item_int(yyvsp[0].lex_str.str); ;
break;}
case 542:
# 1589 "sql_yacc.yy"
{ yyval.item = new Item_real(yyvsp[0].lex_str.str); ;
break;}
case 543:
# 1590 "sql_yacc.yy"
{ yyval.item = new Item_null();
_current_lex() ->next_state=STATE_OPERATOR_OR_IDENT;;
break;}
case 544:
# 1592 "sql_yacc.yy"
{ yyval.item = new Item_varbinary(yyvsp[0].lex_str.str,yyvsp[0].lex_str.length);
break;}
case 545:
# 1593 "sql_yacc.yy"
{ yyval.item = yyvsp[0].item; ;
break;}
case 546:
# 1594 "sql_yacc.yy"
{ yyval.item = yyvsp[0].item; ;
break;}
case 547:
# 1595 "sql_yacc.yy"
{ yyval.item = yyvsp[0].item; ;
break;}
case 548:
# 1602 "sql_yacc.yy"
{ yyval.item=yyvsp[0].item; ;
break;}
case 549:
# 1603 "sql_yacc.yy"
{ yyval.item=yyvsp[0].item; ;
break;}
case 550:
# 1606 "sql_yacc.yy"
{ yyval.item = new Item_field(yyvsp[-2].lex_str.str,"*"); ;
break;}
case 551:
# 1607 "sql_yacc.yy"
{ yyval.item = new Item_field(yyvsp[-2].lex_str.str,"*"); ;
break;}
case 552:
# 1610 "sql_yacc.yy"
{ yyval.item=yyvsp[0].item; ;
break;}
case 553:
# 1611 "sql_yacc.yy"
{ yyval.item = new Item_int(yyvsp[0].lex_str.str); ;
break;}
case 554:
# 1612 "sql_yacc.yy"
{ yyval.item=yyvsp[0].item; ;
break;}
case 555:
# 1615 "sql_yacc.yy"
{ yyval.item=yyvsp[0].item; ;
break;}
case 556:
# 1616 "sql_yacc.yy"
{ yyval.item = new Item_int(yyvsp[0].lex_str.str); ;
break;}
case 557:
# 1617 "sql_yacc.yy"
{ yyval.item=yyvsp[0].item; ;
break;}
case 558:
# 1621 "sql_yacc.yy"
{ yyval.item = ! _current_lex() ->create_refs ? (Item*) new Item_field(__null ,yyvsp[0].lex_str.str) : (Item*) new Item_ref(__null ,yyvsp[0].lex_str.str); ;
break;}
case 559:
# 1623 "sql_yacc.yy"
{ yyval.item = ! _current_lex() ->create_refs ? (Item*) new Item_field(yyvsp[-2].lex_str.str,yyvsp[0].lex_str.str) : (Item*) new Item_ref(yyvsp[-2].lex_str.str,yyvsp[0].lex_str.str); ;
break;}
case 560:
# 1625 "sql_yacc.yy"
{ yyval.item = ! _current_lex() ->create_refs ? (Item*) new Item_field(yyvsp[-2].lex_str.str,yyvsp[0].lex_str.str) : (Item*) new Item_ref(yyvsp[-2].lex_str.str,yyvsp[0].lex_str.str); ;
break;}
case 561:
# 1627 "sql_yacc.yy"
{ yyval.item = ! _current_lex() ->create_refs ? (Item*) new Item_field(yyvsp[-2].lex_str.str,yyvsp[0].lex_str.str) : (Item*) new Item_ref(yyvsp[-2].lex_str.str,yyvsp[0].lex_str.str); ;
break;}
case 562:
# 1631 "sql_yacc.yy"
{ yyval.lex_str=yyvsp[0].lex_str;;
break;}
case 563:
# 1632 "sql_yacc.yy"
{ yyval.lex_str=yyvsp[0].lex_str;;
break;}
case 564:
# 1633 "sql_yacc.yy"
{ yyval.lex_str=yyvsp[0].lex_str;;
break;}
case 565:
# 1635 "sql_yacc.yy"
{ yyval.lex_str=yyvsp[0].lex_str; ;
break;}
case 566:
# 1637 "sql_yacc.yy"
{
yyval.lex_str.str=sql_strmake(yyvsp[0].lex_str.str,yyvsp[0].lex_str.length);
yyval.lex_str.length=yyvsp[0].lex_str.length;
_current_lex() ->next_state=STATE_OPERATOR_OR_IDENT;
;
break;}
case 567:
# 1646 "sql_yacc.yy"
{;
break;}
case 568:
# 1647 "sql_yacc.yy"
{;
break;}
case 569:
# 1648 "sql_yacc.yy"
{;
break;}
case 570:
# 1649 "sql_yacc.yy"
{;
break;}
case 571:
# 1650 "sql_yacc.yy"
{;
break;}
case 572:
# 1651 "sql_yacc.yy"
{;
break;}
case 573:
# 1652 "sql_yacc.yy"
{;
break;}
case 574:
# 1653 "sql_yacc.yy"
{;
break;}
case 575:
# 1654 "sql_yacc.yy"
{;
break;}
case 576:
# 1655 "sql_yacc.yy"
{;
break;}
case 577:
# 1656 "sql_yacc.yy"
{;
break;}
case 578:
# 1657 "sql_yacc.yy"
{;
break;}
case 579:
# 1658 "sql_yacc.yy"
{;
break;}
case 580:
# 1659 "sql_yacc.yy"
{;
break;}
case 581:
# 1660 "sql_yacc.yy"
{;
break;}
case 582:
# 1661 "sql_yacc.yy"
{;
break;}
case 583:
# 1662 "sql_yacc.yy"
{;
break;}
case 584:
# 1663 "sql_yacc.yy"
{;
break;}
case 585:
# 1664 "sql_yacc.yy"
{;
break;}
case 586:
# 1670 "sql_yacc.yy"
{
_current_lex() ->sql_command= SQL_SET_OPTION;
_current_lex() ->options= _current_thd() ->options;
_current_lex() ->select_limit= _current_thd() ->default_select_limit;
;
break;}
case 588:
# 1678 "sql_yacc.yy"
{;
break;}
case 589:
# 1679 "sql_yacc.yy"
{;
break;}
case 592:
# 1687 "sql_yacc.yy"
{
if (atoi(yyvsp[0].lex_str.str) == 0)
_current_lex() ->options&= ~yyvsp[-2].num;
else
_current_lex() ->options|= yyvsp[-2].num;
;
break;}
case 593:
# 1694 "sql_yacc.yy"
{
_current_lex() ->select_limit= yyvsp[0].ulong_num;
;
break;}
case 594:
# 1698 "sql_yacc.yy"
{
_current_thd() ->set_time((time_t) yyvsp[0].ulong_num);
;
break;}
case 595:
# 1702 "sql_yacc.yy"
{
_current_thd() ->user_time=0;
;
break;}
case 596:
# 1706 "sql_yacc.yy"
{
_current_thd() ->insert_id(yyvsp[0].ulonglong_num);
;
break;}
case 597:
# 1710 "sql_yacc.yy"
{
CONVERT *tmp;
if (!(tmp=get_convert_set(yyvsp[0].lex_str.str)))
{
net_printf(& _current_thd() ->net,1115 ,yyvsp[0].lex_str);
return(1) ;
}
_current_thd() ->convert_set=tmp;
;
break;}
case 598:
# 1720 "sql_yacc.yy"
{
_current_thd() ->convert_set=0;
;
break;}
case 599:
# 1725 "sql_yacc.yy"
{ yyval.num= 512 ; ;
break;}
case 600:
# 1726 "sql_yacc.yy"
{ yyval.num= 1024 ; ;
break;}
case 601:
# 1727 "sql_yacc.yy"
{ yyval.num= 2048 ; ;
break;}
case 602:
# 1733 "sql_yacc.yy"
{
_current_lex() ->sql_command=SQL_LOCK_TABLES;
;
break;}
case 608:
# 1748 "sql_yacc.yy"
{ if (!add_table_to_list(yyvsp[-1].lex_str.str,yyvsp[-1].lex_str.length,__null ,yyvsp[0].num)) return(1) ; ;
break;}
case 609:
# 1750 "sql_yacc.yy"
{ if (!add_table_to_list(yyvsp[-3].lex_str.str,yyvsp[-3].lex_str.length,yyvsp[-1].lex_str.str, yyvsp[0].num)) return(1) ; ;
break;}
case 610:
# 1753 "sql_yacc.yy"
{ yyval.num=0; ;
break;}
case 611:
# 1754 "sql_yacc.yy"
{ yyval.num=1; ;
break;}
case 612:
# 1758 "sql_yacc.yy"
{ _current_lex() ->sql_command=SQL_UNLOCK_TABLES; ;
break;}
case 613:
# 1765 "sql_yacc.yy"
{
_current_lex() ->sql_command = SQL_GRANT;
;
break;}
case 626:
# 1787 "sql_yacc.yy"
{;
break;}
case 627:
# 1788 "sql_yacc.yy"
{;
break;}
case 628:
# 1791 "sql_yacc.yy"
{;
break;}
case 629:
# 1792 "sql_yacc.yy"
{;
break;}
case 630:
# 1795 "sql_yacc.yy"
{;
break;}
case 631:
# 1796 "sql_yacc.yy"
{;
break;}
case 632:
# 1799 "sql_yacc.yy"
{;
break;}
case 633:
# 1800 "sql_yacc.yy"
{;
break;}
}
# 497 "/my/gnu/lib/bison/bison.simple"
yyvsp -= yylen;
yyssp -= yylen;
# 514 "/my/gnu/lib/bison/bison.simple"
*++yyvsp = yyval;
# 533 "/my/gnu/lib/bison/bison.simple"
yyn = yyr1[yyn];
yystate = yypgoto[yyn - 291 ] + *yyssp;
if (yystate >= 0 && yystate <= 12972 && yycheck[yystate] == *yyssp)
yystate = yytable[yystate];
else
yystate = yydefgoto[yyn - 291 ];
goto yynewstate;
yyerrlab:
if (! yyerrstatus)
{
++yynerrs;
# 597 "/my/gnu/lib/bison/bison.simple"
yyerror("parse error");
}
goto yyerrlab1;
yyerrlab1:
if (yyerrstatus == 3)
{
if (yychar == 0 )
return(1) ;
yychar = -2 ;
}
yyerrstatus = 3;
goto yyerrhandle;
yyerrdefault:
yyerrpop:
if (yyssp == yyss) return(1) ;
yyvsp--;
yystate = *--yyssp;
# 654 "/my/gnu/lib/bison/bison.simple"
yyerrhandle:
yyn = yypact[yystate];
if (yyn == -32768 )
goto yyerrdefault;
yyn += 1 ;
if (yyn < 0 || yyn > 12972 || yycheck[yyn] != 1 )
goto yyerrdefault;
yyn = yytable[yyn];
if (yyn < 0)
{
if (yyn == -32768 )
goto yyerrpop;
yyn = -yyn;
goto yyreduce;
}
else if (yyn == 0)
goto yyerrpop;
if (yyn == 1465 )
return(0) ;
*++yyvsp = yylval;
yystate = yyn;
goto yynewstate;
}
# 1801 "sql_yacc.yy"
--==_Exmh_-1474766440
Content-Type: text/plain ; name="J"; charset=us-ascii
Content-Description: J
Content-Disposition: attachment; filename="J"
Reading specs from /usr/local/gnu/lib/gcc-lib/hppa1.0-hp-hpux10.20/egcs-2.90.29/specs
gcc version egcs-2.90.29 980515 (egcs-1.0.3 release)
/usr/local/gnu/lib/gcc-lib/hppa1.0-hp-hpux10.20/egcs-2.90.29/cpp -lang-c++ -v -I../mit-pthreads/include -I./../include -I./../regex -I. -I../include -I.. -I. -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=90 -Dhppa -Dhp9000s800 -D__hp9000s800 -Dhp9k8 -DPWB -Dhpux -Dunix -D__hppa__ -D__hp9000s800__ -D__hp9000s800 -D__hp9k8__ -D__PWB__ -D__hpux__ -D__unix__ -D__hppa -D__hp9000s800 -D__hp9k8 -D__PWB -D__hpux -D__unix -Asystem(unix) -Asystem(hpux) -Acpu(hppa) -Amachine(hppa) -D__EXCEPTIONS -D__OPTIMIZE__ -D_HPUX_SOURCE -D_HIUX_SOURCE -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="/opt/mysql" -DDATADIR="/var/opt/mysql" -DSHAREDIR="/opt/mysql/share/mysql" -DHAVE_CONFIG_H -DDBUG_OFF sql_yacc.cc sql_yacc.ii
GNU CPP version egcs-2.90.29 980515 (egcs-1.0.3 release) (hppa)
#include "..." search starts here:
#include <...> search starts here:
../mit-pthreads/include
../include
../regex
.
../include
..
.
/usr/local/gnu/include/g++
/usr/local/include
/usr/local/gnu/hppa1.0-hp-hpux10.20/include
/usr/local/gnu/lib/gcc-lib/hppa1.0-hp-hpux10.20/egcs-2.90.29/include
/usr/include
End of search list.
/usr/local/gnu/lib/gcc-lib/hppa1.0-hp-hpux10.20/egcs-2.90.29/cc1plus sql_yacc.ii -quiet -dumpbase sql_yacc.cc -O2 -version -fno-implicit-templates -o sql_yacc.s
GNU C++ version egcs-2.90.29 980515 (egcs-1.0.3 release) (hppa1.0-hp-hpux10.20) compiled by GNU C version egcs-2.90.21 971202 (egcs-1.00 release).
/my/gnu/lib/bison/bison.simple: In function `int yyparse()':
/my/gnu/lib/bison/bison.simple:692: Internal compiler error.
/my/gnu/lib/bison/bison.simple:692: Please submit a full bug report to `egcs-bugs@cygnus.com'.
--==_Exmh_-1474766440--