re PR rtl-optimization/58048 (internal compiler error: Max. number of generated reload insns per insn is achieved (90))

2013-08-02  Vladimir Makarov  <vmakarov@redhat.com>

	PR rtl-optimization/58048
	* lra-constraints.c (process_alt_operands): Don't check asm
	operand on register.

2013-08-02  Vladimir Makarov  <vmakarov@redhat.com>

	PR rtl-optimization/58048
	* gcc.target/i386/pr58048.c: New.

From-SVN: r201454
This commit is contained in:
Vladimir Makarov 2013-08-02 22:06:11 +00:00 committed by Vladimir Makarov
parent 13ec0527ea
commit ecee672b46
4 changed files with 23 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2013-08-02 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/58048
* lra-constraints.c (process_alt_operands): Don't check asm
operand on register.
2013-08-02 Eric Botcazou <ebotcazou@adacore.com>
* config/sparc/sparc.c (sparc_emit_membar_for_model) <SMM_TSO>: Add

View file

@ -1892,7 +1892,7 @@ process_alt_operands (int only_alternative)
/* For asms, verify that the class for this alternative is possible
for the mode that is specified. */
if (!no_regs_p && REG_P (op) && INSN_CODE (curr_insn) < 0)
if (!no_regs_p && INSN_CODE (curr_insn) < 0)
{
int i;
for (i = 0; i < FIRST_PSEUDO_REGISTER; i++)

View file

@ -1,3 +1,8 @@
2013-08-02 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/58048
* gcc.target/i386/pr58048.c: New.
2013-08-02 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* gcc.target/arm/neon-for-64bits-2.c: Delete.

View file

@ -0,0 +1,11 @@
/* PR target/58048 */
/* { dg-do compile } */
/* { dg-options "-O2" } */
void
div3 (void)
{
double tmp1;
asm volatile ("fscale":"=t" (tmp1):"0" (0), "u" (0)); /* { dg-error "inconsistent operand constraints in an 'asm'" } */
}