This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/16064] New: Error: suffix or operands invalid for `add'


I have to use -O0 to compile this. -O1 and higher break assembler. This happens
on i686 with Gentoo linux for
xine-lib-1_rc4/work/xine-lib-1-rc4/src/post/goom/zoom_filter_xmmx.c.

source='zoom_filter_xmmx.c' object='zoom_filter_xmmx.lo' libtool=yes
depfile='.deps/zoom_filter_xmmx.Plo' tmpdepfile='.deps/zoom_filter_xmmx.TPlo'
depmode=gcc3 /bin/sh ../../../depcomp /bin/sh ../../../libtool-nofpic
--mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../..
-I../../../include -I../../../include -I../../../src -I../../../src/xine-engine
-I../../../src/xine-engine -I../../../src/xine-utils  -I../../../src/input
-I../../../src/input  -mpni -O3 -march=pentium4 -funroll-loops -pipe
-fno-stack-protector -mno-sse2  -DHAVE_MMX `echo -Wall -DNDEBUG -D_REENTRANT
-D_FILE_OFFSET_BITS=64 -DXINE_COMPILE  -Wpointer-arith -Wnested-externs
-Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -mpni
-O1 -march=pentium4 -funroll-loops -pipe -fno-stack-protector -mno-sse2
-save-temps -v | sed -e 's/-fomit-frame-pointer//g;s/-Os//g'` -c -o
zoom_filter_xmmx.lo `test -f 'zoom_filter_xmmx.c' || echo './'`zoom_filter_xmmx.c
 gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I../../../include
-I../../../include -I../../../src -I../../../src/xine-engine
-I../../../src/xine-engine -I../../../src/xine-utils -I../../../src/input
-I../../../src/input -mpni -O3 -march=pentium4 -funroll-loops -pipe
-fno-stack-protector -mno-sse2 -DHAVE_MMX -Wall -DNDEBUG -D_REENTRANT
-D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wpointer-arith -Wnested-externs
-Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -mpni
-O1 -march=pentium4 -funroll-loops -pipe -fno-stack-protector -mno-sse2
-save-temps -v -c zoom_filter_xmmx.c -MT zoom_filter_xmmx.lo -MD -MP -MF
.deps/zoom_filter_xmmx.TPlo
gcc: warning: -pipe ignored because -save-temps specified
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.0/specs
Configured with: /var/tmp/portage/gcc-3.4.0-r6/work/gcc-3.4.0/configure
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4
--includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.0/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4/info --enable-shared
--host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib
--enable-languages=c,c++ --enable-threads=posix --enable-long-long
--disable-checking --disable-libunwind-exceptions --enable-cstdio=stdio
--enable-version-specific-runtime-libs
--with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.0/include/g++-v3
--with-local-prefix=/usr/local --disable-werror --enable-shared --enable-nls
--without-included-gettext --disable-multilib --enable-__cxa_atexit
--enable-clocale=gnu
Thread model: posix
gcc version 3.4.0 20040601 (Gentoo Linux 3.4.0-r6, ssp-3.4-2, pie-8.7.6.3)
`-mpni' is deprecated. Use `-msse3' instead.
 /usr/libexec/gcc/i686-pc-linux-gnu/3.4.0/cc1 -E -quiet -v -I. -I. -I../../..
-I../../.. -I../../../include -I../../../include -I../../../src
-I../../../src/xine-engine -I../../../src/xine-engine -I../../../src/xine-utils
-I../../../src/input -I../../../src/input -MD zoom_filter_xmmx.d -MF
.deps/zoom_filter_xmmx.TPlo -MP -MT zoom_filter_xmmx.lo -DHAVE_CONFIG_H
-DHAVE_MMX -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE
zoom_filter_xmmx.c -msse3 -mpni -march=pentium4 -mno-sse2 -mpni -march=pentium4
-mno-sse2 -Wall -Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts
-Wmissing-declarations -Wmissing-prototypes -funroll-loops -fno-stack-protector
-funroll-loops -fno-stack-protector -O3 -O1 -o zoom_filter_xmmx.i
ignoring nonexistent directory
"/usr/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../../i686-pc-linux-gnu/include"
ignoring duplicate directory "."
ignoring duplicate directory "../../.."
ignoring duplicate directory "../../../include"
ignoring duplicate directory "../../../src/xine-engine"
ignoring duplicate directory "../../../src/input"
#include "..." search starts here:
#include <...> search starts here:
 .
 ../../..
 ../../../include
 ../../../src
 ../../../src/xine-engine
 ../../../src/xine-utils
 ../../../src/input
 /usr/local/include
 /usr/lib/gcc/i686-pc-linux-gnu/3.4.0/include
 /usr/include
End of search list.
`-mpni' is deprecated. Use `-msse3' instead.
 /usr/libexec/gcc/i686-pc-linux-gnu/3.4.0/cc1 -fpreprocessed zoom_filter_xmmx.i
-msse3 -quiet -dumpbase zoom_filter_xmmx.c -mpni -march=pentium4 -mno-sse2 -mpni
-march=pentium4 -mno-sse2 -auxbase zoom_filter_xmmx -O3 -O1 -Wall
-Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts
-Wmissing-declarations -Wmissing-prototypes -version -funroll-loops
-fno-stack-protector -funroll-loops -fno-stack-protector -o zoom_filter_xmmx.s
GNU C version 3.4.0 20040601 (Gentoo Linux 3.4.0-r6, ssp-3.4-2, pie-8.7.6.3)
(i686-pc-linux-gnu)
        compiled by GNU C version 3.4.0 20040601 (Gentoo Linux 3.4.0-r6,
ssp-3.4-2, pie-8.7.6.3).
GGC heuristics: --param ggc-min-expand=98 --param ggc-min-heapsize=129130
zoom_filter_xmmx.c:23: warning: no previous prototype for
'zoom_filter_xmmx_supported'
zoom_filter_xmmx.c:31: warning: no previous prototype for 'zoom_filter_xmmx'
zoom_filter_xmmx.c: In function `zoom_filter_xmmx':
zoom_filter_xmmx.c:40: warning: unused variable `interpix'
 /usr/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../../i686-pc-linux-gnu/bin/as -V
-Qy -o zoom_filter_xmmx.o zoom_filter_xmmx.s
GNU assembler version 2.15.91.0.1 (i686-pc-linux-gnu) using BFD version
2.15.91.0.1 20040527
zoom_filter_xmmx.s: Assembler messages:
zoom_filter_xmmx.s:89: Error: suffix or operands invalid for `add'

-- 
           Summary: Error: suffix or operands invalid for `add'
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mmokrejs at natur dot cuni dot cz
                CC: gcc-bugs at gcc dot gnu dot org


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]