Bug 615902

Summary: ICE: in vect_get_vec_def_for_stmt_copy, at tree-vect-stmts.c:1097
Product: [Fedora] Fedora Reporter: Dan Horák <dan>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: jakub
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-07-20 06:22:18 UTC Type: ---
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 file none

Description Dan Horák 2010-07-19 08:53:47 UTC
Created attachment 432798 [details]
preprocessed file

gcc -O3 -fomit-frame-pointer -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -march=z9-109 -mtune=z10   -Ixlib  -I/usr/include    -Dlinux -D__s390x__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 	-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  			  -DFUNCPROTO=15 -DNARROWPROTO   -DONLYANSI -DSOUND -DJOYSTICK -DNETSUPPORT -DMITSHM -DHAVEUSLEEP -Wall -fomit-frame-pointer -O6  -ffast-math  -Ixlib	 -DASSEMBLY	-DSOUNDSERVER=\"/usr/libexec/koules/koules.sndsrv.linux\" 	-DSOUNDDIR=\"/usr/share/koules/sound\" 	-DSOUNDDEV=\"/dev/dsp\"    -c -o koules.sndsrv.linux.o koules.sndsrv.linux.c
koules.sndsrv.linux.c: In function 'do_everything':
koules.sndsrv.linux.c:247:15: warning: pointer targets in assignment differ in signedness
koules.sndsrv.linux.c:265:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result
koules.sndsrv.linux.c: In function 'read_sound':
koules.sndsrv.linux.c:169:8: warning: ignoring return value of 'read', declared with attribute warn_unused_result
koules.sndsrv.linux.c: In function 'do_everything':
koules.sndsrv.linux.c:181:1: internal compiler error: in vect_get_vec_def_for_stmt_copy, at tree-vect-stmts.c:1097
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccxpKLuZ.out file, please attach this to your bugreport.

The CFLAGS are not correct for Fedora, but gcc still shouldn't crash.

gcc version:
gcc-4.5.0-2.fc14.s390x

Comment 1 Dan Horák 2010-07-19 10:04:38 UTC
ICE doesn't occur when built with -O2

Comment 2 Jakub Jelinek 2010-07-19 17:03:06 UTC
Please retry with gcc-4.5.0-3.fc14.

Comment 3 Dan Horák 2010-07-20 06:22:18 UTC
(In reply to comment #2)
> Please retry with gcc-4.5.0-3.fc14.    

No problem with gcc-4.5.0-3.fc14, thanks.