[Bug tree-optimization/44363] [4.6 Regression] gcc fails with ICE when compiling ffmpeg

2010-06-03 Thread lists at eitanadler dot com


--- Comment #13 from lists at eitanadler dot com  2010-06-03 12:38 ---
gcc 4.6.0.20100529 + the patch fixes the problem.


-- 

lists at eitanadler dot com changed:

   What|Removed |Added

 Status|RESOLVED|VERIFIED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44363



[Bug tree-optimization/44363] [4.6 Regression] gcc fails with ICE when compiling ffmpeg

2010-06-02 Thread spop at gcc dot gnu dot org


--- Comment #11 from spop at gcc dot gnu dot org  2010-06-02 16:39 ---
Subject: Bug 44363

Author: spop
Date: Wed Jun  2 16:39:26 2010
New Revision: 160163

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=160163
Log:
Fix PR44363: don't abort when the ifcvt analysis fails to recognize a Gimple
stmt.

2010-06-02  Sebastian Pop  sebastian@amd.com

PR middle-end/44363
* tree-if-conv.c (predicate_bbs): Do not call gcc_unreachable,
return false instead.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/tree-if-conv.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44363



[Bug tree-optimization/44363] [4.6 Regression] gcc fails with ICE when compiling ffmpeg

2010-06-02 Thread spop at gcc dot gnu dot org


--- Comment #12 from spop at gcc dot gnu dot org  2010-06-02 16:42 ---
Fixed.


-- 

spop at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44363



[Bug tree-optimization/44363] [4.6 Regression] gcc fails with ICE when compiling ffmpeg

2010-06-01 Thread rguenth at gcc dot gnu dot org


--- Comment #4 from rguenth at gcc dot gnu dot org  2010-06-01 14:43 ---
Looks like caused by Sebs patches.  (I can't reproduce it though, maybe
re-verify with current trunk)


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||spop at gcc dot gnu dot org
  Component|c++ |tree-optimization
Summary|gcc fails with ICE when |[4.6 Regression] gcc fails
   |compiling ffmpeg|with ICE when compiling
   ||ffmpeg
   Target Milestone|--- |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44363



[Bug tree-optimization/44363] [4.6 Regression] gcc fails with ICE when compiling ffmpeg

2010-06-01 Thread lists at eitanadler dot com


--- Comment #5 from lists at eitanadler dot com  2010-06-01 14:52 ---
This is only caused by -O3. -O2 seems perfectly fine.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44363



[Bug tree-optimization/44363] [4.6 Regression] gcc fails with ICE when compiling ffmpeg

2010-06-01 Thread hjl dot tools at gmail dot com


--- Comment #6 from hjl dot tools at gmail dot com  2010-06-01 15:44 ---
(In reply to comment #0)
 gcc46 -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
 -I. -I/dta/ports/multimedia/ffmpeg/work/ffmpeg-0.5.2 -pipe -mssse3
 -mtune=native -O3 -ffast-math -fno-finite-math-only
 -fomit-frame-pointer -Wl,-rpath=/usr/local/lib/gcc46
 -fno-strict-aliasing -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112
 -I/usr/local/include/vorbis -I/usr/local/include -std=c99
 -fomit-frame-pointer -Wdeclaration-after-statement -Wall -Wno-switch
 -Wdisabled-optimization -Wpointer-arith -Wredundant-decls
 -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef
 -O3 -fno-math-errno -fno-signed-zeros  -c -o libavutil/crc.o

When you use -mtune=native, please include output from gcc -v ...
to show real tune target passed to cc1. Otherwise, people will have
a hard time to reproduce your problem since their native machines may
be very different from yours.


-- 

hjl dot tools at gmail dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44363



[Bug tree-optimization/44363] [4.6 Regression] gcc fails with ICE when compiling ffmpeg

2010-06-01 Thread lists at eitanadler dot com


--- Comment #7 from lists at eitanadler dot com  2010-06-01 15:58 ---
(In reply to comment #6)
 (In reply to comment #0)
  gcc46 -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
  -I. -I/dta/ports/multimedia/ffmpeg/work/ffmpeg-0.5.2 -pipe -mssse3
  -mtune=native -O3 -ffast-math -fno-finite-math-only
  -fomit-frame-pointer -Wl,-rpath=/usr/local/lib/gcc46
  -fno-strict-aliasing -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112
  -I/usr/local/include/vorbis -I/usr/local/include -std=c99
  -fomit-frame-pointer -Wdeclaration-after-statement -Wall -Wno-switch
  -Wdisabled-optimization -Wpointer-arith -Wredundant-decls
  -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef
  -O3 -fno-math-errno -fno-signed-zeros  -c -o libavutil/crc.o
 
 When you use -mtune=native, please include output from gcc -v ...
 to show real tune target passed to cc1. Otherwise, people will have
 a hard time to reproduce your problem since their native machines may
 be very different from yours.
 
See the top of the description - this was the first piece of information I
provided.


-- 

lists at eitanadler dot com changed:

   What|Removed |Added

 Status|WAITING |UNCONFIRMED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44363



[Bug tree-optimization/44363] [4.6 Regression] gcc fails with ICE when compiling ffmpeg

2010-06-01 Thread hjl dot tools at gmail dot com


--- Comment #8 from hjl dot tools at gmail dot com  2010-06-01 16:09 ---
(In reply to comment #7)
 (In reply to comment #6)
  (In reply to comment #0)
   gcc46 -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
   -I. -I/dta/ports/multimedia/ffmpeg/work/ffmpeg-0.5.2 -pipe -mssse3
   -mtune=native -O3 -ffast-math -fno-finite-math-only
   -fomit-frame-pointer -Wl,-rpath=/usr/local/lib/gcc46
   -fno-strict-aliasing -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112
   -I/usr/local/include/vorbis -I/usr/local/include -std=c99
   -fomit-frame-pointer -Wdeclaration-after-statement -Wall -Wno-switch
   -Wdisabled-optimization -Wpointer-arith -Wredundant-decls
   -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef
   -O3 -fno-math-errno -fno-signed-zeros  -c -o libavutil/crc.o
  
  When you use -mtune=native, please include output from gcc -v ...
  to show real tune target passed to cc1. Otherwise, people will have
  a hard time to reproduce your problem since their native machines may
  be very different from yours.
  
 See the top of the description - this was the first piece of information I
 provided.
 

That is not what I was asking for. Please add -v to the command line
used to compile libavutil/crc.o and show its output.


-- 

hjl dot tools at gmail dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44363



[Bug tree-optimization/44363] [4.6 Regression] gcc fails with ICE when compiling ffmpeg

2010-06-01 Thread lists at eitanadler dot com


--- Comment #9 from lists at eitanadler dot com  2010-06-01 16:23 ---
(In reply to comment #8)
 (In reply to comment #7)
...
 That is not what I was asking for. Please add -v to the command line
 used to compile libavutil/crc.o and show its output.
Sorry, I misunderstood. Here is the output with -v

Using built-in specs.
COLLECT_GCC=gcc46
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc46/gcc/i386-portbld-freebsd8.1/4.6.0/lto-wrapper
Target: i386-portbld-freebsd8.1
Configured with: ./../gcc-4.6-20100529/configure --disable-nls
--libdir=/usr/local/lib/gcc46 --libexecdir=/usr/local/libexec/gcc46
--program-suffix=46 --with-as=/usr/local/bin/as --with-gmp=/usr/local
--with-gxx-include-dir=/usr/local/lib/gcc46/include/c++/
--with-ld=/usr/local/bin/ld --with-libiconv-prefix=/usr/local
--with-system-zlib --disable-rpath --prefix=/usr/local --mandir=/usr/local/man
--infodir=/usr/local/info/gcc46 --build=i386-portbld-freebsd8.1
Thread model: posix
gcc version 4.6.0 20100529 (experimental) (GCC) 
COLLECT_GCC_OPTIONS='-v' '-DHAVE_AV_CONFIG_H' '-D_FILE_OFFSET_BITS=64'
'-D_LARGEFILE_SOURCE' '-I.' '-I/dta/ports/multimedia/ffmpeg/work/ffmpeg-0.5.2'
'-pipe' '-O3' '-ffast-math' '-fno-finite-math-only' '-fno-strict-aliasing'
'-D_ISOC99_SOURCE' '-D_POSIX_C_SOURCE=200112' '-I/usr/local/include/vorbis'
'-I/usr/local/include' '-std=c99' '-fomit-frame-pointer'
'-Wdeclaration-after-statement' '-Wall' '-Wno-switch' '-Wdisabled-optimization'
'-Wpointer-arith' '-Wredundant-decls' '-Wno-pointer-sign' '-Wcast-qual'
'-Wwrite-strings' '-Wtype-limits' '-Wundef' '-O3' '-fno-math-errno'
'-fno-signed-zeros' '-c' '-o' 'libavutil/crc.o' '-mtune=i386' '-march=i386'
 /usr/local/libexec/gcc46/gcc/i386-portbld-freebsd8.1/4.6.0/cc1 -quiet -v -I.
-I/dta/ports/multimedia/ffmpeg/work/ffmpeg-0.5.2 -I/usr/local/include/vorbis
-I/usr/local/include -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 libavutil/crc.c
-quiet -dumpbase crc.c -mtune=i386 -march=i386 -auxbase-strip libavutil/crc.o
-O3 -O3 -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization
-Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings
-Wtype-limits -Wundef -std=c99 -version -ffast-math -fno-finite-math-only
-fno-strict-aliasing -fomit-frame-pointer -fno-math-errno -fno-signed-zeros -o
- |
 /usr/local/bin/as -v -I. -I/dta/ports/multimedia/ffmpeg/work/ffmpeg-0.5.2
-I/usr/local/include/vorbis -I/usr/local/include -o libavutil/crc.o
GNU assembler version 2.20.1 (i386-portbld-freebsd8.1) using BFD version (GNU
Binutils) 2.20.1.20100303
GNU C (GCC) version 4.6.0 20100529 (experimental) (i386-portbld-freebsd8.1)
compiled by GNU C version 4.6.0 20100529 (experimental), GMP version
5.0.1, MPFR version 2.4.2, MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
ignoring nonexistent directory
/usr/local/lib/gcc46/gcc/i386-portbld-freebsd8.1/4.6.0/../../../../../i386-portbld-freebsd8.1/include
ignoring duplicate directory /dta/ports/multimedia/ffmpeg/work/ffmpeg-0.5.2
ignoring duplicate directory /usr/local/include
  as it is a non-system directory that duplicates a system directory
#include ... search starts here:
#include ... search starts here:
 .
 /usr/local/include/vorbis
 /usr/local/include
 /usr/local/lib/gcc46/gcc/i386-portbld-freebsd8.1/4.6.0/include
 /usr/local/lib/gcc46/gcc/i386-portbld-freebsd8.1/4.6.0/include-fixed
 /usr/include
End of search list.
GNU C (GCC) version 4.6.0 20100529 (experimental) (i386-portbld-freebsd8.1)
compiled by GNU C version 4.6.0 20100529 (experimental), GMP version
5.0.1, MPFR version 2.4.2, MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: bb151bb48adc986d2afc1e0bfbd5e86d
libavutil/crc.c: In function 'av_crc_init':
libavutil/crc.c:58:5: internal compiler error: in predicate_bbs, at
tree-if-conv.c:555
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html for instructions.


-- 

lists at eitanadler dot com changed:

   What|Removed |Added

 Status|WAITING |UNCONFIRMED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44363



[Bug tree-optimization/44363] [4.6 Regression] gcc fails with ICE when compiling ffmpeg

2010-06-01 Thread spop at gcc dot gnu dot org


--- Comment #10 from spop at gcc dot gnu dot org  2010-06-01 18:18 ---
Patch: http://gcc.gnu.org/ml/gcc-patches/2010-06/msg00063.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44363