------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-11 18:07 ------- And here is a test which is little smaller (which generates the same problem/error): struct d { int a; }; void abort(void); typedef struct d (*f) (int i); f ff(void); void test1() { f t = ff(); t(0); }
The reason why I knew I could changed it from a objective-C to a C testcase is because I know how Objective-C runtime works and how the GNU runtime uses a function call to get the function and then indirectly call the function. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17933