On 08/22/2014 02:14 PM, Joseph S. Myers wrote: > Tested with no regressions for cross to arm-none-eabi (it also fixes > failures of gcc.dg/noncompile/920507-1.c, which is PR 61330). OK to > commit? > > 2014-08-22 Joseph Myers <jos...@codesourcery.com> > > PR target/60606 > PR target/61330 > * varasm.c (make_decl_rtl): Clear DECL_ASSEMBLER_NAME and > DECL_HARD_REGISTER and return for invalid register specifications. > * cfgexpand.c (expand_one_var): If expand_one_hard_reg_var clears > DECL_HARD_REGISTER, call expand_one_error_var. > * config/arm/arm.c (arm_hard_regno_mode_ok): Do not allow > CC_REGNUM with non-MODE_CC modes. > (arm_regno_class): Return NO_REGS for PC_REGNUM. > > 2014-08-22 Joseph Myers <jos...@codesourcery.com> > > PR target/60606 > PR target/61330 > * gcc.dg/torture/pr60606-1.c, gcc.target/arm/pr60606-2.c, > gcc.target/arm/pr60606-3.c, gcc.target/arm/pr60606-4.c: New tests.
Ok. r~