Bug 598310 - Hang compiling upstream wine directx.c (variable tracking)
Summary: Hang compiling upstream wine directx.c (variable tracking)
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: 13
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2010-06-01 03:55 UTC by Matt McCutchen
Modified: 2010-07-19 01:36 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2010-07-19 01:36:57 UTC

Attachments (Terms of Use)
Preprocessed code demonstrating the problem (xz compressed) (162.31 KB, application/x-xz)
2010-06-01 03:55 UTC, Matt McCutchen
no flags Details
Backtrace of cc1 (2.81 KB, text/plain)
2010-06-01 03:59 UTC, Matt McCutchen
no flags Details

Description Matt McCutchen 2010-06-01 03:55:26 UTC
Created attachment 418453 [details]
Preprocessed code demonstrating the problem (xz compressed)

Description of problem:
When I try to compile the latest upstream wine (bbd93e535a3df9141cd9b028d2dfedae0c36eb5d), gcc appears to hang on dlls/wined3d/directx.c .

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

How reproducible:

Steps to Reproduce:
Compile the attached preprocessed file as follows:
gcc -m32 -c -fPIC -fno-strict-aliasing -g -O2 -o directx-test.o directx.i

Actual results:
gcc ran for 3 minutes at 100% CPU, then I killed it.

Expected results:
Compilation finishes in a reasonable amount of time.

Comment 1 Matt McCutchen 2010-06-01 03:59:41 UTC
Created attachment 418454 [details]
Backtrace of cc1

I got a backtrace, and the compiler seems to be stuck in the "variable tracking" pass.  Passing either -fno-var-tracking or -fno-var-tracking-assignments makes compilation finish in about 13 seconds.

Comment 2 Jakub Jelinek 2010-06-14 05:36:35 UTC
Should be fixed in gcc-4.4.4-8.fc13.

Comment 3 Matt McCutchen 2010-06-15 04:46:57 UTC
Please push an update to Fedora 13.

Comment 4 Matt McCutchen 2010-07-19 01:34:38 UTC
I would appreciate an update for Fedora 13.  If you don't wish to do that, the correct resolution is NEXTRELEASE as per https://fedoraproject.org/wiki/BugZappers/BugStatusWorkFlow .

Comment 5 Matt McCutchen 2010-07-19 01:36:57 UTC
Sorry, I didn't notice that an update had been pushed in the meantime.

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