[tree-ssa] Bootstrap failure on i686-linux
law@redhat.com
law@redhat.com
Tue Sep 2 15:00:00 GMT 2003
I forgot to attach my testcase for the PRE problem.
Attached. Compile with -O2 -pedantic. The problem is the structures
that the block statement iterators depend on are mucked up for block #3
after PRE has completed.
typedef unsigned int size_t;
typedef unsigned long int reg_syntax_t;
struct re_pattern_buffer
{
unsigned char *buffer;
};
typedef enum
{
jump,
jump_n,
} re_opcode_t;
static int
foo (bufp)
struct re_pattern_buffer *bufp;
{
int mcnt;
unsigned char *p = bufp->buffer;
switch (((re_opcode_t) * p++))
{
unconditional_jump:
;
case jump:
do
{
(mcnt) = *(p) & 0377;
}
while (0);
(p) += 2;
p += mcnt;
case jump_n:
(mcnt) = *(p + 2) & 0377;
if (mcnt)
goto unconditional_jump;
}
}
More information about the Gcc
mailing list