Commit c07ad89a by Yvan Roux Committed by Yvan Roux

re PR target/65729 (ICE (in prohibited_class_reg_set_mode_p, at…

re PR target/65729 (ICE (in prohibited_class_reg_set_mode_p, at lra-constraints.c) on arm-linux-gnueabihf)

gcc/
2015-04-14  Yvan Roux  <yvan.roux@linaro.org>

	PR target/65729
	* lra-constraints.c (prohibited_class_reg_set_mode_p): Restore and fix
	the assertiion.

gcc/testsuite/
2015-04-14  Yvan Roux  <yvan.roux@linaro.org>

	PR target/65729
	* gcc.target/arm/pr65729.c: New test.

From-SVN: r222101
parent 58b0b34c
2015-04-14 Yvan Roux <yvan.roux@linaro.org>
PR target/65729
* lra-constraints.c (prohibited_class_reg_set_mode_p): Restore and fix
the assertiion.
2015-04-14 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.h (LEGACY_INT_REG_P): New define.
......
......@@ -1656,8 +1656,7 @@ prohibited_class_reg_set_mode_p (enum reg_class rclass,
{
HARD_REG_SET temp;
// ??? Is this assert right
// lra_assert (hard_reg_set_subset_p (set, reg_class_contents[rclass]));
lra_assert (hard_reg_set_subset_p (reg_class_contents[rclass], set));
COPY_HARD_REG_SET (temp, set);
AND_COMPL_HARD_REG_SET (temp, lra_no_alloc_regs);
return (hard_reg_set_subset_p
......
2015-04-14 Yvan Roux <yvan.roux@linaro.org>
PR target/65729
* gcc.target/arm/pr65729.c: New test.
2015-04-14 Richard Biener <rguenther@suse.de>
PR tree-optimization/65758
......
/* { dg-do compile } */
/* { dg-options "-O2 -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16" } */
int foo (void)
{
double x = 0.0;
asm volatile ("" : "+gw" (x));
return x;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment