mips.c: Don't process ASM_OPERANDS.

gcc/
	* config/mips/mips.c: Don't process ASM_OPERANDS.

From-SVN: r183532
This commit is contained in:
Richard Sandiford 2012-01-25 19:04:44 +00:00 committed by Richard Sandiford
parent a76be469fc
commit e906c88918
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2012-01-25 Richard Sandiford <rdsandiford@googlemail.com>
* config/mips/mips.c: Don't process ASM_OPERANDS.
2012-01-25 Georg-Johann Lay <avr@gjlay.de>
PR target/49868

View File

@ -3101,7 +3101,10 @@ mips_small_data_pattern_1 (rtx *loc, void *data)
{
enum mips_symbol_context context;
if (GET_CODE (*loc) == LO_SUM)
/* Ignore things like "g" constraints in asms. We make no particular
guarantee about which symbolic constants are acceptable as asm operands
versus which must be forced into a GPR. */
if (GET_CODE (*loc) == LO_SUM || GET_CODE (*loc) == ASM_OPERANDS)
return -1;
if (MEM_P (*loc))