Red Hat Bugzilla – Bug 921758
gcc internal error: "internal compiler error: in build_zero_init_1, at cp/init.c:279"
Last modified: 2014-07-01 18:54:24 EDT
This is a request to pull in a bugfix from upstream. The upstream bug is: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56403 Further detail is specified at the upstream bug report. Description of problem: When I compile an example program (code included in the upstream report), I get an internal gcc error: """ internal compiler error: in build_zero_init_1, at cp/init.c:279 """ Along with a request to report the bug. Version-Release number of selected component (if applicable): RHEL 6.* (Various versions of gcc from 4.2 through 4.7 are known to be affected. See the upstream bug report. gcc 4.4.5 on RHEL 6 has specifically been tested.) How reproducible: Always Steps to Reproduce: 1. Attempt to compile the example code file included in the upstream bug report Actual results: gcc emits an internal error Expected results: gcc compiles the program. (Or, alternatively but less preferably, gcc indicates that there's a code syntax error or some other input problem.) Additional info: This bug has been fixed upstream. Details and discussion on the bug report in question. The fix has been backported through gcc 4.6 already. The fix appears to be a very simple one-line change.
Just checking back in: Is there anything I can do to help with this bug? What's the next step?
Verified for gcc-4.4.7-4.el6.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-1609.html