From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312 Description of problem: gcc segfaults while compiling the following C code, which is a much cut-down version. Note: in the real code (which is the output of the d2c Dylan compiler) there is more after the call to bar, but it shares the property of not doing a "return" (in fact the real function later calls an error function that never returns) -------------------------------- typedef struct a *a_t; extern a_t bar(double value); float foo(float r, float g) { bar(r); } -------------------------------- gcc -O2 bug.c bug.c: In function `foo': bug.c:8: internal error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions. Version-Release number of selected component (if applicable): gcc 3.2-7 How reproducible: Always Steps to Reproduce: gcc -O2 bug.c Actual Results: bug.c: In function `foo': bug.c:8: internal error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions. Expected Results: object file and/or errors or warnings Additional info:
seems to be fixed in 3.3
Also fixed in 3.2.3-20.
Adding to blocker bug 185486 and adding IBM group.
The last changes to these bugs were mistakenly made. Removing incorrect blocker bug and confidential group.