2016-12-08 Andrew Pinski <apinski@cavium.com>
gcc
* config/aarch64/aarch64.c (aarch64_load_symref_appropriately):
Access the lower part of RTX appropriately.
gcc/testsuite
* gcc.target/aarch64/pr71112.c : New Testcase.
From-SVN: r243427
+2016-12-08 Andrew Pinski <apinski@cavium.com>
+
+ * config/aarch64/aarch64.c (aarch64_load_symref_appropriately):
+ Access the lower part of RTX appropriately.
+
2016-12-07 David Malcolm <dmalcolm@redhat.com>
* genpreds.c (write_tm_constrs_h): Update for renaming of
emit_move_insn (gp_rtx, gen_rtx_HIGH (Pmode, s));
if (mode != GET_MODE (gp_rtx))
- gp_rtx = simplify_gen_subreg (mode, gp_rtx, GET_MODE (gp_rtx), 0);
+ gp_rtx = gen_lowpart (mode, gp_rtx);
+
}
if (mode == ptr_mode)
+2016-12-08 Andrew Pinski <apinski@cavium.com>
+
+ * gcc.target/aarch64/pr71112.c : New Testcase.
+
2016-12-07 Martin Sebor <msebor@redhat.com>
PR middle-end/77784
--- /dev/null
+/* PR target/71112. */
+/* { dg-additional-options "-fpie" { target pie } } */
+
+extern int dbs[100];
+void f (int *);
+int nscd_init (void)
+{
+ f (dbs);
+ return 0;
+}