From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616 Description of problem: GCC produces an internal compiler error. See attachement for the GCC preprocessor output. Version-Release number of selected component (if applicable): 3.4.2-6.fc3 How reproducible: Always Steps to Reproduce: 1.Rename attached file to segfault.c 2.gcc segfault.c 3. Actual Results: source/CSWxn_class.c: In function `vCsWxnConstruct': source/CSWxn_class.c:76: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugzilla.redhat.com/bugzilla> for instructions. Preprocessed source stored into /tmp/cc7rB4iQ.out file, please attach this to your bugreport. Expected Results: GCC 2.96 compiles the program cleanly. I would expect GCC 3.4 to do the same or at least generate compile time error/warnings on why it won't. Additional info:
Created attachment 109347 [details] The GCC debugging output
By including a header file(one that should be included) the problem goes away. But the compiler still should generate an error not segfault.
http://gcc.gnu.org/ml/gcc-patches/2005-01/msg00231.html
This is fixed in 3.4.3-12 and up and will be included in RHEL4 U1.
gcc-3.4.3-22 is included in the latest U1-candidate composes.
Moving to PROD_READY.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2005-257.html