From PR 18404 (but that was about something else) Do: gcc.mips -S -O2 -march=sb1 -mabi=64 -mint64 t.c on t.c: typedef signed char t_SI __attribute__ ((__mode__(SI))); t_SI inc_SI (t_SI v) { return ++v; }
This came about with the scalar_mode_supported_p work. Patch in testing.
Subject: Bug 18442 CVSROOT: /cvs/gcc Module name: gcc Changes by: echristo@gcc.gnu.org 2004-12-07 22:17:25 Modified files: gcc : ChangeLog gcc/config/mips: mips.c Log message: 2004-12-07 Eric Christopher <echristo@redhat.com> PR target/18442 * config/mips/mips.c (mips_vector_mode_supported_p): New function. (TARGET_SCALAR_MODE_SUPPORTED_P): Define to above. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6733&r2=2.6734 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/mips/mips.c.diff?cvsroot=gcc&r1=1.478&r2=1.479
Fixed with above.