This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
MIPS support for __builtin_flush_icache() breaks -mips16
- From: Sandra Loosemore <sandra at codesourcery dot com>
- To: David Daney <ddaney at avtrex dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Richard Sandiford <richard at codesourcery dot com>
- Date: Sun, 29 Jul 2007 22:09:37 -0400
- Subject: MIPS support for __builtin_flush_icache() breaks -mips16
Now that mainline HEAD is buildable on MIPS again, I've observed that this patch
http://gcc.gnu.org/ml/gcc-patches/2007-07/msg01026.html
causes failures with -mips16, e.g. on gcc.c-torture/compile/20050122-2.c. You
probably want to do
#define ISA_HAS_SYNCI (ISA_MIPS32R2 && !TARGET_MIPS16)
or something like that, right?
-Sandra