for 'f' if !TARGET_FPRS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89067
138bc75d-0d04-0410-961f-
82ee72b054a4
+2004-10-14 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * config/rs6000/rs6000.h (REG_CLASS_FROM_LETTER): Return NO_REGS
+ for 'f' if !TARGET_FPRS.
+
2004-10-14 Richard Henderson <rth@redhat.com>
PR debug/14492
/* Get reg_class from a letter such as appears in the machine description. */
#define REG_CLASS_FROM_LETTER(C) \
- ((C) == 'f' ? FLOAT_REGS \
+ ((C) == 'f' ? ((TARGET_HARD_FLOAT && TARGET_FPRS) ? FLOAT_REGS : NO_REGS) \
: (C) == 'b' ? BASE_REGS \
: (C) == 'h' ? SPECIAL_REGS \
: (C) == 'q' ? MQ_REGS \