This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: altivec.md warnings on 3.3 20021104 on darwin
- From: Aldy Hernandez <aldyh at redhat dot com>
- To: rbrown64 at csc dot com dot au
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 6 Nov 2002 08:58:37 -0800
- Subject: Re: altivec.md warnings on 3.3 20021104 on darwin
- References: <OFE99D5763.962BBB30-ONCA256C69.002CDF34@int.csc.com.au>
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