Bug 874869

Summary: internal compiler error: in insert_clobbers_for_var, at tree-ssa-ccp.c:1795 at O2 and O1
Product: [Fedora] Fedora Reporter: Gregory Maxwell <gmaxwell>
Component: mingw-gccAssignee: Erik van Pienbroek <erik-fedora>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: erik-fedora, kalevlember, ktietz, rjones
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-19 02:31:37 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 Flags
preprocessed source none

Description Gregory Maxwell 2012-11-08 23:48:29 UTC
Created attachment 641117 [details]
preprocessed source

Description of problem:

wget https://people.xiph.org/~greg/opus-1.0.1-134-g1fd1d7d.tar.gz
tar -zxf ... 
mingw32-configure
make 
[...]
src/opus_decoder.c: In function 'opus_decode_frame':
src/opus_decoder.c:195:12: internal compiler error: in insert_clobbers_for_var, at tree-ssa-ccp.c:1795
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.


Version-Release number of selected component (if applicable):

gcc version 4.7.0 20120322 (Fedora MinGW 4.7.0-2.fc17) (GCC) 
mingw32-gcc-4.7.0-2.fc17.x86_64.rpm

How reproducible:
Always, on multiple systems.


Steps to Reproduce:
1. get attached preprocessor output
2. i686-w64-mingw32-gcc -O2 -c test.c  -o a.o
3. i686-w64-mingw32-gcc -O1 -c test.c  -o a.o
  
Actual results:
Fire

Expected results:
Compiled object

Additional info:
Reproduced on two systems

-O0 doesn't fail.

Comment 1 Erik van Pienbroek 2012-11-09 11:55:36 UTC
Could you try if http://koji.fedoraproject.org/koji/taskinfo?taskID=4669878 resolves the issue for you?

Comment 2 Gregory Maxwell 2012-11-09 16:50:42 UTC
Indeed. It does!

Comment 3 Fedora Update System 2012-11-09 19:09:19 UTC
mingw-gcc-4.7.2-2.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/mingw-gcc-4.7.2-2.fc17

Comment 4 Fedora Update System 2012-11-11 02:30:00 UTC
Package mingw-gcc-4.7.2-2.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing mingw-gcc-4.7.2-2.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-18013/mingw-gcc-4.7.2-2.fc17
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2012-11-19 02:31:39 UTC
mingw-gcc-4.7.2-2.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.