Commit 914ff565 by Steve Ellcey Committed by Steve Ellcey

re PR c/39084 (ice on struct redefinition)

	PR c/39084
	gcc.dg/pr39084.c: New test.

From-SVN: r144068
parent a03813c8
2009-02-10 Steve Ellcey <sje@cup.hp.com>
PR c/39084
gcc.dg/pr39084.c: New test.
2009-02-10 Jakub Jelinek <jakub@redhat.com> 2009-02-10 Jakub Jelinek <jakub@redhat.com>
PR target/39139 PR target/39139
......
/* { dg-do compile } */
/* { dg-options "-O2" } */
struct color { int i; };
static const struct color col;
struct color * f(void)
{
return (struct color *) &col;
}
struct color { int j; }; /* { dg-error "redefinition of" } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment