Created attachment 363867 [details] Preprocessed source file Description of problem: Compilation fails with the following output: zenstringtest.cpp:6758: internal compiler error: in output_die, at dwarf2out.c:7121 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/cciRFBUK.out file, please attach this to your bugreport. make: *** [/ngs_storage/buildforgeprojects/NGS_Linux_Build/NGS_LINUX_BUILD_241/obj/debug/zenstringtest/./zenstringtest.o] Error 1 Attached preprocessed source file Version-Release number of selected component (if applicable): gcc (GCC) 4.1.1 20070105 (Red Hat 4.1.1-52) How reproducible: Compile cpp file Steps to Reproduce: 1. Compile cpp file 2. 3. Actual results: Error message, failed compilation Expected results: Object file, successful compilation Additional info: Preprocessed source file attached
Reduced testcase: // { dg-do compile } // { dg-options "-g" } struct S { virtual ~S () {} }; void foo () { struct T { T () {} void bar () { struct U : public S { T t; U () : t () {} }; } } t; }
Created attachment 442958 [details] gcc41-pr41063.patch So far only lightly tested backport of the fix.
In gcc-4.1.2-49.el5
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 therefore 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/RHSA-2011-0025.html