re PR target/5621 (ARM compiler aborts with asm "m" constraint)
authorRichard Earnshaw <rearnsha@arm.com>
Tue, 26 Mar 2002 17:34:22 +0000 (17:34 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Tue, 26 Mar 2002 17:34:22 +0000 (17:34 +0000)
PR target/5621
* arm.md (define_asm_attributes): Reapply patch of Thu Sep 9, 1999:
"Add a pool_range attribute", which was lost during the ARM/Thumb
merge.

From-SVN: r51389

gcc/ChangeLog
gcc/config/arm/arm.md

index aa239367869efc44afe6a04af7a8b4c22e1ee199..16b09646f5284c3e2eb63c26f06e7dcb483748c8 100644 (file)
@@ -1,3 +1,10 @@
+2002-03-26  Richard Earnshaw  <rearnsha@arm.com>
+
+       PR target/5621
+       * arm.md (define_asm_attributes): Reapply patch of Thu Sep 9, 1999:
+       "Add a pool_range attribute", which was lost during the ARM/Thumb
+       merge.
+
 2002-03-26  Bob Wilson  <bob.wilson@acm.org>
 
        * config/xtensa/xtensa.c (xtensa_valid_move): Allow move from
index 55f7938e022fe76fa7906a4745e6125e22f1506d..89e14c2d8471d8dc33ba858c796608a9dd4d9d88 100644 (file)
 (define_attr "neg_pool_range" "" (const_int 0))
 
 ; An assembler sequence may clobber the condition codes without us knowing.
+; If such an insn references the pool, then we have no way of knowing how,
+; so use the most conservative value for pool_range.
 (define_asm_attributes
- [(set_attr "conds" "clob")])
+ [(set_attr "conds" "clob")
+  (set_attr "length" "4")
+  (set_attr "pool_range" "250")])
 
 ; TYPE attribute is used to detect floating point instructions which, if
 ; running on a co-processor can run in parallel with other, basic instructions