------- Comment #4 from rguenth at gcc dot gnu dot org 2010-07-09 14:52 -------
Testcase:
t1.c
----
struct X;
struct Y {
struct X (*fnptr)(void);
};
struct Y foo;
t2.c
----
struct X { int i; };
struct Y {
struct X (*fnptr)(void);
};
extern struct Y foo;
int main()
{
foo.fnptr();
return 0;
}
I think we can fix that. Thus, mine.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2010-07-09 14:42:37 |2010-07-09 14:52:13
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44889