Bug 786570 - compiler error on faad-2.7 on rawhide
Summary: compiler error on faad-2.7 on rawhide
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: rawhide
Hardware: i386
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-01 19:30 UTC by Nicolas Chauvet (kwizart)
Modified: 2012-02-01 22:04 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-01 22:04:00 UTC
Type: ---


Attachments (Terms of Use)
pre-compiler output for faad on i686 (25.25 KB, application/x-bzip2)
2012-02-01 19:39 UTC, Nicolas Chauvet (kwizart)
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNU Compiler Collection 52086 0 None None None Never

Description Nicolas Chauvet (kwizart) 2012-02-01 19:30:41 UTC
Description of problem:
There is a compiler error with gcc-4.7 on x86 (work with x86_64).

Version-Release number of selected component (if applicable):
gcc-4.7.0-0.10.fc17.i686

How reproducible:
always

Steps to Reproduce:
1. build faad*.src.rpm
2.
3.
  
Actual results:
faad-2.7 fails to build from source

Expected results:
faad was building with gcc 4.6

Additional info:
http://buildsys.rpmfusion.org/logs/fedora-development-rpmfusion_free/11441-faad2-2.7-2.fc17/faad2-2.7-2.fc17.src.rpm
http://buildsys.rpmfusion.org/logs/fedora-development-rpmfusion_free/11441-faad2-2.7-2.fc17/i686/build.log

Reproduced on F-14 x86_64 builder using mock 1.1.18 with fedora-rawhide-i386.

Comment 1 Nicolas Chauvet (kwizart) 2012-02-01 19:33:05 UTC
...

In file included from ps_dec.h:38:0,
                 from sbr_dec.h:39,
                 from structs.h:40,
                 from syntax.c:36:
bits.h:269:17: warning: 'faad_getbits_rev' defined but not used [-Wunused-function]
syntax.c: In function 'fill_element':
syntax.c:1121:1: error: insn does not satisfy its constraints:
(insn 1102 947 458 49 (parallel [
            (set (reg:CCZ 17 flags)
                (compare:CCZ (plus:QI (mem:QI (plus:SI (reg:SI 2 cx)
                                (const_int 1 [0x1])) [0 drc_52(D)->num_bands+0 S1 A8])
                        (reg:QI 4 si [orig:243 ret ] [243]))
                    (const_int 0 [0])))
            (set (mem:QI (plus:SI (reg:SI 2 cx)
                        (const_int 1 [0x1])) [0 drc_52(D)->num_bands+0 S1 A8])
                (plus:QI (mem:QI (plus:SI (reg:SI 2 cx)
                            (const_int 1 [0x1])) [0 drc_52(D)->num_bands+0 S1 A8])
                    (reg:QI 4 si [orig:243 ret ] [243])))
        ]) syntax.c:2249 199 {*addqi_2}
     (nil))
syntax.c:1121:1: internal compiler error: in copyprop_hardreg_forward_1, at regcprop.c:767
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccKao65m.out file, please attach this to your bugreport.
make[2]: *** [syntax.lo] Error 1
make[2]: *** Waiting for unfinished jobs....

Comment 2 Nicolas Chauvet (kwizart) 2012-02-01 19:39:41 UTC
Created attachment 558908 [details]
pre-compiler output for faad on i686


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