+2012-02-22 Uros Bizjak <ubizjak@gmail.com>
+
+ PR target/52330
+ * config/i386/i386.c (ix86_print_operand) <case 'H'>: Error out if x
+ is not offsettable memory reference.
+
2012-02-21 Richard Earnshaw <rearnsha@arm.com>
PR target/52294
PR lto/47497
* lto-symtab.c (lto_cgraph_replace_node): Do not set thunk.alias.
(lto_symtab_merge_cgraph_nodes_1): Update thunk.alias pointers here.
- * cgraph.h (cgraph_same_body_alias, cgraph_add_thunk): Add node pointers.
+ * cgraph.h (cgraph_same_body_alias, cgraph_add_thunk): Add node
+ pointers.
* cgraph.c (cgraph_same_body_alias_1, cgraph_same_body_alias,
cgraph_add_thunk): Add node pointers.
* lto-cgraph.c (lto_output_node): Verify that thunks&aliases are
return;
case 'H':
+ if (!offsettable_memref_p (x))
+ {
+ output_operand_lossage ("operand is not an offsettable memory "
+ "reference, invalid operand "
+ "code 'H'");
+ return;
+ }
/* It doesn't actually matter what mode we use here, as we're
only going to use this for printing. */
x = adjust_address_nv (x, DImode, 8);
+2012-02-22 Uros Bizjak <ubizjak@gmail.com>
+
+ PR target/52330
+ * gcc.target/i386/pr52330.c: New test.
+
2012-02-22 Ulrich Weigand <ulrich.weigand@linaro.org>
* lib/target-supports.exp (check_effective_target_vect_condition):
2012-02-21 Kai Tietz <ktietz@redhat.com>
- * gcc.dg/bf-ms-layout-3.c: Mark char typed bitfield
- as extension.
+ * gcc.dg/bf-ms-layout-3.c: Mark char typed bitfield as extension.
2012-02-20 Kai Tietz <ktietz@redhat.com>
--- /dev/null
+/* { dg-do compile } */
+/* { dg-options "-O0" } */
+
+void foo (int a)
+{
+ asm volatile ("# %H0" : : "r" (a)); /* { dg-error "not an offsettable" } */
+}