[Bug 375614] New: gcc ICEs with -ftree-vectorize
https://bugzilla.novell.com/show_bug.cgi?id=375614 Summary: gcc ICEs with -ftree-vectorize Product: openSUSE 10.3 Version: Final Platform: x86-64 OS/Version: openSUSE 10.3 Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: garloff@novell.com QAContact: qa@suse.de Found By: Product Management Compiling mplayer (current svn) with good optimization, gcc-4.2 fails on libavcodec/mpegenc.c cc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -I../libavcodec -I../libavdevice -I../libavfilter -I../libavformat -I../libavutil -I../libpostproc -I../libswscale -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe -fno-math-errno -momit-leaf-frame-pointer -funroll-loops -fprefetch-loop-arrays -ftree-vectorize -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/usr/include/SDL -D_REENTRANT -I/opt/kde3/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -DPNG_NO_MMX_CODE -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/local/include -c -o mpegenc.o mpegenc.c mpegenc.c: In function ‘flush_packet’: mpegenc.c:916: warning: passing argument 3 of ‘av_fifo_generic_read’ from incompatible pointer type mpegenc.c: In function ‘mpeg_mux_init’: mpegenc.c:291: error: incorrect sharing of tree nodes D.9018_609 = D.8862_214 <= 191; D.8862_214 <= 191; mpegenc.c:291: confused by earlier errors, bailing out make: *** [mpegenc.o] Error 1 garloff@tpkurt2:/usr/src/video/mplayer/libavformat [2]$ gcc -v Using built-in specs. Target: x86_64-suse-linux Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.2.1 --enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib64 --with-system-zlib --enable-shared --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --program-suffix=-4.2 --enable-version-specific-runtime-libs --without-system-libunwind --with-cpu=generic --host=x86_64-suse-linux Thread model: posix gcc version 4.2.1 (SUSE Linux) Sidenote on compiler versions: * gcc-4.3 (self-compiled) gets this right. * gcc-4.1.2 (as from SLES10SP1) does not ICE, but miscompiles mencoder (results in vertical and horizontal lines) -- possibly here, possibly somewhere else. As 4.3 gets it right, this may not be of high importance to us -- but I'd like to make sure we understand before we discard ... The location is not very helpful: 290: static int mpeg_mux_init(AVFormatContext *ctx) 291: { 292: MpegMuxContext *s = ctx->priv_data; 293: int bitrate, i, mpa_id, mpv_id, mps_id, ac3_id, dts_id, lpcm_id, j; 294: AVStream *st; Will attach preprocessed source ... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=375614
User garloff@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=375614#c1
--- Comment #1 from Kurt Garloff
https://bugzilla.novell.com/show_bug.cgi?id=375614
User garloff@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=375614#c2
--- Comment #2 from Kurt Garloff
https://bugzilla.novell.com/show_bug.cgi?id=375614
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=375614
User rguenther@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=375614#c3
--- Comment #3 from Richard Guenther
https://bugzilla.novell.com/show_bug.cgi?id=375614
User garloff@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=375614#c4
--- Comment #4 from Kurt Garloff
https://bugzilla.novell.com/show_bug.cgi?id=375614
User rguenther@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=375614#c5
Richard Guenther
https://bugzilla.novell.com/show_bug.cgi?id=375614
User garloff@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=375614#c6
Kurt Garloff
participants (1)
-
bugzilla_noreply@novell.com