[Bug c/37611] invalid relocation R_386_GOTOFF when using protected function pointers

2008-09-22 Thread gernot dot hillier at siemens dot com
--- Comment #2 from gernot dot hillier at siemens dot com 2008-09-22 07:21 --- Created an attachment (id=16376) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16376&action=view) preprocessed version of the code triggering the bug -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=

[Bug c/37611] invalid relocation R_386_GOTOFF when using protected function pointers

2008-09-22 Thread gernot dot hillier at siemens dot com
--- Comment #1 from gernot dot hillier at siemens dot com 2008-09-22 07:19 --- Created an attachment (id=16375) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16375&action=view) C file showing the problem See the body of f1 for the two cases. Using "f3( f2)" triggers the problem w