Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 527510 - Internal compiler error from gcc
Internal compiler error from gcc
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: gcc (Show other bugs)
5.0
i386 Linux
low Severity high
: rc
: ---
Assigned To: Jakub Jelinek
qe-baseos-tools
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-10-06 13:37 EDT by anthony.devivi
Modified: 2011-05-13 09:22 EDT (History)
2 users (show)

See Also:
Fixed In Version: gcc-4.1.2-49.el5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-01-13 18:57:50 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Preprocessed source file (1.03 MB, application/octet-stream)
2009-10-06 13:37 EDT, anthony.devivi
no flags Details
gcc41-pr41063.patch (1.27 KB, patch)
2010-09-03 14:48 EDT, Jakub Jelinek
no flags Details | Diff


External Trackers
Tracker ID Priority Status Summary Last Updated
GNU Compiler Collection 41063 None None None Never
Red Hat Product Errata RHSA-2011:0025 normal SHIPPED_LIVE Low: gcc security and bug fix update 2011-01-13 05:47:58 EST

  None (edit)
Description anthony.devivi 2009-10-06 13:37:18 EDT
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
Comment 1 Jakub Jelinek 2010-09-02 12:05:42 EDT
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;
}
Comment 2 Jakub Jelinek 2010-09-03 14:48:22 EDT
Created attachment 442958 [details]
gcc41-pr41063.patch

So far only lightly tested backport of the fix.
Comment 3 Jakub Jelinek 2010-09-27 02:33:09 EDT
In gcc-4.1.2-49.el5
Comment 8 errata-xmlrpc 2011-01-13 18:57:50 EST
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

Note You need to log in before you can comment on or make changes to this bug.