[Bug middle-end/59993] [4.9 Regression] ICE: SSA corruption
ramana at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jan 30 14:29:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59993
--- Comment #5 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> ---
(In reply to Ramana Radhakrishnan from comment #4)
> I am seeing the same with a cross compiler configured with
>
>
> $SRCDIR/configure --target=arm-none-linux-gnueabi --with-arch=armv7-a
> --with-fpu=vfpv3-d16 --with-float=softfp --enable-checking=release and a
> number of other unrelated flags in a gdbserver build.
>
> Will attach the testcase as I have it and a reduced one in a few minutes.
reduced testcase looks very similar to what's here but here goes.
extern struct _IO_FILE *stderr;
struct __jmp_buf_tag
{
};
typedef struct __jmp_buf_tag jmp_buf[1];
extern jmp_buf toplevel;
int
main (int argc, char *argv[])
{
int bad_attach;
int pid;
char *arg_end, *port;
char **next_arg = &argv[1];
volatile int attach = 0;
if (_setjmp (toplevel))
{
}
next_arg++;
{
gdbserver_usage (stderr);
}
{
next_arg++;
}
if (attach
&& (*next_arg == ((void *)0)
|| (pid = strtoul (*next_arg, &arg_end, 0)) == 0
|| next_arg[1] != ((void *)0)))
bad_attach = 1;
}
More information about the Gcc-bugs
mailing list