URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 297 |
Rev 338 |
typedef __SIZE_TYPE__ size_t;
|
typedef __SIZE_TYPE__ size_t;
|
typedef unsigned long int reg_syntax_t;
|
typedef unsigned long int reg_syntax_t;
|
struct re_pattern_buffer
|
struct re_pattern_buffer
|
{
|
{
|
unsigned char *buffer;
|
unsigned char *buffer;
|
};
|
};
|
typedef enum
|
typedef enum
|
{
|
{
|
jump,
|
jump,
|
jump_n,
|
jump_n,
|
} re_opcode_t;
|
} re_opcode_t;
|
static int
|
static int
|
foo (bufp)
|
foo (bufp)
|
struct re_pattern_buffer *bufp;
|
struct re_pattern_buffer *bufp;
|
{
|
{
|
int mcnt;
|
int mcnt;
|
unsigned char *p = bufp->buffer;
|
unsigned char *p = bufp->buffer;
|
switch (((re_opcode_t) * p++))
|
switch (((re_opcode_t) * p++))
|
{
|
{
|
unconditional_jump:
|
unconditional_jump:
|
;
|
;
|
/* This test case caused an ICE because the statement insertion
|
/* This test case caused an ICE because the statement insertion
|
routines were failing to update basic block boundaries. */
|
routines were failing to update basic block boundaries. */
|
case jump:
|
case jump:
|
do
|
do
|
{
|
{
|
(mcnt) = *(p) & 0377;
|
(mcnt) = *(p) & 0377;
|
}
|
}
|
while (0);
|
while (0);
|
(p) += 2;
|
(p) += 2;
|
p += mcnt;
|
p += mcnt;
|
case jump_n:
|
case jump_n:
|
(mcnt) = *(p + 2) & 0377;
|
(mcnt) = *(p + 2) & 0377;
|
if (mcnt)
|
if (mcnt)
|
goto unconditional_jump;
|
goto unconditional_jump;
|
}
|
}
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.