On Fri, Dec 20, 2002 at 12:31:46AM -0500, Kaveh R. Ghazi wrote: > > > On Thu, Dec 19, 2002 at 08:37:39PM -0800, Andrew Pinski wrote: > > > You should have received a `warning: decimal constant is so large that > > > it is unsigned' warning, I did with a small program: > > > int temp = -2147483648; > > > > not with current gcc sources. At least not for me: > > > > > /source/gcc/gcc/config/rs6000/altivec.md:1612: warning: operand 3 missing mode? > > >/source/gcc/gcc/config/rs6000/altivec.md:1622: warning: operand 3 missing mode? > > >/source/gcc/gcc/config/rs6000/altivec.md:1632: warning: operand 3 missing mode? > > >/source/gcc/gcc/config/rs6000/altivec.md:1642: warning: operand 3 missing mode? > > > > Those are the only warnings I get. > > Aldy > > The "operand 3" warnings above come from running the gen* program. I > believe Andrew's "decimal constant" warning comes from compiling the > resulting insn-*.c file with gcc. I too have seen this diagnostic > from various .md files with unusual (large negative) constants. Perhaps I'm being dense, but I still don't get a warning. This of course, does not negate the fact that we need hex constants. I'm attaching a build of cc1 for the curious. No warning. This is my stage1 compiler: gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7) perhaps it's in stage2 or something. Aldy