Bug 1305391
Summary: | profiledbootstrap ICE in reg_save_code at ../../gcc/caller-save.c:141 | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Martin Sebor <msebor> | ||||
Component: | gcc | Assignee: | Jakub Jelinek <jakub> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 24 | CC: | davejohansen, jakub, jwakely, law, mpolacek | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | ppc64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2016-02-27 08:42:19 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
Martin Sebor
2016-02-07 23:08:17 UTC
I haven't been able to reproduce it on trunk because of the problems mentioned in upstream bug 65313 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65313) but a search through Bugzilla returns bug 68404 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68404) which describes an ICE similar to this one seen on powerpc64le. A few additional details after initial investigation: 1) Based on the -fprofile-generate command line option and the contents of the stage_current file in the build director y the ICE occurs during the stagefeedback stage. Stage 1 gcc doesn't ICE on the test case. 2) According to Jakub, the 6.0.0-0.9 version of GCC builds fine, so problem was introduced among the changes brought over from trunk in 6.0.0-0.10 (i.e., in one of the patches or between r233052, last working revision of trunk, and r233185, the first broken revision). 3) After reviewing the changes referenced in the changelog entry corresponding to 6.0.0-0.10, the patch committed in to fix tl-optimization/69567 - PowerPC64: cstore optimisation produces bad code seemed like it could be responsible. However, the ICE can still be reproduced even with that patched backed out, so the problem must be somewhere else. As an aside, the successful 6.0.0-0.10 build subsequent to the failed task mentioned in the Description was that of an ordinary bootstrap, not profiledbootstrap: http://ppc.koji.fedoraproject.org/koji/buildinfo?buildID=368892. Reproduced on trunk and raised bootstrap/69727: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69727 This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle. Changing version to '24'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase Should be fixed in gcc-6.0.0-0.12.fc24. |