altivec.md warnings on 3.3 20021104 on darwin

Aldy Hernandez aldyh@redhat.com
Wed Nov 6 08:56:00 GMT 2002


On Wed, Nov 06, 2002 at 07:27:01PM +1100, rbrown64@csc.com.au wrote:
> I assume the warnings from genrecog may have caused the insn-emit.c warnings
> but don't understand the machine description enough to fix them.

These are ok.

> ../../gcc-20021104/gcc/config/rs6000/altivec.md:1601: warning: operand 3 missing mode?
> ../../gcc-20021104/gcc/config/rs6000/altivec.md:1611: warning: operand 3 missing mode?
> ../../gcc-20021104/gcc/config/rs6000/altivec.md:1621: warning: operand 3 missing mode?
> ../../gcc-20021104/gcc/config/rs6000/altivec.md:1631: warning: operand 3 missing mode?
> /bin/sh ../../gcc-20021104/gcc/move-if-change tmp-recog.c insn-recog.c
> 
> ./genemit ../../gcc-20021104/gcc/config/rs6000/rs6000.md > tmp-emit.c
> /bin/sh ../../gcc-20021104/gcc/move-if-change tmp-emit.c insn-emit.c
> echo timestamp > s-emit
> stage1/xgcc -Bstage1/ -B/usr/local/powerpc-apple-darwin6.0/bin/   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> -Wtraditional -pedantic -Wno-long-long -fno-common  -DHAVE_CONFIG_H    -I. -I. -I../../gcc-20021104/gcc -I../../gcc-20021104/gcc/.
> -I../../gcc-20021104/gcc/config -I../../gcc-20021104/gcc/../include -c insn-emit.c \
>   -o insn-emit.o
> insn-emit.c: In function `gen_altivec_predicate_v4si':
> insn-emit.c:4246: warning: unused parameter `operand0'
> insn-emit.c: In function `gen_altivec_predicate_v4sf':
> insn-emit.c:4268: warning: unused parameter `operand0'
> insn-emit.c: In function `gen_altivec_predicate_v8hi':
> insn-emit.c:4290: warning: unused parameter `operand0'
> insn-emit.c: In function `gen_altivec_predicate_v16qi':
> insn-emit.c:4312: warning: unused parameter `operand0'

Operand 3 has no mode, and it's meant that way.

Aldy



More information about the Gcc-bugs mailing list