OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20080910-1.c] - Diff between revs 297 and 338

Only display areas with differences | Details | Blame | View Log

Rev 297 Rev 338
/* This used to crash IRA with -O3 -fPIC.
/* This used to crash IRA with -O3 -fPIC.
  See PR 37333.  */
  See PR 37333.  */
struct yy_buffer_state  {
struct yy_buffer_state  {
  int yy_is_interactive;
  int yy_is_interactive;
};
};
static struct yy_buffer_state * * yy_buffer_stack = 0;
static struct yy_buffer_state * * yy_buffer_stack = 0;
static int yy_n_chars;
static int yy_n_chars;
int orafce_sql_yyleng;
int orafce_sql_yyleng;
unsigned char *yy_c_buf_p = 0;
unsigned char *yy_c_buf_p = 0;
extern char *orafce_sql_yytext;
extern char *orafce_sql_yytext;
static const int yy_ec[256] = { };
static const int yy_ec[256] = { };
short yy_accept[155], yy_base[193] = { }, yy_def[193] = { };
short yy_accept[155], yy_base[193] = { }, yy_def[193] = { };
short yy_chk[738] = { };
short yy_chk[738] = { };
unsigned char *yy_last_accepting_cpos;
unsigned char *yy_last_accepting_cpos;
int orafce_sql_yylex (int a)
int orafce_sql_yylex (int a)
{
{
  register int yy_current_state;
  register int yy_current_state;
  unsigned char *yy_cp, *yy_bp;
  unsigned char *yy_cp, *yy_bp;
  register int yy_act;
  register int yy_act;
  while ( 1 )   {
  while ( 1 )   {
    do {
    do {
      char yy_c = yy_ec[*yy_cp];
      char yy_c = yy_ec[*yy_cp];
      if ( yy_accept[yy_current_state] )
      if ( yy_accept[yy_current_state] )
        yy_last_accepting_cpos = yy_cp;
        yy_last_accepting_cpos = yy_cp;
      while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
      while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
        yy_current_state = yy_def[yy_current_state];
        yy_current_state = yy_def[yy_current_state];
    } while ( yy_current_state != 154 );
    } while ( yy_current_state != 154 );
yy_find_action:
yy_find_action:
    yy_act = yy_accept[yy_current_state];
    yy_act = yy_accept[yy_current_state];
    *yy_cp = '\0';
    *yy_cp = '\0';
    switch ( yy_act )  {
    switch ( yy_act )  {
      case 2:
      case 2:
        *yy_cp = 1;
        *yy_cp = 1;
        return 265;
        return 265;
      case 24:
      case 24:
      case 25:
      case 25:
        addlit(orafce_sql_yytext, orafce_sql_yyleng);
        addlit(orafce_sql_yytext, orafce_sql_yyleng);
      case 26:
      case 26:
        addlit(orafce_sql_yytext, orafce_sql_yyleng);
        addlit(orafce_sql_yytext, orafce_sql_yyleng);
      case 53:
      case 53:
        yy_fatal_error( "flex scanner jammed" );
        yy_fatal_error( "flex scanner jammed" );
        break;
        break;
      case 54:
      case 54:
        yy_cp = ++(yy_c_buf_p);
        yy_cp = ++(yy_c_buf_p);
        unsigned long n = 0;
        unsigned long n = 0;
        if ( yy_buffer_stack[0]->yy_is_interactive )
        if ( yy_buffer_stack[0]->yy_is_interactive )
          for ( ; _IO_getc () != (-1) ;   ++n )
          for ( ; _IO_getc () != (-1) ;   ++n )
            yy_n_chars = n;
            yy_n_chars = n;
        if (a == 0)
        if (a == 0)
        {
        {
          yy_current_state = yy_get_previous_state( );
          yy_current_state = yy_get_previous_state( );
          goto yy_find_action;
          goto yy_find_action;
        }
        }
    }
    }
  }
  }
}
}
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.