Bug 1451722

Summary: "output_operand: cannot decompose address" ICE when compiling alsa-lib
Product: [Fedora] Fedora Reporter: Dan Horák <dan>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dan, davejohansen, fweimer, jakub, jwakely, law, mpolacek
Target Milestone: ---   
Target Release: ---   
Hardware: s390x   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-17 11:45:47 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:
Bug Depends On:    
Bug Blocks: 467765    
Attachments:
Description Flags
preprocessed source file none

Description Dan Horák 2017-05-17 11:23:56 UTC
Created attachment 1279653 [details]
preprocessed source file

We get an ICE when compiling alsa-lib on s390x.

[sharkcz@devel11 pcm]$ gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -g -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -march=zEC12 -mtune=z13 -c pcm_rate_linear.c  -fPIC -DPIC -o .libs/pcm_rate_linear.o
pcm_rate_linear.c: In function ‘linear_expand’:
pcm_rate_linear.c:136:1: internal compiler error: output_operand: cannot decompose address
 }
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccDDXAih.out file, please attach this to your bugreport.

For full logs please see https://koji.fedoraproject.org/koji/taskinfo?taskID=19506590


Version-Release number of selected component (if applicable):
gcc-7.1.1-1.fc27.s390x

Comment 1 Dan Horák 2017-05-17 11:36:10 UTC
It requires both -O2 and -march=zEC12 -mtune=z13 to reproduce.

Comment 2 Florian Weimer 2017-05-17 11:37:43 UTC
Seems to be a duplicate of bug 1450353.  Dan?

Comment 3 Dan Horák 2017-05-17 11:45:47 UTC
yes, it is

*** This bug has been marked as a duplicate of bug 1450353 ***