Bug 786570

Summary: compiler error on faad-2.7 on rawhide
Product: [Fedora] Fedora Reporter: Nicolas Chauvet (kwizart) <kwizart>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jakub
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-01 22:04:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
pre-compiler output for faad on i686 none

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