]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix debian bug 307503, error compiling libatomic-ops package.
authorJames E Wilson <wilson@specifixinc.com>
Fri, 12 Aug 2005 01:31:35 +0000 (18:31 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Fri, 12 Aug 2005 01:31:35 +0000 (18:31 -0700)
* config/ia64/ia64.h (EXTRA_MEMORY_CONSTRAINT): New.

From-SVN: r103015

gcc/ChangeLog
gcc/config/ia64/ia64.h

index ec2c917c36911d49a55d805fb8367c2e177eac99..31558b901f9f61bddc0be1a9bce6f69ca8ed7592 100644 (file)
@@ -1,3 +1,7 @@
+2005-08-11  James E. Wilson  <wilson@specifix.com>
+
+       * config/ia64/ia64.h (EXTRA_MEMORY_CONSTRAINT): New.
+
 2005-08-11  Jakub Jelinek  <jakub@redhat.com>
 
        * dwarf2out.c (add_location_or_const_value_attribute): Prefer
index 4e3a280031003d19c8488a8b3c6897542b304ee2..72fff46e531959e4d0697b0f2375ea9f156f6bb3 100644 (file)
@@ -949,6 +949,13 @@ enum reg_class
 
 #define EXTRA_CONSTRAINT(VALUE, C) \
   ia64_extra_constraint (VALUE, C)
+
+/* Document the constraints that can accept reloaded memory operands.  This is
+   needed by the extended asm support, and by reload.  'Q' accepts mem, but
+   only non-volatile mem.  Since we can't reload a volatile mem into a
+   non-volatile mem, it can not be listed here.  */
+
+#define EXTRA_MEMORY_CONSTRAINT(C, STR)  ((C) == 'S')
 \f
 /* Basic Stack Layout */