[Bug target/60902] ffmpeg built with gcc 4.9 RC produces incorrect flac playback code

2014-04-20 Thread trippels at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60902 Markus Trippelsdorf changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug target/60902] ffmpeg built with gcc 4.9 RC produces incorrect flac playback code

2014-04-20 Thread trippels at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60902 --- Comment #12 from Markus Trippelsdorf --- Created attachment 32638 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32638&action=edit Unreduced testcase

[Bug target/60902] ffmpeg built with gcc 4.9 RC produces incorrect flac playback code

2014-04-20 Thread trippels at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60902 --- Comment #11 from Markus Trippelsdorf --- OK I'm down to one function from ./libavcodec/flacdec.c: 208 __attribute__ ((optimize(0))) 209 static int decode_residuals(FLACContext *s, int32_t *decoded, int pred_order) 210 { 211 int i, tmp, pa

[Bug target/60902] ffmpeg built with gcc 4.9 RC produces incorrect flac playback code

2014-04-20 Thread arthur.marsh at internode dot on.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60902 --- Comment #10 from Arthur Marsh --- I haven't been able to reproduce what was shown in comment 9, but appreciate the effort taken to reproduce the problem.

[Bug target/60902] ffmpeg built with gcc 4.9 RC produces incorrect flac playback code

2014-04-20 Thread trippels at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60902 Markus Trippelsdorf changed: What|Removed |Added CC||trippels at gcc dot gnu.org --- Com

[Bug target/60902] ffmpeg built with gcc 4.9 RC produces incorrect flac playback code

2014-04-20 Thread arthur.marsh at internode dot on.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60902 --- Comment #8 from Arthur Marsh --- PS, no assembly language in the flac decoding process as far as I could see.

[Bug target/60902] ffmpeg built with gcc 4.9 RC produces incorrect flac playback code

2014-04-20 Thread arthur.marsh at internode dot on.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60902 --- Comment #7 from Arthur Marsh --- OK, I modified the CFLAGS statement in config.mak to what is below, re-ran make clean and make, and still experienced the same problems. CFLAGS= -std=c99 -fomit-frame-pointer -pthread -D_GNU_SOURCE=1 -D_REEN

[Bug target/60902] ffmpeg built with gcc 4.9 RC produces incorrect flac playback code

2014-04-20 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60902 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment #

[Bug target/60902] ffmpeg built with gcc 4.9 RC produces incorrect flac playback code

2014-04-20 Thread arthur.marsh at internode dot on.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60902 --- Comment #4 from Arthur Marsh --- I've attached the config.mak produced by ./configure --cc=gcc-4.9 --host-cc=gcc-4.9 --dep-cc=gcc-4.9 The CFLAGS from config.mak: CFLAGS= -std=c99 -fomit-frame-pointer -pthread -D_GNU_SOURCE=1 -D_REENTRANT -

[Bug target/60902] ffmpeg built with gcc 4.9 RC produces incorrect flac playback code

2014-04-20 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60902 --- Comment #5 from Andrew Pinski --- Can you try adding -fno-strict-aliasing -fwrapv ? Next is does ffmpeg have inline-asm for the flac codec? This requires some C code knowledge though.

[Bug target/60902] ffmpeg built with gcc 4.9 RC produces incorrect flac playback code

2014-04-20 Thread arthur.marsh at internode dot on.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60902 --- Comment #3 from Arthur Marsh --- I've attached the config.mak produced by ./configure --cc=gcc-4.9 --host-cc=gcc-4.9 --dep-cc=gcc-4.9 The CFLAGS from config.mak: CFLAGS= -std=c99 -fomit-frame-pointer -pthread -D_GNU_SOURCE=1 -D_REENTRANT -

[Bug target/60902] ffmpeg built with gcc 4.9 RC produces incorrect flac playback code

2014-04-20 Thread arthur.marsh at internode dot on.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60902 --- Comment #2 from Arthur Marsh --- Created attachment 32637 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32637&action=edit config.mak produced by ./configure --cc=gcc-4.9 --host-cc=gcc-4.9 --dep-cc=gcc-4.9

[Bug target/60902] ffmpeg built with gcc 4.9 RC produces incorrect flac playback code

2014-04-20 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60902 Andrew Pinski changed: What|Removed |Added Target||X86_64-*-Linux-gnu Component|c