Description of problem: GCC segfaults when compiling code that uses a function pointer as a structure field initialiser. This is a serious regression from the original RHEL4 version of GCC. Version-Release number of selected component (if applicable): 3.4.5-2 How reproducible: Always. Steps to Reproduce: 1. Save the following code to test.c: void foo(void) {} int main(void) { struct bar { void (*baz)(void); } blah = { foo }; return 0; } 2. Run gcc test.c
Thsi doesn't segfault with gcc-3.4.6-3 (RHEL4 U4 gcc).