Bug 875472
| Summary: | gcc crashes (segmentation fault) | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | German Pulido <g-pulido> | ||||||
| Component: | gcc | Assignee: | Jakub Jelinek <jakub> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Miroslav Franc <mfranc> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 6.3 | CC: | mcermak, mfranc, mpolacek, ohudlick | ||||||
| Target Milestone: | rc | ||||||||
| Target Release: | 6.6 | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | gcc-4.4.7-5.el6 | Doc Type: | Bug Fix | ||||||
| Doc Text: |
Previously, GCC could crash when performing a loop vectorization optimization. This has been fixed by properly ignoring the debug statements when the vectorizer is looking for a loop-exit PHI node and now GCC compiles the code correctly.
|
Story Points: | --- | ||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2014-10-14 05:01:23 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
German Pulido
2012-11-11 13:42:38 UTC
Created attachment 642829 [details] Patch needed to compile gngeo 0.8 To get the program's source code: http://gngeo.googlecode.com/files/gngeo-0.8.tar.gz This request was not resolved in time for the current release. Red Hat invites you to ask your support representative to propose this request, if still desired, for consideration in the next release of Red Hat Enterprise Linux. Reproduced using RH 4.4 branch, FSF 4.4 is fine.
(gdb) r
Starting program: /home/marek/rh/x/rh-gcc-44/gcc/cc1 -quiet -O3 -g x.i
Program received signal SIGSEGV, Segmentation fault.
vect_create_epilog_for_reduction (vect_def=<optimized out>, stmt=<optimized out>, ncopies=8,
reduc_code=17781664, reduction_phi=<optimized out>)
at /home/marek/rh/src-svn/gcc/branches/redhat/gcc-4_4-branch/gcc/tree-vect-transform.c:2772
2772 FOR_EACH_IMM_USE_STMT (use_stmt, imm_iter, orig_name)
(gdb) p orig_name
$1 = (tree) 0x0
Can't reproduce this with any FSF version/revision, so nothing to backport. The workaround is -fno-tree-vectorize. 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-2014-1377.html |