summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2012-11-07 09:55:57 +0000
committerdoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2012-11-07 09:55:57 +0000
commit0d883dc86fbfead6bd1b607e7be67058d112467e (patch)
tree0bde2a5f647df30fd6e883a01a8d00072ae37d74
parentfd8dcfc230a6f76588e01aa829156ca8b53aea0f (diff)
downloadgcc-47-0d883dc86fbfead6bd1b607e7be67058d112467e.tar.gz
- refresh patches
git-svn-id: svn://svn.debian.org/svn/gcccvs/branches/sid/gcc-4.7@6215 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
-rw-r--r--debian/patches/aarch64-branch.diff2531
-rw-r--r--debian/patches/aarch64-libffi-testsuite.diff48
-rw-r--r--debian/patches/aarch64-libffi.diff34
-rw-r--r--debian/patches/ada-mips.diff10
-rw-r--r--debian/patches/alpha-no-ev4-directive.diff8
-rw-r--r--debian/patches/arm-multilib-defaults.diff12
-rw-r--r--debian/patches/arm-multilib-soft.diff6
-rw-r--r--debian/patches/arm-no-va_list-warn.diff8
-rw-r--r--debian/patches/armhf-triplet.diff56
-rw-r--r--debian/patches/gcc-base-version.diff22
-rw-r--r--debian/patches/gcc-cloog-dl.diff50
-rw-r--r--debian/patches/gcc-d-lang.diff22
-rw-r--r--debian/patches/gcc-gfdl-build.diff4
-rw-r--r--debian/patches/gcc-hash-style-both.diff10
-rw-r--r--debian/patches/gcc-ice-apport.diff4
-rw-r--r--debian/patches/gcc-ice-hack.diff14
-rw-r--r--debian/patches/gcc-multiarch.diff212
-rw-r--r--debian/patches/gcc-multilib64-multiarch.diff19
-rw-r--r--debian/patches/gcc-no-add-needed.diff18
-rw-r--r--debian/patches/gcc-powerpc-nof.diff4
-rw-r--r--debian/patches/gcc-powerpc-undef.diff6
-rw-r--r--debian/patches/gcc-sysroot.diff4
-rw-r--r--debian/patches/gcc-textdomain.diff4
-rw-r--r--debian/patches/gccgo-version.diff2
-rw-r--r--debian/patches/libffi-kfreebsd.diff4
-rw-r--r--debian/patches/libffi-powerpc-sysv-without-string-ops.diff12
-rw-r--r--debian/patches/libffi-ro-eh_frame_sect.diff4
-rw-r--r--debian/patches/libgo-fix-arm.diff4
-rw-r--r--debian/patches/libgo-hardening.diff4
-rw-r--r--debian/patches/libgo-mksysinfo.diff6
-rw-r--r--debian/patches/libjava-fixed-symlinks.diff6
-rw-r--r--debian/patches/libjava-jnipath.diff18
-rw-r--r--debian/patches/libjava-multiarch.diff18
-rw-r--r--debian/patches/libstdc++-arm-wno-abi.diff4
-rw-r--r--debian/patches/libstdc++-doclink.diff10
-rw-r--r--debian/patches/libstdc++-man-3cxx.diff2
-rw-r--r--debian/patches/libstdc++-pic.diff28
-rw-r--r--debian/patches/libstdc++-test-installed.diff14
-rw-r--r--debian/patches/pr24619.diff4
-rw-r--r--debian/patches/pr26155.diff18
-rw-r--r--debian/patches/pr45078.diff4
-rw-r--r--debian/patches/pr47818.diff6
-rw-r--r--debian/patches/pr49944.diff4
-rw-r--r--debian/patches/sparc-force-cpu.diff4
44 files changed, 1187 insertions, 2095 deletions
diff --git a/debian/patches/aarch64-branch.diff b/debian/patches/aarch64-branch.diff
index 4909b5a..5d7ec77 100644
--- a/debian/patches/aarch64-branch.diff
+++ b/debian/patches/aarch64-branch.diff
@@ -12,10 +12,10 @@ svn diff svn://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@192902 svn://gcc.gnu.
| sed -r 's,^--- (\S+)\t(\S+)(.*)$,--- a/src/\1\t\2,;s,^\+\+\+ (\S+)\t(\S+)(.*)$,+++ b/src/\1\t\2,' \
| awk '/^Index:.*\.(class|texi)/ {skip=1; next} /^Index:/ { skip=0 } skip==0'
-Index: libgomp/configure.tgt
+Index: b/src/libgomp/configure.tgt
===================================================================
---- a/src/libgomp/configure.tgt (.../gcc-4_7-branch)
-+++ b/src/libgomp/configure.tgt (.../ARM/aarch64-4.7-branch)
+--- a/src/libgomp/configure.tgt
++++ b/src/libgomp/configure.tgt
@@ -27,6 +27,10 @@
if test $enable_linux_futex = yes; then
case "${target}" in
@@ -27,10 +27,10 @@ Index: libgomp/configure.tgt
alpha*-*-linux*)
config_path="linux/alpha linux posix"
;;
-Index: libgomp/ChangeLog.aarch64
+Index: b/src/libgomp/ChangeLog.aarch64
===================================================================
---- a/src/libgomp/ChangeLog.aarch64 (.../gcc-4_7-branch)
-+++ b/src/libgomp/ChangeLog.aarch64 (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/libgomp/ChangeLog.aarch64
@@ -0,0 +1,12 @@
+2012-05-25 Ian Bolton <ian.bolton@arm.com>
+ Jim MacArthur <jim.macarthur@arm.com>
@@ -44,10 +44,10 @@ Index: libgomp/ChangeLog.aarch64
+ Yufeng Zhang <yufeng.zhang@arm.com>
+
+ * configure.tgt: Add AArch64.
-Index: libstdc++-v3/configure.host
+Index: b/src/libstdc++-v3/configure.host
===================================================================
---- a/src/libstdc++-v3/configure.host (.../gcc-4_7-branch)
-+++ b/src/libstdc++-v3/configure.host (.../ARM/aarch64-4.7-branch)
+--- a/src/libstdc++-v3/configure.host
++++ b/src/libstdc++-v3/configure.host
@@ -94,6 +94,9 @@
# variants into the established source config/cpu/* sub-directories.
# THIS TABLE IS SORTED. KEEP IT THAT WAY.
@@ -58,10 +58,10 @@ Index: libstdc++-v3/configure.host
alpha*)
try_cpu=alpha
;;
-Index: libstdc++-v3/config/cpu/aarch64/cxxabi_tweaks.h
+Index: b/src/libstdc++-v3/config/cpu/aarch64/cxxabi_tweaks.h
===================================================================
---- a/src/libstdc++-v3/config/cpu/aarch64/cxxabi_tweaks.h (.../gcc-4_7-branch)
-+++ b/src/libstdc++-v3/config/cpu/aarch64/cxxabi_tweaks.h (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/libstdc++-v3/config/cpu/aarch64/cxxabi_tweaks.h
@@ -0,0 +1,60 @@
+// Control various target specific ABI tweaks. AArch64 version.
+
@@ -123,27 +123,19 @@ Index: libstdc++-v3/config/cpu/aarch64/cxxabi_tweaks.h
+#endif
+
+#endif
-
-Property changes on: libstdc++-v3/config/cpu/aarch64/cxxabi_tweaks.h
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: libstdc++-v3/ChangeLog.aarch64
+Index: b/src/libstdc++-v3/ChangeLog.aarch64
===================================================================
---- a/src/libstdc++-v3/ChangeLog.aarch64 (.../gcc-4_7-branch)
-+++ b/src/libstdc++-v3/ChangeLog.aarch64 (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/libstdc++-v3/ChangeLog.aarch64
@@ -0,0 +1,4 @@
+2012-05-25 Yufeng Zhang <yufeng.zhang@arm.com>
+
+ * config/cpu/aarch64/cxxabi_tweaks.h: New file.
+ * configure.host: Enable aarch64.
-Index: libgcc/config.host
+Index: b/src/libgcc/config.host
===================================================================
---- a/src/libgcc/config.host (.../gcc-4_7-branch)
-+++ b/src/libgcc/config.host (.../ARM/aarch64-4.7-branch)
+--- a/src/libgcc/config.host
++++ b/src/libgcc/config.host
@@ -83,6 +83,9 @@
cpu_type=m32c
tmake_file=t-fdpbit
@@ -171,10 +163,10 @@ Index: libgcc/config.host
alpha*-*-linux*)
tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee t-crtfm alpha/t-linux"
extra_parts="$extra_parts crtfastmath.o"
-Index: libgcc/config/aarch64/sfp-machine.h
+Index: b/src/libgcc/config/aarch64/sfp-machine.h
===================================================================
---- a/src/libgcc/config/aarch64/sfp-machine.h (.../gcc-4_7-branch)
-+++ b/src/libgcc/config/aarch64/sfp-machine.h (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/libgcc/config/aarch64/sfp-machine.h
@@ -0,0 +1,153 @@
+/* Machine description for AArch64 architecture.
+ Copyright (C) 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
@@ -329,18 +321,10 @@ Index: libgcc/config/aarch64/sfp-machine.h
+# define strong_alias(name, aliasname) _strong_alias(name, aliasname)
+# define _strong_alias(name, aliasname) \
+ extern __typeof (name) aliasname __attribute__ ((alias (#name)));
-
-Property changes on: libgcc/config/aarch64/sfp-machine.h
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: libgcc/config/aarch64/crti.S
+Index: b/src/libgcc/config/aarch64/crti.S
===================================================================
---- a/src/libgcc/config/aarch64/crti.S (.../gcc-4_7-branch)
-+++ b/src/libgcc/config/aarch64/crti.S (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/libgcc/config/aarch64/crti.S
@@ -0,0 +1,68 @@
+# Machine description for AArch64 architecture.
+# Copyright (C) 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
@@ -410,18 +394,10 @@ Index: libgcc/config/aarch64/crti.S
+ FUNC_START
+
+# end of crti.S
-
-Property changes on: libgcc/config/aarch64/crti.S
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: libgcc/config/aarch64/t-softfp
+Index: b/src/libgcc/config/aarch64/t-softfp
===================================================================
---- a/src/libgcc/config/aarch64/t-softfp (.../gcc-4_7-branch)
-+++ b/src/libgcc/config/aarch64/t-softfp (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/libgcc/config/aarch64/t-softfp
@@ -0,0 +1,7 @@
+softfp_float_modes := tf
+softfp_int_modes := si di ti
@@ -430,10 +406,10 @@ Index: libgcc/config/aarch64/t-softfp
+softfp_exclude_libgcc2 := n
+
+TARGET_LIBGCC2_CFLAGS += -Wno-missing-prototypes
-Index: libgcc/config/aarch64/crtn.S
+Index: b/src/libgcc/config/aarch64/crtn.S
===================================================================
---- a/src/libgcc/config/aarch64/crtn.S (.../gcc-4_7-branch)
-+++ b/src/libgcc/config/aarch64/crtn.S (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/libgcc/config/aarch64/crtn.S
@@ -0,0 +1,61 @@
+# Machine description for AArch64 architecture.
+# Copyright (C) 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
@@ -496,18 +472,10 @@ Index: libgcc/config/aarch64/crtn.S
+ FUNC_END
+
+# end of crtn.S
-
-Property changes on: libgcc/config/aarch64/crtn.S
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: libgcc/config/aarch64/linux-unwind.h
+Index: b/src/libgcc/config/aarch64/linux-unwind.h
===================================================================
---- a/src/libgcc/config/aarch64/linux-unwind.h (.../gcc-4_7-branch)
-+++ b/src/libgcc/config/aarch64/linux-unwind.h (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/libgcc/config/aarch64/linux-unwind.h
@@ -0,0 +1,143 @@
+/* Copyright (C) 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
+ Contributed by ARM Ltd.
@@ -652,18 +620,10 @@ Index: libgcc/config/aarch64/linux-unwind.h
+}
+
+#endif
-
-Property changes on: libgcc/config/aarch64/linux-unwind.h
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: libgcc/config/aarch64/t-aarch64
+Index: b/src/libgcc/config/aarch64/t-aarch64
===================================================================
---- a/src/libgcc/config/aarch64/t-aarch64 (.../gcc-4_7-branch)
-+++ b/src/libgcc/config/aarch64/t-aarch64 (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/libgcc/config/aarch64/t-aarch64
@@ -0,0 +1,21 @@
+# Machine description for AArch64 architecture.
+# Copyright (C) 2012 Free Software Foundation, Inc.
@@ -686,10 +646,10 @@ Index: libgcc/config/aarch64/t-aarch64
+# <http://www.gnu.org/licenses/>.
+
+LIB2ADD += $(srcdir)/config/aarch64/sync-cache.c
-Index: libgcc/config/aarch64/sync-cache.c
+Index: b/src/libgcc/config/aarch64/sync-cache.c
===================================================================
---- a/src/libgcc/config/aarch64/sync-cache.c (.../gcc-4_7-branch)
-+++ b/src/libgcc/config/aarch64/sync-cache.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/libgcc/config/aarch64/sync-cache.c
@@ -0,0 +1,57 @@
+/* Machine description for AArch64 architecture.
+ Copyright (C) 2012 Free Software Foundation, Inc.
@@ -748,18 +708,10 @@ Index: libgcc/config/aarch64/sync-cache.c
+
+ asm volatile ("dsb\tish; isb" : : : "memory");
+}
-
-Property changes on: libgcc/config/aarch64/sync-cache.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: libgcc/ChangeLog.aarch64
+Index: b/src/libgcc/ChangeLog.aarch64
===================================================================
---- a/src/libgcc/ChangeLog.aarch64 (.../gcc-4_7-branch)
-+++ b/src/libgcc/ChangeLog.aarch64 (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/libgcc/ChangeLog.aarch64
@@ -0,0 +1,56 @@
+2012-09-06 Marcus Shawcroft <marcus.shawcroft@arm.com>
+
@@ -817,10 +769,10 @@ Index: libgcc/ChangeLog.aarch64
+
+ * configure.ac: Enable AArch64.
+ * configure: Regenerate.
-Index: config.guess
+Index: b/src/config.guess
===================================================================
---- a/src/config.guess (.../gcc-4_7-branch)
-+++ b/src/config.guess (.../ARM/aarch64-4.7-branch)
+--- a/src/config.guess
++++ b/src/config.guess
@@ -2,9 +2,9 @@
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
@@ -920,7 +872,7 @@ Index: config.guess
alpha:Linux:*:*)
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
EV5) UNAME_MACHINE=alphaev5 ;;
-@@ -895,14 +909,17 @@
+@@ -895,13 +909,16 @@
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;
cris:Linux:*:*)
@@ -934,13 +886,12 @@ Index: config.guess
frv:Linux:*:*)
- echo frv-unknown-linux-gnu
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
- exit ;;
++ exit ;;
+ hexagon:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
-+ exit ;;
+ exit ;;
i*86:Linux:*:*)
LIBC=gnu
- eval $set_cc_for_build
@@ -943,7 +960,7 @@
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
;;
@@ -993,10 +944,10 @@ Index: config.guess
eval $set_cc_for_build
cat >$dummy.c <<EOF
#ifdef _SEQUENT_
-Index: gcc/ChangeLog.aarch64
+Index: b/src/gcc/ChangeLog.aarch64
===================================================================
---- a/src/gcc/ChangeLog.aarch64 (.../gcc-4_7-branch)
-+++ b/src/gcc/ChangeLog.aarch64 (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/ChangeLog.aarch64
@@ -0,0 +1,495 @@
+2012-10-17 Sofiane Naci <sofiane.naci@arm.com>
+
@@ -1493,10 +1444,10 @@ Index: gcc/ChangeLog.aarch64
+ (read_rtx): Parse and read int iterators mapping and attributes.
+ Initialize int iterators group's hash-table. Memory management.
+ (read_rtx_code): Handle case for rtl field specifier 'i'.
-Index: gcc/reload.c
+Index: b/src/gcc/reload.c
===================================================================
---- a/src/gcc/reload.c (.../gcc-4_7-branch)
-+++ b/src/gcc/reload.c (.../ARM/aarch64-4.7-branch)
+--- a/src/gcc/reload.c
++++ b/src/gcc/reload.c
@@ -283,7 +283,7 @@
static void find_reloads_address_part (rtx, rtx *, enum reg_class,
enum machine_mode, int,
@@ -1513,11 +1464,7 @@ Index: gcc/reload.c
- convert the subreg to a narrower memref now.
- Otherwise, we would get (subreg (mem ...) ...),
- which would force reload of the mem.
-+ attempt to convert the whole subreg to a (narrower or wider)
-+ memory reference instead. If this succeeds, we're done --
-+ otherwise fall through to check whether the inner reg still
-+ needs address reloads anyway. */
-
+-
- We also need to do this if there is an equivalent MEM that is
- not offsettable. In that case, alter_subreg would produce an
- invalid address on big-endian machines.
@@ -1525,7 +1472,11 @@ Index: gcc/reload.c
- For machines that extend byte loads, we must not reload using
- a wider mode if we have a paradoxical SUBREG. find_reloads will
- force a reload in that case. So we should not do anything here. */
--
++ attempt to convert the whole subreg to a (narrower or wider)
++ memory reference instead. If this succeeds, we're done --
++ otherwise fall through to check whether the inner reg still
++ needs address reloads anyway. */
+
if (regno >= FIRST_PSEUDO_REGISTER
-#ifdef LOAD_EXTEND_OP
- && !paradoxical_subreg_p (x)
@@ -1587,19 +1538,15 @@ Index: gcc/reload.c
}
}
}
-@@ -6089,18 +6096,13 @@
+@@ -6089,17 +6096,12 @@
}
/* X, a subreg of a pseudo, is a part of an address that needs to be
- reloaded.
-+ reloaded, and the pseusdo is equivalent to a memory location.
-
+-
- If the pseudo is equivalent to a memory location that cannot be directly
- addressed, make the necessary address reloads.
-+ Attempt to replace the whole subreg by a (possibly narrower or wider)
-+ memory reference. If this is possible, return this new memory
-+ reference, and push all required address reloads. Otherwise,
-+ return NULL.
++ reloaded, and the pseusdo is equivalent to a memory location.
- If address reloads have been necessary, or if the address is changed
- by register elimination, return the rtx of the memory location;
@@ -1607,10 +1554,13 @@ Index: gcc/reload.c
-
- If FORCE_REPLACE is nonzero, unconditionally replace the subreg with the
- memory location.
--
++ Attempt to replace the whole subreg by a (possibly narrower or wider)
++ memory reference. If this is possible, return this new memory
++ reference, and push all required address reloads. Otherwise,
++ return NULL.
+
OPNUM and TYPE identify the purpose of the reload.
- IND_LEVELS says how many levels of indirect addressing are
@@ -6111,130 +6113,108 @@
stack slots. */
@@ -1638,13 +1588,11 @@ Index: gcc/reload.c
- && (reg_equiv_address (regno)
- || ! offsettable_memref_p (reg_equiv_mem (regno))))
- force_replace = 1;
-+ gcc_assert (reg_equiv_memory_loc (regno) != 0);
-
+-
- if (force_replace || num_not_at_initial_offset)
- {
- rtx tem = make_memloc (SUBREG_REG (x), regno);
-+ /* We cannot replace the subreg with a modified memory reference if:
-
+-
- /* If the address changes because of register elimination, then
- it must be replaced. */
- if (force_replace
@@ -1654,17 +1602,14 @@ Index: gcc/reload.c
- unsigned inner_size = GET_MODE_SIZE (GET_MODE (SUBREG_REG (x)));
- int offset;
- rtx orig = tem;
-+ - we have a paradoxical subreg that implicitly acts as a zero or
-+ sign extension operation due to LOAD_EXTEND_OP;
-
+-
- /* For big-endian paradoxical subregs, SUBREG_BYTE does not
- hold the correct (negative) byte offset. */
- if (BYTES_BIG_ENDIAN && outer_size > inner_size)
- offset = inner_size - outer_size;
- else
- offset = SUBREG_BYTE (x);
-+ - we have a subreg that is implicitly supposed to act on the full
-+ register due to WORD_REGISTER_OPERATIONS (see also eliminate_regs);
++ gcc_assert (reg_equiv_memory_loc (regno) != 0);
- XEXP (tem, 0) = plus_constant (XEXP (tem, 0), offset);
- PUT_MODE (tem, GET_MODE (x));
@@ -1673,16 +1618,14 @@ Index: gcc/reload.c
- if (MEM_SIZE_KNOWN_P (tem)
- && MEM_SIZE (tem) != (HOST_WIDE_INT) outer_size)
- set_mem_size (tem, outer_size);
-+ - the address of the equivalent memory location is mode-dependent; or
-
+-
- /* If this was a paradoxical subreg that we replaced, the
- resulting memory must be sufficiently aligned to allow
- us to widen the mode of the memory. */
- if (outer_size > inner_size)
- {
- rtx base;
-+ - we have a paradoxical subreg and the resulting memory is not
-+ sufficiently aligned to allow access in the wider mode.
++ /* We cannot replace the subreg with a modified memory reference if:
- base = XEXP (tem, 0);
- if (GET_CODE (base) == PLUS)
@@ -1697,73 +1640,34 @@ Index: gcc/reload.c
- < outer_size * BITS_PER_UNIT))
- return x;
- }
++ - we have a paradoxical subreg that implicitly acts as a zero or
++ sign extension operation due to LOAD_EXTEND_OP;
++
++ - we have a subreg that is implicitly supposed to act on the full
++ register due to WORD_REGISTER_OPERATIONS (see also eliminate_regs);
++
++ - the address of the equivalent memory location is mode-dependent; or
++
++ - we have a paradoxical subreg and the resulting memory is not
++ sufficiently aligned to allow access in the wider mode.
++
+ In addition, we choose not to perform the replacement for *any*
+ paradoxical subreg, even if it were possible in principle. This
+ is to avoid generating wider memory references than necessary.
-
-- reloaded = find_reloads_address (GET_MODE (tem), &tem,
-- XEXP (tem, 0), &XEXP (tem, 0),
-- opnum, type, ind_levels, insn);
-- /* ??? Do we need to handle nonzero offsets somehow? */
-- if (!offset && !rtx_equal_p (tem, orig))
-- push_reg_equiv_alt_mem (regno, tem);
++
+ This corresponds to how previous versions of reload used to handle
+ paradoxical subregs where no address reload was required. */
-
-- /* For some processors an address may be valid in the
-- original mode but not in a smaller mode. For
-- example, ARM accepts a scaled index register in
-- SImode but not in HImode. Note that this is only
-- a problem if the address in reg_equiv_mem is already
-- invalid in the new mode; other cases would be fixed
-- by find_reloads_address as usual.
++
+ if (paradoxical_subreg_p (x))
+ return NULL;
-
-- ??? We attempt to handle such cases here by doing an
-- additional reload of the full address after the
-- usual processing by find_reloads_address. Note that
-- this may not work in the general case, but it seems
-- to cover the cases where this situation currently
-- occurs. A more general fix might be to reload the
-- *value* instead of the address, but this would not
-- be expected by the callers of this routine as-is.
++
+#ifdef WORD_REGISTER_OPERATIONS
+ if (outer_size < inner_size
+ && ((outer_size - 1) / UNITS_PER_WORD
+ == (inner_size - 1) / UNITS_PER_WORD))
+ return NULL;
+#endif
-
-- If find_reloads_address already completed replaced
-- the address, there is nothing further to do. */
-- if (reloaded == 0
-- && reg_equiv_mem (regno) != 0
-- && !strict_memory_address_addr_space_p
-- (GET_MODE (x), XEXP (reg_equiv_mem (regno), 0),
-- MEM_ADDR_SPACE (reg_equiv_mem (regno))))
-- {
-- push_reload (XEXP (tem, 0), NULL_RTX, &XEXP (tem, 0), (rtx*) 0,
-- base_reg_class (GET_MODE (tem),
-- MEM_ADDR_SPACE (tem),
-- MEM, SCRATCH),
-- GET_MODE (XEXP (tem, 0)), VOIDmode, 0, 0,
-- opnum, type);
-- reloaded = 1;
-- }
-- /* If this is not a toplevel operand, find_reloads doesn't see
-- this substitution. We have to emit a USE of the pseudo so
-- that delete_output_reload can see it. */
-- if (replace_reloads && recog_data.operand[opnum] != x)
-- /* We mark the USE with QImode so that we recognize it
-- as one that can be safely deleted at the end of
-- reload. */
-- PUT_MODE (emit_insn_before (gen_rtx_USE (VOIDmode,
-- SUBREG_REG (x)),
-- insn), QImode);
-- x = tem;
-- }
-- }
++
+ /* Since we don't attempt to handle paradoxical subregs, we can just
+ call into simplify_subreg, which will handle all remaining checks
+ for us. */
@@ -1807,7 +1711,7 @@ Index: gcc/reload.c
+ MEM, SCRATCH),
+ GET_MODE (XEXP (tem, 0)), VOIDmode, 0, 0, opnum, type);
+ reloaded = 1;
- }
++ }
+
+ /* If this is not a toplevel operand, find_reloads doesn't see this
+ substitution. We have to emit a USE of the pseudo so that
@@ -1817,7 +1721,61 @@ Index: gcc/reload.c
+ can be safely deleted at the end of reload. */
+ PUT_MODE (emit_insn_before (gen_rtx_USE (VOIDmode, SUBREG_REG (x)), insn),
+ QImode);
-+
+
+- reloaded = find_reloads_address (GET_MODE (tem), &tem,
+- XEXP (tem, 0), &XEXP (tem, 0),
+- opnum, type, ind_levels, insn);
+- /* ??? Do we need to handle nonzero offsets somehow? */
+- if (!offset && !rtx_equal_p (tem, orig))
+- push_reg_equiv_alt_mem (regno, tem);
+-
+- /* For some processors an address may be valid in the
+- original mode but not in a smaller mode. For
+- example, ARM accepts a scaled index register in
+- SImode but not in HImode. Note that this is only
+- a problem if the address in reg_equiv_mem is already
+- invalid in the new mode; other cases would be fixed
+- by find_reloads_address as usual.
+-
+- ??? We attempt to handle such cases here by doing an
+- additional reload of the full address after the
+- usual processing by find_reloads_address. Note that
+- this may not work in the general case, but it seems
+- to cover the cases where this situation currently
+- occurs. A more general fix might be to reload the
+- *value* instead of the address, but this would not
+- be expected by the callers of this routine as-is.
+-
+- If find_reloads_address already completed replaced
+- the address, there is nothing further to do. */
+- if (reloaded == 0
+- && reg_equiv_mem (regno) != 0
+- && !strict_memory_address_addr_space_p
+- (GET_MODE (x), XEXP (reg_equiv_mem (regno), 0),
+- MEM_ADDR_SPACE (reg_equiv_mem (regno))))
+- {
+- push_reload (XEXP (tem, 0), NULL_RTX, &XEXP (tem, 0), (rtx*) 0,
+- base_reg_class (GET_MODE (tem),
+- MEM_ADDR_SPACE (tem),
+- MEM, SCRATCH),
+- GET_MODE (XEXP (tem, 0)), VOIDmode, 0, 0,
+- opnum, type);
+- reloaded = 1;
+- }
+- /* If this is not a toplevel operand, find_reloads doesn't see
+- this substitution. We have to emit a USE of the pseudo so
+- that delete_output_reload can see it. */
+- if (replace_reloads && recog_data.operand[opnum] != x)
+- /* We mark the USE with QImode so that we recognize it
+- as one that can be safely deleted at the end of
+- reload. */
+- PUT_MODE (emit_insn_before (gen_rtx_USE (VOIDmode,
+- SUBREG_REG (x)),
+- insn), QImode);
+- x = tem;
+- }
+- }
+- }
if (address_reloaded)
*address_reloaded = reloaded;
@@ -1826,11 +1784,11 @@ Index: gcc/reload.c
}
/* Substitute into the current INSN the registers into which we have reloaded
-Index: gcc/configure
+Index: b/src/gcc/configure
===================================================================
---- a/src/gcc/configure (.../gcc-4_7-branch)
-+++ b/src/gcc/configure (.../ARM/aarch64-4.7-branch)
-@@ -23421,6 +23421,19 @@
+--- a/src/gcc/configure
++++ b/src/gcc/configure
+@@ -23428,6 +23428,19 @@
tls_first_minor=19
tls_as_opt='--fatal-warnings'
;;
@@ -1850,10 +1808,10 @@ Index: gcc/configure
powerpc-*-*)
conftest_s='
.section ".tdata","awT",@progbits
-Index: gcc/testsuite/gcc.target/aarch64/fcvt_float_int.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/fcvt_float_int.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/fcvt_float_int.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/fcvt_float_int.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/fcvt_float_int.c
@@ -0,0 +1,15 @@
+/* { dg-do compile } */
+/* { dg-options "-O2" } */
@@ -1870,18 +1828,10 @@ Index: gcc/testsuite/gcc.target/aarch64/fcvt_float_int.c
+/* { dg-final { scan-assembler-times "fcvtms\tx\[0-9\]+, *s\[0-9\]" 1 } } */
+/* { dg-final { scan-assembler-times "fcvtms\tw\[0-9\]+, *s\[0-9\]" 2 } } */
+/* { dg-final { scan-assembler-times "fcvtas\tw\[0-9\]+, *s\[0-9\]" 2 } } */
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/fcvt_float_int.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/mnegl-2.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/mnegl-2.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/mnegl-2.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/mnegl-2.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/mnegl-2.c
@@ -0,0 +1,16 @@
+/* { dg-do compile } */
+/* { dg-options "-O2" } */
@@ -1899,18 +1849,10 @@ Index: gcc/testsuite/gcc.target/aarch64/mnegl-2.c
+ /* { dg-final { scan-assembler "umnegl\tx\[0-9\]*, w\[0-9\]*, w\[0-9\]*\n" } } */
+ r = ((long long) a) * (-((long long) b));
+}
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/mnegl-2.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/fcvt_float_long.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/fcvt_float_long.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/fcvt_float_long.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/fcvt_float_long.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/fcvt_float_long.c
@@ -0,0 +1,13 @@
+/* { dg-do compile } */
+/* { dg-options "-O2" } */
@@ -1925,18 +1867,10 @@ Index: gcc/testsuite/gcc.target/aarch64/fcvt_float_long.c
+/* { dg-final { scan-assembler-times "fcvtps\tx\[0-9\]+, *s\[0-9\]" 3 } } */
+/* { dg-final { scan-assembler-times "fcvtms\tx\[0-9\]+, *s\[0-9\]" 3 } } */
+/* { dg-final { scan-assembler-times "fcvtas\tx\[0-9\]+, *s\[0-9\]" 2 } } */
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/fcvt_float_long.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/vect-fmax-fmin.x
+Index: b/src/gcc/testsuite/gcc.target/aarch64/vect-fmax-fmin.x
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/vect-fmax-fmin.x (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/vect-fmax-fmin.x (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/vect-fmax-fmin.x
@@ -0,0 +1,32 @@
+
+typedef float *__restrict__ pRF32;
@@ -1970,10 +1904,10 @@ Index: gcc/testsuite/gcc.target/aarch64/vect-fmax-fmin.x
+ for (i=0;i<16;i++)
+ c[i] = (a[i] < b[i] ? a[i] : b[i]);
+}
-Index: gcc/testsuite/gcc.target/aarch64/frint.x
+Index: b/src/gcc/testsuite/gcc.target/aarch64/frint.x
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/frint.x (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/frint.x (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/frint.x
@@ -0,0 +1,66 @@
+extern GPF SUFFIX(trunc) (GPF);
+extern GPF SUFFIX(ceil) (GPF);
@@ -2041,10 +1975,10 @@ Index: gcc/testsuite/gcc.target/aarch64/frint.x
+{
+ return SUFFIX(round)(x);
+}
-Index: gcc/testsuite/gcc.target/aarch64/tst-1.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/tst-1.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/tst-1.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/tst-1.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/tst-1.c
@@ -0,0 +1,49 @@
+/* { dg-do compile } */
+/* { dg-options "-O2" } */
@@ -2095,18 +2029,10 @@ Index: gcc/testsuite/gcc.target/aarch64/tst-1.c
+jumpto:
+ if (!(x1 & 0x08)) goto jumpto;
+}
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/tst-1.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/scalar_intrinsics.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/scalar_intrinsics.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/scalar_intrinsics.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/scalar_intrinsics.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/scalar_intrinsics.c
@@ -0,0 +1,1181 @@
+/* { dg-do compile } */
+/* { dg-options "-O2" } */
@@ -3289,18 +3215,10 @@ Index: gcc/testsuite/gcc.target/aarch64/scalar_intrinsics.c
+{
+ return vsrid_n_u64 (a, b, 9);
+}
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/scalar_intrinsics.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/fcvt_double_long.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/fcvt_double_long.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/fcvt_double_long.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/fcvt_double_long.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/fcvt_double_long.c
@@ -0,0 +1,13 @@
+/* { dg-do compile } */
+/* { dg-options "-O2" } */
@@ -3315,18 +3233,10 @@ Index: gcc/testsuite/gcc.target/aarch64/fcvt_double_long.c
+/* { dg-final { scan-assembler-times "fcvtps\tx\[0-9\]+, *d\[0-9\]" 3 } } */
+/* { dg-final { scan-assembler-times "fcvtms\tx\[0-9\]+, *d\[0-9\]" 3 } } */
+/* { dg-final { scan-assembler-times "fcvtas\tx\[0-9\]+, *d\[0-9\]" 2 } } */
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/fcvt_double_long.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/frint_double.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/frint_double.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/frint_double.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/frint_double.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/frint_double.c
@@ -0,0 +1,14 @@
+/* { dg-do compile } */
+/* { dg-options "-O2" } */
@@ -3342,18 +3252,10 @@ Index: gcc/testsuite/gcc.target/aarch64/frint_double.c
+/* { dg-final { scan-assembler-times "frinti\td\[0-9\]" 2 } } */
+/* { dg-final { scan-assembler-times "frintx\td\[0-9\]" 2 } } */
+/* { dg-final { scan-assembler-times "frinta\td\[0-9\]" 2 } } */
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/frint_double.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/pic-constantpool1.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/pic-constantpool1.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/pic-constantpool1.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/pic-constantpool1.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/pic-constantpool1.c
@@ -0,0 +1,30 @@
+/* { dg-options "-O2 -mcmodel=small -fPIC" } */
+/* { dg-do compile } */
@@ -3385,18 +3287,10 @@ Index: gcc/testsuite/gcc.target/aarch64/pic-constantpool1.c
+ *sign = (sizeof (value) == sizeof (float) ? __finitef (value) : __finite (value)) ? (sizeof (value) == sizeof (float) ? __signbitf (value) : __signbit (value)) != 0 : 0;
+ }
+}
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/pic-constantpool1.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/ffs.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/ffs.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/ffs.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/ffs.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/ffs.c
@@ -0,0 +1,12 @@
+/* { dg-do compile } */
+/* { dg-options "-O2" } */
@@ -3410,10 +3304,10 @@ Index: gcc/testsuite/gcc.target/aarch64/ffs.c
+/* { dg-final { scan-assembler "rbit\tw" } } */
+/* { dg-final { scan-assembler "clz\tw" } } */
+/* { dg-final { scan-assembler "csinc\tw" } } */
-Index: gcc/testsuite/gcc.target/aarch64/arch-diagnostics-1.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/arch-diagnostics-1.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/arch-diagnostics-1.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/arch-diagnostics-1.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/arch-diagnostics-1.c
@@ -0,0 +1,7 @@
+/* { dg-error "unknown" "" {target "aarch64*-*-*" } } */
+/* { dg-options "-O2 -march=dummy" } */
@@ -3422,18 +3316,10 @@ Index: gcc/testsuite/gcc.target/aarch64/arch-diagnostics-1.c
+{
+ return;
+}
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/arch-diagnostics-1.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/csinv-1.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/csinv-1.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/csinv-1.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/csinv-1.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/csinv-1.c
@@ -0,0 +1,50 @@
+/* { dg-do compile } */
+/* { dg-options "-O2" } */
@@ -3485,18 +3371,10 @@ Index: gcc/testsuite/gcc.target/aarch64/csinv-1.c
+ x4 = (x0 == x1) ? x3 : ~x2;
+ return x4;
+}
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/csinv-1.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/vmlsq_laneq.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/vmlsq_laneq.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/vmlsq_laneq.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/vmlsq_laneq.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/vmlsq_laneq.c
@@ -0,0 +1,158 @@
+
+/* { dg-do run } */
@@ -3656,18 +3534,10 @@ Index: gcc/testsuite/gcc.target/aarch64/vmlsq_laneq.c
+
+ return 0;
+}
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/vmlsq_laneq.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/vect-fmaxv-fminv.x
+Index: b/src/gcc/testsuite/gcc.target/aarch64/vect-fmaxv-fminv.x
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/vect-fmaxv-fminv.x (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/vect-fmaxv-fminv.x (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/vect-fmaxv-fminv.x
@@ -0,0 +1,43 @@
+
+typedef float *__restrict__ pRF32;
@@ -3712,10 +3582,10 @@ Index: gcc/testsuite/gcc.target/aarch64/vect-fmaxv-fminv.x
+
+ return s;
+}
-Index: gcc/testsuite/gcc.target/aarch64/vect-faddv.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/vect-faddv.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/vect-faddv.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/vect-faddv.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/vect-faddv.c
@@ -0,0 +1,31 @@
+
+/* { dg-do run } */
@@ -3748,18 +3618,10 @@ Index: gcc/testsuite/gcc.target/aarch64/vect-faddv.c
+
+ return 0;
+}
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/vect-faddv.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/fcvt.x
+Index: b/src/gcc/testsuite/gcc.target/aarch64/fcvt.x
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/fcvt.x (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/fcvt.x (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/fcvt.x
@@ -0,0 +1,55 @@
+extern GPF SUFFIX(trunc) (GPF);
+extern GPF SUFFIX(ceil) (GPF);
@@ -3816,10 +3678,10 @@ Index: gcc/testsuite/gcc.target/aarch64/fcvt.x
+}
+
+
-Index: gcc/testsuite/gcc.target/aarch64/clz.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/clz.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/clz.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/clz.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/clz.c
@@ -0,0 +1,9 @@
+/* { dg-do compile } */
+/* { dg-options "-O2" } */
@@ -3830,10 +3692,10 @@ Index: gcc/testsuite/gcc.target/aarch64/clz.c
+}
+
+/* { dg-final { scan-assembler "clz\tw" } } */
-Index: gcc/testsuite/gcc.target/aarch64/fcvt_float_ulong.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/fcvt_float_ulong.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/fcvt_float_ulong.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/fcvt_float_ulong.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/fcvt_float_ulong.c
@@ -0,0 +1,15 @@
+/* { dg-do compile } */
+/* { dg-options "-O2" } */
@@ -3850,18 +3712,10 @@ Index: gcc/testsuite/gcc.target/aarch64/fcvt_float_ulong.c
+/* { dg-final { scan-assembler-times "fcvtms\tx\[0-9\]+, *s\[0-9\]" 1 } } */
+/* { dg-final { scan-assembler-times "fcvtmu\tx\[0-9\]+, *s\[0-9\]" 2 } } */
+/* { dg-final { scan-assembler-times "fcvtau\tx\[0-9\]+, *s\[0-9\]" 2 } } */
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/fcvt_float_ulong.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/csneg-1.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/csneg-1.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/csneg-1.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/csneg-1.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/csneg-1.c
@@ -0,0 +1,50 @@
+/* { dg-do compile } */
+/* { dg-options "-O2" } */
@@ -3913,18 +3767,10 @@ Index: gcc/testsuite/gcc.target/aarch64/csneg-1.c
+ x4 = (x0 == x1) ? x3 : -x2;
+ return x4;
+}
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/csneg-1.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/fnmadd-fastmath.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/fnmadd-fastmath.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/fnmadd-fastmath.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/fnmadd-fastmath.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/fnmadd-fastmath.c
@@ -0,0 +1,19 @@
+/* { dg-do compile } */
+/* { dg-options "-O2 -ffast-math" } */
@@ -3945,10 +3791,10 @@ Index: gcc/testsuite/gcc.target/aarch64/fnmadd-fastmath.c
+/* { dg-final { scan-assembler-times "fnmadd\td\[0-9\]" 1 } } */
+/* { dg-final { scan-assembler-times "fnmadd\ts\[0-9\]" 1 } } */
+
-Index: gcc/testsuite/gcc.target/aarch64/ctz.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/ctz.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/ctz.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/ctz.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/ctz.c
@@ -0,0 +1,11 @@
+/* { dg-do compile } */
+/* { dg-options "-O2" } */
@@ -3961,10 +3807,10 @@ Index: gcc/testsuite/gcc.target/aarch64/ctz.c
+/* { dg-final { scan-assembler "rbit\tw" } } */
+/* { dg-final { scan-assembler "clz\tw" } } */
+
-Index: gcc/testsuite/gcc.target/aarch64/aarch64.exp
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aarch64.exp
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aarch64.exp (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aarch64.exp (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aarch64.exp
@@ -0,0 +1,45 @@
+# Specific regression driver for AArch64.
+# Copyright (C) 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
@@ -4011,10 +3857,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aarch64.exp
+
+# All done.
+dg-finish
-Index: gcc/testsuite/gcc.target/aarch64/frint_float.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/frint_float.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/frint_float.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/frint_float.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/frint_float.c
@@ -0,0 +1,14 @@
+/* { dg-do compile } */
+/* { dg-options "-O2" } */
@@ -4030,18 +3876,10 @@ Index: gcc/testsuite/gcc.target/aarch64/frint_float.c
+/* { dg-final { scan-assembler-times "frinti\ts\[0-9\]" 2 } } */
+/* { dg-final { scan-assembler-times "frintx\ts\[0-9\]" 2 } } */
+/* { dg-final { scan-assembler-times "frinta\ts\[0-9\]" 2 } } */
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/frint_float.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/vector_intrinsics.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/vector_intrinsics.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/vector_intrinsics.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/vector_intrinsics.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/vector_intrinsics.c
@@ -0,0 +1,803 @@
+/* { dg-do compile } */
+/* { dg-options "-O2" } */
@@ -4846,18 +4684,10 @@ Index: gcc/testsuite/gcc.target/aarch64/vector_intrinsics.c
+{
+ return vshll_high_n_u8 (__a, 8);
+}
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/vector_intrinsics.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/vect-faddv.x
+Index: b/src/gcc/testsuite/gcc.target/aarch64/vect-faddv.x
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/vect-faddv.x (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/vect-faddv.x (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/vect-faddv.x
@@ -0,0 +1,23 @@
+
+typedef float *__restrict__ pRF32;
@@ -4882,10 +4712,10 @@ Index: gcc/testsuite/gcc.target/aarch64/vect-faddv.x
+
+ return s;
+}
-Index: gcc/testsuite/gcc.target/aarch64/table-intrinsics.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/table-intrinsics.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/table-intrinsics.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/table-intrinsics.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/table-intrinsics.c
@@ -0,0 +1,439 @@
+/* { dg-do compile } */
+/* { dg-options "-O3" } */
@@ -5326,18 +5156,10 @@ Index: gcc/testsuite/gcc.target/aarch64/table-intrinsics.c
+
+/* { dg-final { scan-assembler-times "tbl v" 42} } */
+/* { dg-final { scan-assembler-times "tbx v" 30} } */
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/table-intrinsics.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/reload-valid-spoff.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/reload-valid-spoff.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/reload-valid-spoff.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/reload-valid-spoff.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/reload-valid-spoff.c
@@ -0,0 +1,66 @@
+/* { dg-do compile } */
+/* { dg-options "-O2 -mcmodel=large -fno-builtin" } */
@@ -5405,18 +5227,10 @@ Index: gcc/testsuite/gcc.target/aarch64/reload-valid-spoff.c
+ what = arp_file(argv[optind] ? argv[optind] : "/etc/ethers");
+ }
+}
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/reload-valid-spoff.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/asm-1.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/asm-1.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/asm-1.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/asm-1.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/asm-1.c
@@ -0,0 +1,15 @@
+
+/* { dg-do compile } */
@@ -5433,18 +5247,10 @@ Index: gcc/testsuite/gcc.target/aarch64/asm-1.c
+ struct64_t tmp;
+ asm volatile ("ldr q0, %[value]" : : [value]"m"(tmp));
+}
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/asm-1.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/vsqrt.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/vsqrt.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/vsqrt.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/vsqrt.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/vsqrt.c
@@ -0,0 +1,66 @@
+
+
@@ -5512,18 +5318,10 @@ Index: gcc/testsuite/gcc.target/aarch64/vsqrt.c
+
+ return 0;
+}
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/vsqrt.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/volatile-bitfields-2.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/volatile-bitfields-2.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/volatile-bitfields-2.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/volatile-bitfields-2.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/volatile-bitfields-2.c
@@ -0,0 +1,17 @@
+/* { dg-do compile } */
+/* { dg-options "-O2" } */
@@ -5542,18 +5340,10 @@ Index: gcc/testsuite/gcc.target/aarch64/volatile-bitfields-2.c
+}
+
+/* { dg-final { scan-assembler "ldr\[\\t \]+\[^\n\]*,\[\\t \]*\\\[\[^\n\]*\\\]" } } */
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/volatile-bitfields-2.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/pic-symrefplus.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/pic-symrefplus.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/pic-symrefplus.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/pic-symrefplus.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/pic-symrefplus.c
@@ -0,0 +1,128 @@
+/* { dg-options "-O2 -mcmodel=small -fPIC -fno-builtin" } */
+/* { dg-do compile } */
@@ -5683,18 +5473,10 @@ Index: gcc/testsuite/gcc.target/aarch64/pic-symrefplus.c
+__strptime_l (buf, format, tm , locale)
+{
+}
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/pic-symrefplus.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/adc-1.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/adc-1.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/adc-1.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/adc-1.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/adc-1.c
@@ -0,0 +1,18 @@
+/* { dg-do compile } */
+/* { dg-options "-O2" } */
@@ -5714,18 +5496,10 @@ Index: gcc/testsuite/gcc.target/aarch64/adc-1.c
+ x0 = x1 + x2 + (x3 >= x4);
+}
+
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/adc-1.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/mneg-2.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/mneg-2.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/mneg-2.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/mneg-2.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/mneg-2.c
@@ -0,0 +1,10 @@
+/* { dg-do compile } */
+/* { dg-options "-O2" } */
@@ -5737,18 +5511,10 @@ Index: gcc/testsuite/gcc.target/aarch64/mneg-2.c
+ /* { dg-final { scan-assembler "mneg\tw\[0-9\]*, w\[0-9\]*, w\[0-9\]*\n" } } */
+ r = a * (-b);
+}
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/mneg-2.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/vect-compile.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/vect-compile.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/vect-compile.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/vect-compile.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/vect-compile.c
@@ -0,0 +1,20 @@
+
+/* { dg-do compile } */
@@ -5770,18 +5536,10 @@ Index: gcc/testsuite/gcc.target/aarch64/vect-compile.c
+/* { dg-final { scan-assembler "sminv" } } */
+/* { dg-final { scan-assembler-times "addv" 2} } */
+/* { dg-final { scan-assembler-times "addp" 2} } */
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/vect-compile.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/predefine_small.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/predefine_small.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/predefine_small.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/predefine_small.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/predefine_small.c
@@ -0,0 +1,7 @@
+/* { dg-skip-if "Code model already defined" { aarch64_tiny || aarch64_large } } */
+
@@ -5790,10 +5548,10 @@ Index: gcc/testsuite/gcc.target/aarch64/predefine_small.c
+#else
+ #error
+#endif
-Index: gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-1.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-1.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-1.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-1.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-1.c
@@ -0,0 +1,7 @@
+/* { dg-error "unknown" "" {target "aarch64*-*-*" } } */
+/* { dg-options "-O2 -mcpu=dummy" } */
@@ -5802,18 +5560,10 @@ Index: gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-1.c
+{
+ return;
+}
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-1.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/vect-abs-compile.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/vect-abs-compile.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/vect-abs-compile.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/vect-abs-compile.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/vect-abs-compile.c
@@ -0,0 +1,12 @@
+
+/* { dg-do compile } */
@@ -5827,18 +5577,10 @@ Index: gcc/testsuite/gcc.target/aarch64/vect-abs-compile.c
+/* { dg-final { scan-assembler "abs\\tv\[0-9\]+\.8h" } } */
+/* { dg-final { scan-assembler "abs\\tv\[0-9\]+\.4s" } } */
+/* { dg-final { scan-assembler "abs\\tv\[0-9\]+\.2d" } } */
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/vect-abs-compile.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/vect-fp-compile.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/vect-fp-compile.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/vect-fp-compile.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/vect-fp-compile.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/vect-fp-compile.c
@@ -0,0 +1,13 @@
+
+
@@ -5853,18 +5595,10 @@ Index: gcc/testsuite/gcc.target/aarch64/vect-fp-compile.c
+/* { dg-final { scan-assembler "fdiv\\tv" } } */
+/* { dg-final { scan-assembler "fneg\\tv" } } */
+/* { dg-final { scan-assembler "fabs\\tv" } } */
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/vect-fp-compile.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-3.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-3.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-3.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-3.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-3.c
@@ -0,0 +1,7 @@
+/* { dg-error "unknown" "" {target "aarch64*-*-*" } } */
+/* { dg-options "-O2 -mcpu=example-1+dummy" } */
@@ -5873,18 +5607,10 @@ Index: gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-3.c
+{
+ return;
+}
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-3.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/vect-mull-compile.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/vect-mull-compile.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/vect-mull-compile.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/vect-mull-compile.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/vect-mull-compile.c
@@ -0,0 +1,16 @@
+
+/* { dg-do compile } */
@@ -5902,18 +5628,10 @@ Index: gcc/testsuite/gcc.target/aarch64/vect-mull-compile.c
+/* { dg-final { scan-assembler-times "smull2 v" 3 } } */
+/* { dg-final { scan-assembler-times "umull v" 3 } } */
+/* { dg-final { scan-assembler-times "umull2 v" 3 } } */
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/vect-mull-compile.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/fcvt_double_ulong.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/fcvt_double_ulong.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/fcvt_double_ulong.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/fcvt_double_ulong.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/fcvt_double_ulong.c
@@ -0,0 +1,15 @@
+/* { dg-do compile } */
+/* { dg-options "-O2" } */
@@ -5930,18 +5648,10 @@ Index: gcc/testsuite/gcc.target/aarch64/fcvt_double_ulong.c
+/* { dg-final { scan-assembler-times "fcvtms\tx\[0-9\]+, *d\[0-9\]" 1 } } */
+/* { dg-final { scan-assembler-times "fcvtmu\tx\[0-9\]+, *d\[0-9\]" 2 } } */
+/* { dg-final { scan-assembler-times "fcvtau\tx\[0-9\]+, *d\[0-9\]" 2 } } */
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/fcvt_double_ulong.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/mnegl-1.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/mnegl-1.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/mnegl-1.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/mnegl-1.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/mnegl-1.c
@@ -0,0 +1,16 @@
+/* { dg-do compile } */
+/* { dg-options "-O2" } */
@@ -5959,18 +5669,10 @@ Index: gcc/testsuite/gcc.target/aarch64/mnegl-1.c
+ /* { dg-final { scan-assembler "umnegl\tx\[0-9\]*, w\[0-9\]*, w\[0-9\]*\n" } } */
+ r = (-((long long) a)) * ((long long) b);
+}
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/mnegl-1.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/clrsb.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/clrsb.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/clrsb.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/clrsb.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/clrsb.c
@@ -0,0 +1,9 @@
+/* { dg-do compile } */
+/* { dg-options "-O2" } */
@@ -5981,10 +5683,10 @@ Index: gcc/testsuite/gcc.target/aarch64/clrsb.c
+}
+
+/* { dg-final { scan-assembler "cls\tw" } } */
-Index: gcc/testsuite/gcc.target/aarch64/index.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/index.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/index.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/index.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/index.c
@@ -0,0 +1,111 @@
+/* { dg-do compile } */
+/* { dg-options "-O2" } */
@@ -6097,18 +5799,10 @@ Index: gcc/testsuite/gcc.target/aarch64/index.c
+ unsigned char j = arr[i];
+ arr[j] = 0;
+}
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/index.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/vect-fmax-fmin-compile.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/vect-fmax-fmin-compile.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/vect-fmax-fmin-compile.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/vect-fmax-fmin-compile.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/vect-fmax-fmin-compile.c
@@ -0,0 +1,7 @@
+/* { dg-do compile } */
+/* { dg-options "-O3 -ffast-math" } */
@@ -6117,18 +5811,10 @@ Index: gcc/testsuite/gcc.target/aarch64/vect-fmax-fmin-compile.c
+
+/* { dg-final { scan-assembler "fmaxnm\\tv" } } */
+/* { dg-final { scan-assembler "fminnm\\tv" } } */
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/vect-fmax-fmin-compile.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/predefine_large.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/predefine_large.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/predefine_large.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/predefine_large.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/predefine_large.c
@@ -0,0 +1,7 @@
+/* { dg-skip-if "Code model already defined" { aarch64_tiny || aarch64_small } } */
+
@@ -6137,10 +5823,10 @@ Index: gcc/testsuite/gcc.target/aarch64/predefine_large.c
+#else
+ #error
+#endif
-Index: gcc/testsuite/gcc.target/aarch64/arch-diagnostics-2.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/arch-diagnostics-2.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/arch-diagnostics-2.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/arch-diagnostics-2.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/arch-diagnostics-2.c
@@ -0,0 +1,7 @@
+/* { dg-error "missing" "" {target "aarch64*-*-*" } } */
+/* { dg-options "-O2 -march=+dummy" } */
@@ -6149,18 +5835,10 @@ Index: gcc/testsuite/gcc.target/aarch64/arch-diagnostics-2.c
+{
+ return;
+}
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/arch-diagnostics-2.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/vect-fmaxv-fminv-compile.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/vect-fmaxv-fminv-compile.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/vect-fmaxv-fminv-compile.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/vect-fmaxv-fminv-compile.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/vect-fmaxv-fminv-compile.c
@@ -0,0 +1,10 @@
+
+/* { dg-do compile } */
@@ -6172,18 +5850,10 @@ Index: gcc/testsuite/gcc.target/aarch64/vect-fmaxv-fminv-compile.c
+/* { dg-final { scan-assembler "fmaxnmv" } } */
+/* { dg-final { scan-assembler "fminnmp" } } */
+/* { dg-final { scan-assembler "fmaxnmp" } } */
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/vect-fmaxv-fminv-compile.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/vfp-1.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/vfp-1.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/vfp-1.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/vfp-1.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/vfp-1.c
@@ -0,0 +1,109 @@
+/* { dg-do compile } */
+/* { dg-options "-O2" } */
@@ -6294,18 +5964,10 @@ Index: gcc/testsuite/gcc.target/aarch64/vfp-1.c
+ d1 = u1;
+}
+
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/vfp-1.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/arg-type-diagnostics-1.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/arg-type-diagnostics-1.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/arg-type-diagnostics-1.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/arg-type-diagnostics-1.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/arg-type-diagnostics-1.c
@@ -0,0 +1,15 @@
+/* { dg-do compile { target { aarch64*-*-* } } } */
+/* { dg-options "-O2" } */
@@ -6322,18 +5984,10 @@ Index: gcc/testsuite/gcc.target/aarch64/arg-type-diagnostics-1.c
+ arg2 = vcreate_s32 (UINT64_C (0x16497fffffffffff));
+ result = __builtin_aarch64_srsra_nv2si (arg1, arg2, a); /* { dg-error "incompatible type for argument" } */
+}
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/arg-type-diagnostics-1.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/vect.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/vect.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/vect.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/vect.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/vect.c
@@ -0,0 +1,93 @@
+
+/* { dg-do run } */
@@ -6428,18 +6082,10 @@ Index: gcc/testsuite/gcc.target/aarch64/vect.c
+ TESTVLL (reduce_add_s64, s);
+ return 0;
+}
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/vect.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/predefine_tiny.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/predefine_tiny.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/predefine_tiny.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/predefine_tiny.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/predefine_tiny.c
@@ -0,0 +1,7 @@
+/* { dg-skip-if "Code model already defined" { aarch64_small || aarch64_large } } */
+
@@ -6448,10 +6094,10 @@ Index: gcc/testsuite/gcc.target/aarch64/predefine_tiny.c
+#else
+ #error
+#endif
-Index: gcc/testsuite/gcc.target/aarch64/vect-abs.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/vect-abs.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/vect-abs.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/vect-abs.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/vect-abs.c
@@ -0,0 +1,131 @@
+
+/* { dg-do run } */
@@ -6584,18 +6230,10 @@ Index: gcc/testsuite/gcc.target/aarch64/vect-abs.c
+
+ return 0;
+}
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/vect-abs.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/vect-fp.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/vect-fp.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/vect-fp.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/vect-fp.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/vect-fp.c
@@ -0,0 +1,137 @@
+
+/* { dg-do run } */
@@ -6734,18 +6372,10 @@ Index: gcc/testsuite/gcc.target/aarch64/vect-fp.c
+
+ return 0;
+}
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/vect-fp.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/fcvt_double_int.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/fcvt_double_int.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/fcvt_double_int.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/fcvt_double_int.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/fcvt_double_int.c
@@ -0,0 +1,15 @@
+/* { dg-do compile } */
+/* { dg-options "-O2" } */
@@ -6762,18 +6392,10 @@ Index: gcc/testsuite/gcc.target/aarch64/fcvt_double_int.c
+/* { dg-final { scan-assembler-times "fcvtms\tx\[0-9\]+, *d\[0-9\]" 1 } } */
+/* { dg-final { scan-assembler-times "fcvtms\tw\[0-9\]+, *d\[0-9\]" 2 } } */
+/* { dg-final { scan-assembler-times "fcvtas\tw\[0-9\]+, *d\[0-9\]" 2 } } */
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/fcvt_double_int.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/vect-mull.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/vect-mull.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/vect-mull.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/vect-mull.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/vect-mull.c
@@ -0,0 +1,138 @@
+
+/* { dg-do run } */
@@ -6913,18 +6535,10 @@ Index: gcc/testsuite/gcc.target/aarch64/vect-mull.c
+
+ return 0;
+}
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/vect-mull.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/vect-faddv-compile.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/vect-faddv-compile.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/vect-faddv-compile.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/vect-faddv-compile.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/vect-faddv-compile.c
@@ -0,0 +1,7 @@
+
+/* { dg-do compile } */
@@ -6933,18 +6547,10 @@ Index: gcc/testsuite/gcc.target/aarch64/vect-faddv-compile.c
+#include "vect-faddv.x"
+
+/* { dg-final { scan-assembler-times "faddp\\tv" 2} } */
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/vect-faddv-compile.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/fmadd.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/fmadd.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/fmadd.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/fmadd.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/fmadd.c
@@ -0,0 +1,55 @@
+/* { dg-do compile } */
+/* { dg-options "-O2" } */
@@ -7001,18 +6607,10 @@ Index: gcc/testsuite/gcc.target/aarch64/fmadd.c
+/* { dg-final { scan-assembler-times "fnmadd\td\[0-9\]" 1 } } */
+/* { dg-final { scan-assembler-times "fnmadd\ts\[0-9\]" 1 } } */
+
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/fmadd.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/volatile-bitfields-1.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/volatile-bitfields-1.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/volatile-bitfields-1.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/volatile-bitfields-1.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/volatile-bitfields-1.c
@@ -0,0 +1,17 @@
+/* { dg-do compile } */
+/* { dg-options "-O2" } */
@@ -7031,18 +6629,10 @@ Index: gcc/testsuite/gcc.target/aarch64/volatile-bitfields-1.c
+}
+
+/* { dg-final { scan-assembler "ldrb\[\\t \]+\[^\n\]*,\[\\t \]*\\\[\[^\n\]*\\\]" } } */
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/volatile-bitfields-1.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/abitest.S
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/abitest.S
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/abitest.S (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/abitest.S (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/abitest.S
@@ -0,0 +1,59 @@
+ .global dumpregs
+ .global myfunc
@@ -7103,18 +6693,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/abitest.S
+
+.weak testfunc
+.weak testfunc_ptr
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/abitest.S
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-10.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-10.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-10.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-10.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-10.c
@@ -0,0 +1,29 @@
+/* Test AAPCS64 layout and __builtin_va_arg.
+
@@ -7145,18 +6727,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-10.c
+ LAST_ANON(double, d2, STACK+8, 3)
+
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-10.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-11.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-11.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-11.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-11.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-11.c
@@ -0,0 +1,32 @@
+/* Test AAPCS64 layout and __builtin_va_arg.
+
@@ -7190,18 +6764,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-11.c
+ LAST_ANON(double, d1, STACK+16, 9)
+
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-11.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_10.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_10.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_10.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_10.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_10.c
@@ -0,0 +1,26 @@
+/* Test AAPCS layout (VFP variant) */
+
@@ -7229,18 +6795,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_10.c
+ ANON(double, 0.5, STACK)
+ LAST_ANON(double, 1.5, STACK+8)
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/test_10.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-12.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-12.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-12.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-12.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-12.c
@@ -0,0 +1,60 @@
+/* Test AAPCS64 layout and __builtin_va_arg.
+
@@ -7302,18 +6860,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-12.c
+ LAST_ANON(double, 123.45, D0, 10)
+
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-12.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_11.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_11.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_11.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_11.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_11.c
@@ -0,0 +1,34 @@
+/* Test AAPCS layout (VFP variant) */
+
@@ -7349,18 +6899,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_11.c
+ ANON(struct z, b, STACK)
+ LAST_ANON(double, 0.5, STACK+32)
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/test_11.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/ice_1.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/ice_1.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/ice_1.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/ice_1.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/ice_1.c
@@ -0,0 +1,21 @@
+/* Test AAPCS layout
+
@@ -7383,18 +6925,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/ice_1.c
+ name (0, aaaa);
+ unnamed (0, aaaa);
+}
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/ice_1.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_12.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_12.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_12.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_12.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_12.c
@@ -0,0 +1,44 @@
+/* Test AAPCS layout (VFP variant) */
+
@@ -7440,18 +6974,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_12.c
+ ARG(struct z, b, D4)
+ LAST_ARG(double, 0.5, STACK)
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/test_12.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/ice_2.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/ice_2.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/ice_2.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/ice_2.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/ice_2.c
@@ -0,0 +1,13 @@
+/* Test AAPCS layout
+
@@ -7466,18 +6992,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/ice_2.c
+foo (A a)
+{
+}
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/ice_2.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_13.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_13.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_13.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_13.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_13.c
@@ -0,0 +1,34 @@
+/* Test AAPCS layout (VFP variant) */
+
@@ -7513,18 +7031,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_13.c
+ ARG(struct z, b, STACK)
+ LAST_ARG(double, 0.5, STACK+32)
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/test_13.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/ice_3.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/ice_3.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/ice_3.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/ice_3.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/ice_3.c
@@ -0,0 +1,16 @@
+/* Test AAPCS layout
+
@@ -7542,18 +7052,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/ice_3.c
+ 2, (vector unsigned int){20,21,22,23});
+ return 0;
+}
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/ice_3.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_14.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_14.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_14.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_14.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_14.c
@@ -0,0 +1,35 @@
+/* Test AAPCS layout (VFP variant) */
+
@@ -7590,18 +7092,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_14.c
+ ARG(int, 4, W2)
+ LAST_ARG(double, 0.5, STACK+32)
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/test_14.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/ice_4.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/ice_4.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/ice_4.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/ice_4.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/ice_4.c
@@ -0,0 +1,9 @@
+/* Test AAPCS layout
+
@@ -7612,18 +7106,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/ice_4.c
+{
+ return x;
+}
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/ice_4.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_15.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_15.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_15.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_15.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_15.c
@@ -0,0 +1,21 @@
+/* Test AAPCS layout (VFP variant) */
+
@@ -7646,18 +7132,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_15.c
+ ARG(double, 9.0, STACK)
+ LAST_ARG(double, 10.0, STACK+8)
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/test_15.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/ice_5.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/ice_5.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/ice_5.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/ice_5.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/ice_5.c
@@ -0,0 +1,20 @@
+/* { dg-do compile { target aarch64*-*-* } } */
+
@@ -7679,18 +7157,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/ice_5.c
+{
+ checkx (check (s, &a[1], a[2]));
+}
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/ice_5.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_int128.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_int128.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_int128.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_int128.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_int128.c
@@ -0,0 +1,17 @@
+/* Test AAPCS layout (VFP variant) */
+
@@ -7709,18 +7179,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_int128.c
+ ARG (TItype, x, X0)
+ LAST_ARG (TItype, y, X2)
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/test_int128.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_16.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_16.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_16.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_16.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_16.c
@@ -0,0 +1,32 @@
+/* Test AAPCS layout */
+/* C.5 If the argument is a Half- or Single- precision Floating-point type,
@@ -7754,18 +7216,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_16.c
+ LAST_ARG(float, 10.0, STACK+12)
+#endif
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/test_16.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/validate_memory.h
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/validate_memory.h
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/validate_memory.h (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/validate_memory.h (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/validate_memory.h
@@ -0,0 +1,81 @@
+/* Memory validation functions for AArch64 procedure call standard.
+ Copyright (C) 2012 Free Software Foundation, Inc.
@@ -7848,18 +7302,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/validate_memory.h
+}
+
+#endif /* VALIDATE_MEMORY_H. */
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/validate_memory.h
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_17.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_17.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_17.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_17.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_17.c
@@ -0,0 +1,37 @@
+/* Test AAPCS layout (VFP variant) */
+
@@ -7898,18 +7344,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_17.c
+ ANON(double, f1, STACK+32)
+ LAST_ANON(double, 0.5, STACK+40)
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/test_17.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_align-1.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_align-1.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_align-1.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_align-1.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_align-1.c
@@ -0,0 +1,126 @@
+/* Test AAPCS64 layout.
+
@@ -8037,18 +7475,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_align-1.c
+ ARG(union u_t, u, STACK+256) /* [C.12] 16-byte aligned small composite (union in this case) */
+ LAST_ARG_NONFLAT (int, 35.0, STACK+272, i32in64)
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/test_align-1.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_18.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_18.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_18.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_18.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_18.c
@@ -0,0 +1,34 @@
+/* Test AAPCS layout (VFP variant) */
+
@@ -8084,18 +7514,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_18.c
+ ARG(struct z, b, STACK)
+ LAST_ARG(double, 0.5, STACK+32)
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/test_18.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_align-2.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_align-2.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_align-2.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_align-2.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_align-2.c
@@ -0,0 +1,42 @@
+/* Test AAPCS64 layout.
+
@@ -8139,18 +7561,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_align-2.c
+ LAST_ARG(int, 0xFF00FF00, W7)
+
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/test_align-2.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_19.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_19.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_19.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_19.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_19.c
@@ -0,0 +1,35 @@
+/* Test AAPCS64 layout. */
+
@@ -8187,18 +7601,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_19.c
+ PTR_ANON(struct y, v, X1)
+ LAST_ANON(int, 10, W2)
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/test_19.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_align-3.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_align-3.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_align-3.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_align-3.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_align-3.c
@@ -0,0 +1,46 @@
+/* Test AAPCS64 layout.
+
@@ -8246,18 +7652,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_align-3.c
+ LAST_ARG(int, gInt[3], W6)
+
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/test_align-3.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_align-4.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_align-4.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_align-4.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_align-4.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_align-4.c
@@ -0,0 +1,42 @@
+/* Test AAPCS64 layout.
+
@@ -8301,18 +7699,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_align-4.c
+#endif
+ LAST_ARG(struct z2, c, STACK+24)
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/test_align-4.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-1.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-1.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-1.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-1.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-1.c
@@ -0,0 +1,50 @@
+/* Test AAPCS64 layout and __builtin_va_arg.
+
@@ -8364,18 +7754,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-1.c
+ ANON ( vi4_t, vi4 , Q4, 14)
+ LAST_ANON ( int , 0xeeee, STACK+32,15)
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-1.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-2.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-2.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-2.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-2.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-2.c
@@ -0,0 +1,59 @@
+/* Test AAPCS64 layout and __builtin_va_arg.
+
@@ -8436,18 +7818,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-2.c
+ ANON ( vi4_t, vi4 , STACK+112,22)
+ LAST_ANON ( int , 0xeeee, STACK+128,23)
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-2.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-3.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-3.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-3.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-3.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-3.c
@@ -0,0 +1,86 @@
+/* Test AAPCS64 layout and __builtin_va_arg.
+
@@ -8535,18 +7909,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-3.c
+ ANON (struct x5, y5, STACK+64, 13)
+ LAST_ANON(int , 2, STACK+80, 14)
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-3.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_1.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_1.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_1.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_1.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_1.c
@@ -0,0 +1,31 @@
+/* Test AAPCS64 layout */
+
@@ -8579,18 +7945,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_1.c
+#endif
+ LAST_ARG(long long, 0xDEADBEEFCAFEBABELL, X5)
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/test_1.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/abitest-2.h
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/abitest-2.h
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/abitest-2.h (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/abitest-2.h (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/abitest-2.h
@@ -0,0 +1,101 @@
+/* This header file should be included for the purpose of function return
+ value testing. */
@@ -8693,18 +8051,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/abitest-2.h
+
+ return 0;
+}
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/abitest-2.h
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/abitest.h
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/abitest.h
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/abitest.h (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/abitest.h (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/abitest.h
@@ -0,0 +1,159 @@
+/* This header file should be included for the purpose of parameter passing
+ testing and va_arg code gen testing.
@@ -8865,18 +8215,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/abitest.h
+ return 0;
+}
+
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/abitest.h
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_2.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_2.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_2.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_2.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_2.c
@@ -0,0 +1,16 @@
+/* Test AAPCS64 layout */
+
@@ -8894,18 +8236,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_2.c
+ ARG(double, 5.0, D3)
+ LAST_ARG(int, 3, W0)
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/test_2.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-4.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-4.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-4.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-4.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-4.c
@@ -0,0 +1,93 @@
+/* Test AAPCS64 layout and __builtin_va_arg.
+
@@ -9000,18 +8334,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-4.c
+ ANON (union non_hfa_union_t, non_hfa_union, STACK+144, 20)
+ LAST_ANON(int , 2 , STACK+152, 30)
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-4.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_3.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_3.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_3.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_3.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_3.c
@@ -0,0 +1,18 @@
+/* Test AAPCS layout (VFP variant) */
+
@@ -9031,18 +8357,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_3.c
+ARG (double, 5.0, D4)
+LAST_ARG_NONFLAT (int, 3, X0, i32in64)
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/test_3.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-5.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-5.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-5.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-5.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-5.c
@@ -0,0 +1,47 @@
+/* Test AAPCS64 layout and __builtin_va_arg.
+
@@ -9091,18 +8409,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-5.c
+ ANON (struct hfa_dx2_t , hfa_dx2 , STACK+40, 6)
+ LAST_ANON(double , 1.0 , STACK+56, 7)
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-5.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/macro-def.h
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/macro-def.h
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/macro-def.h (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/macro-def.h (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/macro-def.h
@@ -0,0 +1,286 @@
+/* This header file defines a set of macros to be used in the construction
+ of parameter passing and/or va_arg code gen tests during the
@@ -9390,18 +8700,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/macro-def.h
+ ANON(type_promoted, val_promoted, offset, __VA_ARGS__)
+
+#endif /* AARCH64_VARIADIC_MACRO_DEF_GEN_ARGUMENT_LIST */
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/macro-def.h
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_4.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_4.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_4.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_4.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_4.c
@@ -0,0 +1,20 @@
+/* Test AAPCS layout (VFP variant) */
+
@@ -9423,18 +8725,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_4.c
+ARG (double, 5.0, D4)
+LAST_ARG_NONFLAT (int, 3, X0, i32in64)
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/test_4.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-6.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-6.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-6.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-6.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-6.c
@@ -0,0 +1,40 @@
+/* Test AAPCS64 layout and __builtin_va_arg.
+
@@ -9476,18 +8770,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-6.c
+ ANON (struct hfa_fx1_t , hfa_fx1 , STACK , 3)
+ LAST_ANON(double , 1.0 , STACK+8, 4)
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-6.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_5.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_5.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_5.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_5.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_5.c
@@ -0,0 +1,24 @@
+/* Test AAPCS64 layout */
+
@@ -9513,18 +8799,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_5.c
+ ARG(double, 5.0, D4)
+ LAST_ARG(struct y, v, X0)
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/test_5.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-7.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-7.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-7.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-7.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-7.c
@@ -0,0 +1,31 @@
+/* Test AAPCS64 layout and __builtin_va_arg.
+
@@ -9557,18 +8835,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-7.c
+
+ LAST_ANON(int , 1 , X4, 20)
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-7.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_6.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_6.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_6.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_6.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_6.c
@@ -0,0 +1,26 @@
+/* Test AAPCS layout (VFP variant) */
+
@@ -9596,18 +8866,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_6.c
+ ARG(double, 5.0, D4)
+ LAST_ARG(int, 3, W2)
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/test_6.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-8.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-8.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-8.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-8.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-8.c
@@ -0,0 +1,25 @@
+/* Test AAPCS64 layout and __builtin_va_arg.
+
@@ -9634,18 +8896,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-8.c
+ LAST_ANON(struct z, a, D1, 2)
+
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-8.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_7.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_7.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_7.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_7.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_7.c
@@ -0,0 +1,30 @@
+/* Test AAPCS layout (VFP variant) */
+
@@ -9677,18 +8931,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_7.c
+ARG (int, 3, W7)
+LAST_ARG_NONFLAT (int, 5, STACK, i32in64)
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/test_7.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-9.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-9.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-9.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-9.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-9.c
@@ -0,0 +1,31 @@
+/* Test AAPCS64 layout and __builtin_va_arg.
+
@@ -9721,18 +8967,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-9.c
+ LAST_ANON(double, 0.5, STACK+40, 6)
+
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-9.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_8.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_8.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_8.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_8.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_8.c
@@ -0,0 +1,24 @@
+/* Test AAPCS layout (VFP variant) */
+
@@ -9758,18 +8996,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_8.c
+ ARG(int, 7, W0)
+ LAST_ARG(int, 8, W1)
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/test_8.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_complex.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_complex.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_complex.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_complex.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_complex.c
@@ -0,0 +1,18 @@
+/* Test AAPCS layout (VFP variant) */
+
@@ -9789,18 +9019,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_complex.c
+ ARG(__complex__ double, z, D2)
+ LAST_ARG (int, 5, W1)
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/test_complex.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_9.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_9.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_9.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_9.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_9.c
@@ -0,0 +1,32 @@
+/* Test AAPCS layout (VFP variant) */
+
@@ -9834,18 +9056,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_9.c
+ ARG(struct z, b, D4)
+ LAST_ARG(double, 0.5, STACK)
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/test_9.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/aapcs64.exp
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/aapcs64.exp
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/aapcs64.exp (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/aapcs64.exp (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/aapcs64.exp
@@ -0,0 +1,67 @@
+# Copyright (C) 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
+# Contributed by ARM Ltd.
@@ -9914,10 +9128,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/aapcs64.exp
+}
+
+torture-finish
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_20.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_20.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_20.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_20.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_20.c
@@ -0,0 +1,22 @@
+/* Test AAPCS64 layout */
+
@@ -9941,18 +9155,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_20.c
+ ANON(_Complex double, 1234.0 + 567.0i, STACK)
+ LAST_ANON(double, -987.0, STACK+16)
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/test_20.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_21.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_21.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_21.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_21.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_21.c
@@ -0,0 +1,21 @@
+/* Test AAPCS64 layout */
+
@@ -9975,18 +9181,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_21.c
+ ARG(_Complex double, 1234.0 + 567.0i, STACK)
+ LAST_ARG(double, -987.0, STACK+16)
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/test_21.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/func-ret-1.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/func-ret-1.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/func-ret-1.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/func-ret-1.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/func-ret-1.c
@@ -0,0 +1,44 @@
+/* Test AAPCS64 function result return.
+
@@ -10032,18 +9230,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/func-ret-1.c
+FUNC_VAL_CHECK (13, vi4_t, vi4, Q0, i32in128)
+FUNC_VAL_CHECK (14, int *, int_ptr, X0, flat)
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/func-ret-1.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_22.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_22.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_22.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_22.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_22.c
@@ -0,0 +1,19 @@
+/* Test AAPCS64 layout */
+
@@ -10064,18 +9254,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_22.c
+ ARG(struct y, v, S1)
+ LAST_ARG(float, 901.0f, S3)
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/test_22.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/func-ret-2.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/func-ret-2.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/func-ret-2.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/func-ret-2.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/func-ret-2.c
@@ -0,0 +1,71 @@
+/* Test AAPCS64 function result return.
+
@@ -10148,18 +9330,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/func-ret-2.c
+FUNC_VAL_CHECK (10, struct x2, y2, X8, flat)
+FUNC_VAL_CHECK (11, union x4, y4, X8, flat)
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/func-ret-2.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/type-def.h
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/type-def.h
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/type-def.h (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/type-def.h (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/type-def.h
@@ -0,0 +1,157 @@
+/* This header file defines some types that are used in the AAPCS64 tests. */
+
@@ -10318,18 +9492,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/type-def.h
+ double a;
+ float b;
+};
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/type-def.h
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_23.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_23.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_23.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_23.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_23.c
@@ -0,0 +1,42 @@
+/* Test AAPCS64 layout.
+
@@ -10373,18 +9539,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_23.c
+PTR (A, u.a, X0)
+LAST_ARG_NONFLAT (int, 0xdeadbeef, X1, i32in64)
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/test_23.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/func-ret-3.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/func-ret-3.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/func-ret-3.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/func-ret-3.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/func-ret-3.c
@@ -0,0 +1,93 @@
+/* Test AAPCS64 function result return.
+
@@ -10479,18 +9637,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/func-ret-3.c
+FUNC_VAL_CHECK (20, union non_hfa_union_t, non_hfa_union, X0, flat)
+
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/func-ret-3.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_quad_double.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_quad_double.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_quad_double.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_quad_double.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_quad_double.c
@@ -0,0 +1,26 @@
+/* Test AAPCS64 layout.
+
@@ -10518,18 +9668,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_quad_double.c
+ ANON (CTFtype, cy, Q3)
+ LAST_ANON ( TFtype, y, Q5)
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/test_quad_double.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_24.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_24.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_24.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_24.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_24.c
@@ -0,0 +1,22 @@
+/* Test AAPCS64 layout. */
+
@@ -10553,18 +9695,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_24.c
+ ARG(double, 9.0, STACK)
+ LAST_ARG(TFtype, 10.0, STACK+16)
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/test_24.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/func-ret-4.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/func-ret-4.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/func-ret-4.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/func-ret-4.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/func-ret-4.c
@@ -0,0 +1,27 @@
+/* Test AAPCS64 function result return.
+
@@ -10593,18 +9727,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/func-ret-4.c
+FUNC_VAL_CHECK (12, _Complex __int128, 567890 + 678901i, X8, flat)
+
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/func-ret-4.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_25.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_25.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_25.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_25.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_25.c
@@ -0,0 +1,61 @@
+/* Test AAPCS64 layout
+
@@ -10667,18 +9793,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_25.c
+ARG_NONFLAT (int, 0xdeadbeef, X0, i32in64)
+LAST_ARG (double, 456.789, STACK+24)
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/test_25.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/abitest-common.h
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/abitest-common.h
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/abitest-common.h (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/abitest-common.h (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/abitest-common.h
@@ -0,0 +1,139 @@
+#undef __AAPCS64_BIG_ENDIAN__
+#ifdef __GNUC__
@@ -10819,18 +9937,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/abitest-common.h
+#endif
+#define RUNTIME_ENDIANNESS_CHECK_FUNCTION_DEFINED
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/abitest-common.h
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_26.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_26.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_26.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_26.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/aapcs64/test_26.c
@@ -0,0 +1,54 @@
+/* Test AAPCS64 layout.
+
@@ -10886,18 +9996,10 @@ Index: gcc/testsuite/gcc.target/aarch64/aapcs64/test_26.c
+ARG (struct x1, s1, D1)
+LAST_ARG_NONFLAT (int, 89012, X5, i32in64)
+#endif
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/aapcs64/test_26.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/vect-fmax-fmin.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/vect-fmax-fmin.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/vect-fmax-fmin.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/vect-fmax-fmin.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/vect-fmax-fmin.c
@@ -0,0 +1,105 @@
+/* { dg-do run } */
+/* { dg-options "-O3 -ffast-math" } */
@@ -11004,18 +10106,10 @@ Index: gcc/testsuite/gcc.target/aarch64/vect-fmax-fmin.c
+
+ return 0;
+}
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/vect-fmax-fmin.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/volatile-bitfields-3.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/volatile-bitfields-3.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/volatile-bitfields-3.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/volatile-bitfields-3.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/volatile-bitfields-3.c
@@ -0,0 +1,17 @@
+/* { dg-do compile } */
+/* { dg-options "-O2" } */
@@ -11034,18 +10128,10 @@ Index: gcc/testsuite/gcc.target/aarch64/volatile-bitfields-3.c
+}
+
+/* { dg-final { scan-assembler "ldr\[\\t \]+\[^\n\]*,\[\\t \]*\\\[\[^\n\]*\\\]" } } */
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/volatile-bitfields-3.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/mneg-1.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/mneg-1.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/mneg-1.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/mneg-1.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/mneg-1.c
@@ -0,0 +1,10 @@
+/* { dg-do compile } */
+/* { dg-options "-O2" } */
@@ -11057,18 +10143,10 @@ Index: gcc/testsuite/gcc.target/aarch64/mneg-1.c
+ /* { dg-final { scan-assembler "mneg\tw\[0-9\]*, w\[0-9\]*, w\[0-9\]*\n" } } */
+ r = (-a) * b;
+}
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/mneg-1.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/mneg-3.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/mneg-3.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/mneg-3.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/mneg-3.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/mneg-3.c
@@ -0,0 +1,10 @@
+/* { dg-do compile } */
+/* { dg-options "-O2" } */
@@ -11080,18 +10158,10 @@ Index: gcc/testsuite/gcc.target/aarch64/mneg-3.c
+ /* { dg-final { scan-assembler "mneg\tw\[0-9\]*, w\[0-9\]*, w\[0-9\]*\n" } } */
+ r = - (a * b);
+}
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/mneg-3.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/adc-2.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/adc-2.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/adc-2.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/adc-2.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/adc-2.c
@@ -0,0 +1,277 @@
+/* { dg-do run } */
+/* { dg-options "-O2" } */
@@ -11370,18 +10440,10 @@ Index: gcc/testsuite/gcc.target/aarch64/adc-2.c
+ }
+ return 0;
+}
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/adc-2.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/fcvt_float_uint.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/fcvt_float_uint.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/fcvt_float_uint.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/fcvt_float_uint.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/fcvt_float_uint.c
@@ -0,0 +1,15 @@
+/* { dg-do compile } */
+/* { dg-options "-O2" } */
@@ -11398,18 +10460,10 @@ Index: gcc/testsuite/gcc.target/aarch64/fcvt_float_uint.c
+/* { dg-final { scan-assembler-times "fcvtms\tx\[0-9\]+, *s\[0-9\]" 1 } } */
+/* { dg-final { scan-assembler-times "fcvtmu\tw\[0-9\]+, *s\[0-9\]" 2 } } */
+/* { dg-final { scan-assembler-times "fcvtau\tw\[0-9\]+, *s\[0-9\]" 2 } } */
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/fcvt_float_uint.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/vect.x
+Index: b/src/gcc/testsuite/gcc.target/aarch64/vect.x
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/vect.x (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/vect.x (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/vect.x
@@ -0,0 +1,140 @@
+typedef int *__restrict__ pRINT;
+typedef unsigned int *__restrict__ pRUINT;
@@ -11551,10 +10605,10 @@ Index: gcc/testsuite/gcc.target/aarch64/vect.x
+
+ return s;
+}
-Index: gcc/testsuite/gcc.target/aarch64/extend.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/extend.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/extend.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/extend.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/extend.c
@@ -0,0 +1,170 @@
+/* { dg-do compile } */
+/* { dg-options "-O2" } */
@@ -11726,18 +10780,10 @@ Index: gcc/testsuite/gcc.target/aarch64/extend.c
+ /* { dg-final { scan-assembler "add\tw\[0-9\]+,.*sxth\n" } } */
+ return a + (int)i;
+}
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/extend.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/vect-abs.x
+Index: b/src/gcc/testsuite/gcc.target/aarch64/vect-abs.x
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/vect-abs.x (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/vect-abs.x (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/vect-abs.x
@@ -0,0 +1,36 @@
+
+extern int abs (int);
@@ -11775,10 +10821,10 @@ Index: gcc/testsuite/gcc.target/aarch64/vect-abs.x
+ for (i=0; i<N; i++)
+ a[i] = labs (b[i]);
+}
-Index: gcc/testsuite/gcc.target/aarch64/vect-fp.x
+Index: b/src/gcc/testsuite/gcc.target/aarch64/vect-fp.x
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/vect-fp.x (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/vect-fp.x (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/vect-fp.x
@@ -0,0 +1,44 @@
+
+typedef float F32;
@@ -11824,10 +10870,10 @@ Index: gcc/testsuite/gcc.target/aarch64/vect-fp.x
+DEFN2 (neg, -)
+DEF2 (abs, F32, fabsf)
+DEF2 (abs, F64, fabs)
-Index: gcc/testsuite/gcc.target/aarch64/narrow_high-intrinsics.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/narrow_high-intrinsics.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/narrow_high-intrinsics.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/narrow_high-intrinsics.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/narrow_high-intrinsics.c
@@ -0,0 +1,125 @@
+/* { dg-do compile } */
+/* { dg-options "-O3" } */
@@ -11954,18 +11000,10 @@ Index: gcc/testsuite/gcc.target/aarch64/narrow_high-intrinsics.c
+/* { dg-final { scan-assembler-times "sqxtn2 v" 3} } */
+/* { dg-final { scan-assembler-times "sqxtun2 v" 3} } */
+/* { dg-final { scan-assembler-times "\\txtn2 v" 6} } */
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/narrow_high-intrinsics.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-2.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-2.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-2.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-2.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-2.c
@@ -0,0 +1,7 @@
+/* { dg-error "missing" "" {target "aarch64*-*-*" } } */
+/* { dg-options "-O2 -mcpu=example-1+no" } */
@@ -11974,18 +11012,10 @@ Index: gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-2.c
+{
+ return;
+}
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-2.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/fcvt_double_uint.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/fcvt_double_uint.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/fcvt_double_uint.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/fcvt_double_uint.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/fcvt_double_uint.c
@@ -0,0 +1,15 @@
+/* { dg-do compile } */
+/* { dg-options "-O2" } */
@@ -12002,18 +11032,10 @@ Index: gcc/testsuite/gcc.target/aarch64/fcvt_double_uint.c
+/* { dg-final { scan-assembler-times "fcvtms\tx\[0-9\]+, *d\[0-9\]" 1 } } */
+/* { dg-final { scan-assembler-times "fcvtmu\tw\[0-9\]+, *d\[0-9\]" 2 } } */
+/* { dg-final { scan-assembler-times "fcvtau\tw\[0-9\]+, *d\[0-9\]" 2 } } */
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/fcvt_double_uint.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/csinc-1.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/csinc-1.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/csinc-1.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/csinc-1.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/csinc-1.c
@@ -0,0 +1,72 @@
+/* { dg-do compile } */
+/* { dg-options "-O2" } */
@@ -12087,18 +11109,10 @@ Index: gcc/testsuite/gcc.target/aarch64/csinc-1.c
+ x4 = (x0 == x1) ? x2 : (x3 + 1);
+ return x4;
+}
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/csinc-1.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-4.c
+Index: b/src/gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-4.c
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-4.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-4.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-4.c
@@ -0,0 +1,7 @@
+/* { dg-error "missing" "" {target "aarch64*-*-*" } } */
+/* { dg-options "-O2 -mcpu=+dummy" } */
@@ -12107,18 +11121,10 @@ Index: gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-4.c
+{
+ return;
+}
-
-Property changes on: gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-4.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.target/aarch64/vect-mull.x
+Index: b/src/gcc/testsuite/gcc.target/aarch64/vect-mull.x
===================================================================
---- a/src/gcc/testsuite/gcc.target/aarch64/vect-mull.x (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.target/aarch64/vect-mull.x (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.target/aarch64/vect-mull.x
@@ -0,0 +1,49 @@
+
+typedef signed char *__restrict__ pRSINT8;
@@ -12169,10 +11175,10 @@ Index: gcc/testsuite/gcc.target/aarch64/vect-mull.x
+
+#define DEF_MULL2(x) x (S) \
+ x (U)
-Index: gcc/testsuite/g++.old-deja/g++.abi/ptrmem.C
+Index: b/src/gcc/testsuite/g++.old-deja/g++.abi/ptrmem.C
===================================================================
---- a/src/gcc/testsuite/g++.old-deja/g++.abi/ptrmem.C (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/g++.old-deja/g++.abi/ptrmem.C (.../ARM/aarch64-4.7-branch)
+--- a/src/gcc/testsuite/g++.old-deja/g++.abi/ptrmem.C
++++ b/src/gcc/testsuite/g++.old-deja/g++.abi/ptrmem.C
@@ -7,7 +7,7 @@
function. However, some platforms use all bits to encode a
function pointer. Such platforms use the lowest bit of the delta,
@@ -12182,10 +11188,10 @@ Index: gcc/testsuite/g++.old-deja/g++.abi/ptrmem.C
#define ADJUST_PTRFN(func, virt) ((void (*)())(func))
#define ADJUST_DELTA(delta, virt) (((delta) << 1) + !!(virt))
#else
-Index: gcc/testsuite/lib/target-supports.exp
+Index: b/src/gcc/testsuite/lib/target-supports.exp
===================================================================
---- a/src/gcc/testsuite/lib/target-supports.exp (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/lib/target-supports.exp (.../ARM/aarch64-4.7-branch)
+--- a/src/gcc/testsuite/lib/target-supports.exp
++++ b/src/gcc/testsuite/lib/target-supports.exp
@@ -493,6 +493,13 @@
return 0
}
@@ -12397,10 +11403,10 @@ Index: gcc/testsuite/lib/target-supports.exp
+ return 0
+ }
+}
-Index: gcc/testsuite/gfortran.dg/debug/pr35154-stabs.f
+Index: b/src/gcc/testsuite/gfortran.dg/debug/pr35154-stabs.f
===================================================================
---- a/src/gcc/testsuite/gfortran.dg/debug/pr35154-stabs.f (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gfortran.dg/debug/pr35154-stabs.f (.../ARM/aarch64-4.7-branch)
+--- a/src/gcc/testsuite/gfortran.dg/debug/pr35154-stabs.f
++++ b/src/gcc/testsuite/gfortran.dg/debug/pr35154-stabs.f
@@ -1,6 +1,6 @@
C Test program for common block debugging. G. Helffrich 11 July 2004.
C { dg-do compile }
@@ -12409,10 +11415,10 @@ Index: gcc/testsuite/gfortran.dg/debug/pr35154-stabs.f
C { dg-skip-if "No stabs" {*-*-* } { "*" } { "-gstabs" } }
common i,j
common /label/l,m
-Index: gcc/testsuite/gcc.c-torture/execute/20101011-1.c
+Index: b/src/gcc/testsuite/gcc.c-torture/execute/20101011-1.c
===================================================================
---- a/src/gcc/testsuite/gcc.c-torture/execute/20101011-1.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.c-torture/execute/20101011-1.c (.../ARM/aarch64-4.7-branch)
+--- a/src/gcc/testsuite/gcc.c-torture/execute/20101011-1.c
++++ b/src/gcc/testsuite/gcc.c-torture/execute/20101011-1.c
@@ -12,6 +12,10 @@
#elif defined (__sh__)
/* On SH division by zero does not trap. */
@@ -12424,10 +11430,10 @@ Index: gcc/testsuite/gcc.c-torture/execute/20101011-1.c
#elif defined (__TMS320C6X__)
/* On TI C6X division by zero does not trap. */
# define DO_TEST 0
-Index: gcc/testsuite/gcc.dg/20040813-1.c
+Index: b/src/gcc/testsuite/gcc.dg/20040813-1.c
===================================================================
---- a/src/gcc/testsuite/gcc.dg/20040813-1.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.dg/20040813-1.c (.../ARM/aarch64-4.7-branch)
+--- a/src/gcc/testsuite/gcc.dg/20040813-1.c
++++ b/src/gcc/testsuite/gcc.dg/20040813-1.c
@@ -2,7 +2,7 @@
/* Contributed by Devang Patel <dpatel@apple.com> */
@@ -12437,10 +11443,10 @@ Index: gcc/testsuite/gcc.dg/20040813-1.c
/* { dg-options "-gstabs" } */
int
-Index: gcc/testsuite/gcc.dg/stack-usage-1.c
+Index: b/src/gcc/testsuite/gcc.dg/stack-usage-1.c
===================================================================
---- a/src/gcc/testsuite/gcc.dg/stack-usage-1.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.dg/stack-usage-1.c (.../ARM/aarch64-4.7-branch)
+--- a/src/gcc/testsuite/gcc.dg/stack-usage-1.c
++++ b/src/gcc/testsuite/gcc.dg/stack-usage-1.c
@@ -7,7 +7,9 @@
function FOO is reported as 256 or 264 in the stack usage (.su) file.
Then check that this is the actual stack usage in the assembly file. */
@@ -12452,25 +11458,17 @@ Index: gcc/testsuite/gcc.dg/stack-usage-1.c
# define SIZE 248
#elif defined(__x86_64__)
# ifndef _WIN64
-Index: gcc/testsuite/gcc.dg/torture/pr51106-2.s
+Index: b/src/gcc/testsuite/gcc.dg/torture/pr51106-2.s
===================================================================
---- a/src/gcc/testsuite/gcc.dg/torture/pr51106-2.s (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.dg/torture/pr51106-2.s (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/gcc.dg/torture/pr51106-2.s
@@ -0,0 +1,2 @@
+ .cpu generic
+ .file "pr51106-2.c"
-
-Property changes on: gcc/testsuite/gcc.dg/torture/pr51106-2.s
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/gcc.dg/20020312-2.c
+Index: b/src/gcc/testsuite/gcc.dg/20020312-2.c
===================================================================
---- a/src/gcc/testsuite/gcc.dg/20020312-2.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.dg/20020312-2.c (.../ARM/aarch64-4.7-branch)
+--- a/src/gcc/testsuite/gcc.dg/20020312-2.c
++++ b/src/gcc/testsuite/gcc.dg/20020312-2.c
@@ -92,6 +92,8 @@
# else
# define PIC_REG "gr17"
@@ -12480,10 +11478,10 @@ Index: gcc/testsuite/gcc.dg/20020312-2.c
#else
# error "Modify the test for your target."
#endif
-Index: gcc/testsuite/gcc.dg/builtin-apply2.c
+Index: b/src/gcc/testsuite/gcc.dg/builtin-apply2.c
===================================================================
---- a/src/gcc/testsuite/gcc.dg/builtin-apply2.c (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/gcc.dg/builtin-apply2.c (.../ARM/aarch64-4.7-branch)
+--- a/src/gcc/testsuite/gcc.dg/builtin-apply2.c
++++ b/src/gcc/testsuite/gcc.dg/builtin-apply2.c
@@ -1,5 +1,5 @@
/* { dg-do run } */
-/* { dg-skip-if "Variadic funcs have all args on stack. Normal funcs have args in registers." { "avr-*-*" } { "*" } { "" } } */
@@ -12491,10 +11489,10 @@ Index: gcc/testsuite/gcc.dg/builtin-apply2.c
/* { dg-skip-if "Variadic funcs use Base AAPCS. Normal funcs use VFP variant." { "arm*-*-*" } { "-mfloat-abi=hard" } { "" } } */
/* PR target/12503 */
-Index: gcc/testsuite/g++.dg/abi/aarch64_guard1.C
+Index: b/src/gcc/testsuite/g++.dg/abi/aarch64_guard1.C
===================================================================
---- a/src/gcc/testsuite/g++.dg/abi/aarch64_guard1.C (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/g++.dg/abi/aarch64_guard1.C (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/g++.dg/abi/aarch64_guard1.C
@@ -0,0 +1,17 @@
+// Check that the initialization guard variable is an 8-byte aligned,
+// 8-byte doubleword and that only the least significant bit is used
@@ -12513,18 +11511,10 @@ Index: gcc/testsuite/g++.dg/abi/aarch64_guard1.C
+// { dg-final { scan-assembler _ZGVZ3foovE1x,8,8 } }
+// { dg-final { scan-tree-dump "_ZGVZ3foovE1x & 1" "original" } }
+// { dg-final { cleanup-tree-dump "original" } }
-
-Property changes on: gcc/testsuite/g++.dg/abi/aarch64_guard1.C
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/testsuite/g++.dg/other/pr23205-2.C
+Index: b/src/gcc/testsuite/g++.dg/other/pr23205-2.C
===================================================================
---- a/src/gcc/testsuite/g++.dg/other/pr23205-2.C (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/g++.dg/other/pr23205-2.C (.../ARM/aarch64-4.7-branch)
+--- a/src/gcc/testsuite/g++.dg/other/pr23205-2.C
++++ b/src/gcc/testsuite/g++.dg/other/pr23205-2.C
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-skip-if "No stabs" { mmix-*-* *-*-aix* alpha*-*-* hppa*64*-*-* ia64-*-* tile*-*-* } { "*" } { "" } } */
@@ -12532,10 +11522,10 @@ Index: gcc/testsuite/g++.dg/other/pr23205-2.C
/* { dg-options "-gstabs+ -fno-eliminate-unused-debug-types -ftoplevel-reorder" } */
const int foobar = 4;
-Index: gcc/testsuite/g++.dg/other/PR23205.C
+Index: b/src/gcc/testsuite/g++.dg/other/PR23205.C
===================================================================
---- a/src/gcc/testsuite/g++.dg/other/PR23205.C (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/g++.dg/other/PR23205.C (.../ARM/aarch64-4.7-branch)
+--- a/src/gcc/testsuite/g++.dg/other/PR23205.C
++++ b/src/gcc/testsuite/g++.dg/other/PR23205.C
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-skip-if "No stabs" { mmix-*-* *-*-aix* alpha*-*-* hppa*64*-*-* ia64-*-* tile*-*-* *-*-vxworks } { "*" } { "" } } */
@@ -12543,10 +11533,10 @@ Index: gcc/testsuite/g++.dg/other/PR23205.C
/* { dg-options "-gstabs+ -fno-eliminate-unused-debug-types" } */
const int foobar = 4;
-Index: gcc/testsuite/ChangeLog.aarch64
+Index: b/src/gcc/testsuite/ChangeLog.aarch64
===================================================================
---- a/src/gcc/testsuite/ChangeLog.aarch64 (.../gcc-4_7-branch)
-+++ b/src/gcc/testsuite/ChangeLog.aarch64 (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/testsuite/ChangeLog.aarch64
@@ -0,0 +1,199 @@
+2011-10-16 Tejas Belagod <tejas.belagod@arm.com>
+
@@ -12747,10 +11737,10 @@ Index: gcc/testsuite/ChangeLog.aarch64
+ * gcc.dg/const-float128-ped.c: Likewise.
+ * gcc.dg/const-float128.c: Likewise.
+ * gcc.dg/stack-usage-1.c: Likewise.
-Index: gcc/common/config/aarch64/aarch64-common.c
+Index: b/src/gcc/common/config/aarch64/aarch64-common.c
===================================================================
---- a/src/gcc/common/config/aarch64/aarch64-common.c (.../gcc-4_7-branch)
-+++ b/src/gcc/common/config/aarch64/aarch64-common.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/common/config/aarch64/aarch64-common.c
@@ -0,0 +1,77 @@
+/* Common hooks for AArch64.
+ Copyright (C) 2012 Free Software Foundation, Inc.
@@ -12829,18 +11819,10 @@ Index: gcc/common/config/aarch64/aarch64-common.c
+}
+
+struct gcc_targetm_common targetm_common = TARGETM_COMMON_INITIALIZER;
-
-Property changes on: gcc/common/config/aarch64/aarch64-common.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/configure.ac
+Index: b/src/gcc/configure.ac
===================================================================
---- a/src/gcc/configure.ac (.../gcc-4_7-branch)
-+++ b/src/gcc/configure.ac (.../ARM/aarch64-4.7-branch)
+--- a/src/gcc/configure.ac
++++ b/src/gcc/configure.ac
@@ -2982,6 +2982,19 @@
tls_first_minor=19
tls_as_opt='--fatal-warnings'
@@ -12861,10 +11843,10 @@ Index: gcc/configure.ac
powerpc-*-*)
conftest_s='
.section ".tdata","awT",@progbits
-Index: gcc/read-rtl.c
+Index: b/src/gcc/read-rtl.c
===================================================================
---- a/src/gcc/read-rtl.c (.../gcc-4_7-branch)
-+++ b/src/gcc/read-rtl.c (.../ARM/aarch64-4.7-branch)
+--- a/src/gcc/read-rtl.c
++++ b/src/gcc/read-rtl.c
@@ -94,6 +94,26 @@
#define BELLWETHER_CODE(CODE) \
((CODE) < NUM_RTX_CODE ? CODE : bellwether_codes[CODE - NUM_RTX_CODE])
@@ -13107,7 +12089,7 @@ Index: gcc/read-rtl.c
/* Do one-time initialization. */
if (queue_head == 0)
-@@ -852,7 +1002,18 @@
+@@ -852,6 +1002,17 @@
check_code_iterator (read_mapping (&codes, codes.iterators));
return false;
}
@@ -13121,11 +12103,10 @@ Index: gcc/read-rtl.c
+ read_mapping (&ints, ints.iterators);
+ return false;
+ }
-
+
+
mode_maps = 0;
XEXP (queue_head, 0) = read_rtx_code (rtx_name, &mode_maps);
- XEXP (queue_head, 1) = 0;
@@ -860,6 +1021,15 @@
mtd.queue = queue_head;
mtd.mode_maps = mode_maps;
@@ -13176,10 +12157,10 @@ Index: gcc/read-rtl.c
default:
gcc_unreachable ();
}
-Index: gcc/config.gcc
+Index: b/src/gcc/config.gcc
===================================================================
---- a/src/gcc/config.gcc (.../gcc-4_7-branch)
-+++ b/src/gcc/config.gcc (.../ARM/aarch64-4.7-branch)
+--- a/src/gcc/config.gcc
++++ b/src/gcc/config.gcc
@@ -317,6 +317,13 @@
tmake_file=m32c/t-m32c
target_has_targetm_common=no
@@ -13194,7 +12175,7 @@ Index: gcc/config.gcc
alpha*-*-*)
cpu_type=alpha
need_64bit_hwint=yes
-@@ -775,6 +782,27 @@
+@@ -796,6 +803,27 @@
esac
case ${target} in
@@ -13222,7 +12203,7 @@ Index: gcc/config.gcc
alpha*-*-linux*)
tm_file="${tm_file} alpha/elf.h alpha/linux.h alpha/linux-elf.h glibc-stdint.h"
extra_options="${extra_options} alpha/elf.opt"
-@@ -3037,6 +3065,92 @@
+@@ -3065,6 +3093,92 @@
supported_defaults=
case "${target}" in
@@ -13315,7 +12296,7 @@ Index: gcc/config.gcc
alpha*-*-*)
supported_defaults="cpu tune"
for which in cpu tune; do
-@@ -3525,6 +3639,15 @@
+@@ -3553,6 +3667,15 @@
# Set some miscellaneous flags for particular targets.
target_cpu_default2=
case ${target} in
@@ -13331,10 +12312,10 @@ Index: gcc/config.gcc
alpha*-*-*)
if test x$gas = xyes
then
-Index: gcc/config/aarch64/aarch64-simd.md
+Index: b/src/gcc/config/aarch64/aarch64-simd.md
===================================================================
---- a/src/gcc/config/aarch64/aarch64-simd.md (.../gcc-4_7-branch)
-+++ b/src/gcc/config/aarch64/aarch64-simd.md (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/config/aarch64/aarch64-simd.md
@@ -0,0 +1,3264 @@
+;; Machine description for AArch64 AdvSIMD architecture.
+;; Copyright (C) 2011, 2012 Free Software Foundation, Inc.
@@ -16600,10 +15581,10 @@ Index: gcc/config/aarch64/aarch64-simd.md
+ DONE;
+})
+
-Index: gcc/config/aarch64/predicates.md
+Index: b/src/gcc/config/aarch64/predicates.md
===================================================================
---- a/src/gcc/config/aarch64/predicates.md (.../gcc-4_7-branch)
-+++ b/src/gcc/config/aarch64/predicates.md (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/config/aarch64/predicates.md
@@ -0,0 +1,297 @@
+;; Machine description for AArch64 architecture.
+;; Copyright (C) 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
@@ -16902,10 +15883,10 @@ Index: gcc/config/aarch64/predicates.md
+{
+ return aarch64_simd_imm_zero_p (op, mode);
+})
-Index: gcc/config/aarch64/aarch64-elf.h
+Index: b/src/gcc/config/aarch64/aarch64-elf.h
===================================================================
---- a/src/gcc/config/aarch64/aarch64-elf.h (.../gcc-4_7-branch)
-+++ b/src/gcc/config/aarch64/aarch64-elf.h (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/config/aarch64/aarch64-elf.h
@@ -0,0 +1,123 @@
+/* Machine description for AArch64 architecture.
+ Copyright (C) 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
@@ -17030,18 +16011,10 @@ Index: gcc/config/aarch64/aarch64-elf.h
+#undef DBX_DEBUGGING_INFO
+
+#endif /* GCC_AARCH64_ELF_H */
-
-Property changes on: gcc/config/aarch64/aarch64-elf.h
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/config/aarch64/arm_neon.h
+Index: b/src/gcc/config/aarch64/arm_neon.h
===================================================================
---- a/src/gcc/config/aarch64/arm_neon.h (.../gcc-4_7-branch)
-+++ b/src/gcc/config/aarch64/arm_neon.h (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/config/aarch64/arm_neon.h
@@ -0,0 +1,25543 @@
+/* ARM NEON intrinsics include file.
+
@@ -42586,18 +41559,10 @@ Index: gcc/config/aarch64/arm_neon.h
+/* End of optimal implementations in approved order. */
+
+#endif
-
-Property changes on: gcc/config/aarch64/arm_neon.h
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/config/aarch64/t-aarch64-linux
+Index: b/src/gcc/config/aarch64/t-aarch64-linux
===================================================================
---- a/src/gcc/config/aarch64/t-aarch64-linux (.../gcc-4_7-branch)
-+++ b/src/gcc/config/aarch64/t-aarch64-linux (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/config/aarch64/t-aarch64-linux
@@ -0,0 +1,22 @@
+# Machine description for AArch64 architecture.
+# Copyright (C) 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
@@ -42621,10 +41586,10 @@ Index: gcc/config/aarch64/t-aarch64-linux
+
+LIB1ASMSRC = aarch64/lib1funcs.asm
+LIB1ASMFUNCS = _aarch64_sync_cache_range
-Index: gcc/config/aarch64/aarch64.md
+Index: b/src/gcc/config/aarch64/aarch64.md
===================================================================
---- a/src/gcc/config/aarch64/aarch64.md (.../gcc-4_7-branch)
-+++ b/src/gcc/config/aarch64/aarch64.md (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/config/aarch64/aarch64.md
@@ -0,0 +1,2926 @@
+;; Machine description for AArch64 architecture.
+;; Copyright (C) 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
@@ -45552,10 +44517,10 @@ Index: gcc/config/aarch64/aarch64.md
+
+;; Synchronization Builtins
+(include "sync.md")
-Index: gcc/config/aarch64/aarch64-arches.def
+Index: b/src/gcc/config/aarch64/aarch64-arches.def
===================================================================
---- a/src/gcc/config/aarch64/aarch64-arches.def (.../gcc-4_7-branch)
-+++ b/src/gcc/config/aarch64/aarch64-arches.def (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/config/aarch64/aarch64-arches.def
@@ -0,0 +1,29 @@
+/* Copyright (C) 2011, 2012 Free Software Foundation, Inc.
+ Contributed by ARM Ltd.
@@ -45586,10 +44551,10 @@ Index: gcc/config/aarch64/aarch64-arches.def
+ the flags implied by the architecture. */
+
+AARCH64_ARCH("armv8-a", generic, 8, AARCH64_FL_FOR_ARCH8)
-Index: gcc/config/aarch64/aarch64-option-extensions.def
+Index: b/src/gcc/config/aarch64/aarch64-option-extensions.def
===================================================================
---- a/src/gcc/config/aarch64/aarch64-option-extensions.def (.../gcc-4_7-branch)
-+++ b/src/gcc/config/aarch64/aarch64-option-extensions.def (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/config/aarch64/aarch64-option-extensions.def
@@ -0,0 +1,37 @@
+/* Copyright (C) 2012 Free Software Foundation, Inc.
+ Contributed by ARM Ltd.
@@ -45628,10 +44593,10 @@ Index: gcc/config/aarch64/aarch64-option-extensions.def
+AARCH64_OPT_EXTENSION("fp", AARCH64_FL_FP, AARCH64_FL_FPSIMD | AARCH64_FL_CRYPTO)
+AARCH64_OPT_EXTENSION("simd", AARCH64_FL_FPSIMD, AARCH64_FL_SIMD | AARCH64_FL_CRYPTO)
+AARCH64_OPT_EXTENSION("crypto", AARCH64_FL_CRYPTO | AARCH64_FL_FPSIMD, AARCH64_FL_CRYPTO)
-Index: gcc/config/aarch64/t-aarch64
+Index: b/src/gcc/config/aarch64/t-aarch64
===================================================================
---- a/src/gcc/config/aarch64/t-aarch64 (.../gcc-4_7-branch)
-+++ b/src/gcc/config/aarch64/t-aarch64 (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/config/aarch64/t-aarch64
@@ -0,0 +1,32 @@
+# Machine description for AArch64 architecture.
+# Copyright (C) 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
@@ -45665,10 +44630,10 @@ Index: gcc/config/aarch64/t-aarch64
+ $(DIAGNOSTIC_CORE_H) $(OPTABS_H)
+ $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
+ $(srcdir)/config/aarch64/aarch64-builtins.c
-Index: gcc/config/aarch64/large.md
+Index: b/src/gcc/config/aarch64/large.md
===================================================================
---- a/src/gcc/config/aarch64/large.md (.../gcc-4_7-branch)
-+++ b/src/gcc/config/aarch64/large.md (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/config/aarch64/large.md
@@ -0,0 +1,312 @@
+;; Copyright (C) 2012 Free Software Foundation, Inc.
+;;
@@ -45982,10 +44947,10 @@ Index: gcc/config/aarch64/large.md
+ "large_cpu_fpalu, large_cpu_fpmuld,\
+ large_cpu_fdivs, large_cpu_fdivd,\
+ large_cpu_f2i")
-Index: gcc/config/aarch64/aarch64.opt
+Index: b/src/gcc/config/aarch64/aarch64.opt
===================================================================
---- a/src/gcc/config/aarch64/aarch64.opt (.../gcc-4_7-branch)
-+++ b/src/gcc/config/aarch64/aarch64.opt (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/config/aarch64/aarch64.opt
@@ -0,0 +1,100 @@
+; Machine description for AArch64 architecture.
+; Copyright (C) 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
@@ -46087,10 +45052,10 @@ Index: gcc/config/aarch64/aarch64.opt
+mtune=
+Target RejectNegative Joined Var(aarch64_tune_string)
+-mtune=CPU Optimize for CPU
-Index: gcc/config/aarch64/aarch64-modes.def
+Index: b/src/gcc/config/aarch64/aarch64-modes.def
===================================================================
---- a/src/gcc/config/aarch64/aarch64-modes.def (.../gcc-4_7-branch)
-+++ b/src/gcc/config/aarch64/aarch64-modes.def (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/config/aarch64/aarch64-modes.def
@@ -0,0 +1,54 @@
+/* Machine description for AArch64 architecture.
+ Copyright (C) 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
@@ -46146,10 +45111,10 @@ Index: gcc/config/aarch64/aarch64-modes.def
+
+/* Quad float: 128-bit floating mode for long doubles. */
+FLOAT_MODE (TF, 16, ieee_quad_format);
-Index: gcc/config/aarch64/aarch64-cores.def
+Index: b/src/gcc/config/aarch64/aarch64-cores.def
===================================================================
---- a/src/gcc/config/aarch64/aarch64-cores.def (.../gcc-4_7-branch)
-+++ b/src/gcc/config/aarch64/aarch64-cores.def (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/config/aarch64/aarch64-cores.def
@@ -0,0 +1,38 @@
+/* Copyright (C) 2011, 2012 Free Software Foundation, Inc.
+ Contributed by ARM Ltd.
@@ -46189,10 +45154,10 @@ Index: gcc/config/aarch64/aarch64-cores.def
+
+AARCH64_CORE("example-1", large, 8, AARCH64_FL_FPSIMD, generic)
+AARCH64_CORE("example-2", small, 8, AARCH64_FL_FPSIMD, generic)
-Index: gcc/config/aarch64/aarch64-builtins.c
+Index: b/src/gcc/config/aarch64/aarch64-builtins.c
===================================================================
---- a/src/gcc/config/aarch64/aarch64-builtins.c (.../gcc-4_7-branch)
-+++ b/src/gcc/config/aarch64/aarch64-builtins.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/config/aarch64/aarch64-builtins.c
@@ -0,0 +1,1320 @@
+/* Builtins' description for AArch64 SIMD architecture.
+ Copyright (C) 2011, 2012 Free Software Foundation, Inc.
@@ -47514,28 +46479,20 @@ Index: gcc/config/aarch64/aarch64-builtins.c
+ gcc_unreachable ();
+ }
+}
-
-Property changes on: gcc/config/aarch64/aarch64-builtins.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/config/aarch64/aarch64-tune.md
+Index: b/src/gcc/config/aarch64/aarch64-tune.md
===================================================================
---- a/src/gcc/config/aarch64/aarch64-tune.md (.../gcc-4_7-branch)
-+++ b/src/gcc/config/aarch64/aarch64-tune.md (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/config/aarch64/aarch64-tune.md
@@ -0,0 +1,5 @@
+;; -*- buffer-read-only: t -*-
+;; Generated automatically by gentune.sh from aarch64-cores.def
+(define_attr "tune"
+ "large,small"
+ (const (symbol_ref "((enum attr_tune) aarch64_tune)")))
-Index: gcc/config/aarch64/aarch64-opts.h
+Index: b/src/gcc/config/aarch64/aarch64-opts.h
===================================================================
---- a/src/gcc/config/aarch64/aarch64-opts.h (.../gcc-4_7-branch)
-+++ b/src/gcc/config/aarch64/aarch64-opts.h (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/config/aarch64/aarch64-opts.h
@@ -0,0 +1,64 @@
+/* Copyright (C) 2011, 2012 Free Software Foundation, Inc.
+ Contributed by ARM Ltd.
@@ -47601,18 +46558,10 @@ Index: gcc/config/aarch64/aarch64-opts.h
+};
+
+#endif
-
-Property changes on: gcc/config/aarch64/aarch64-opts.h
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/config/aarch64/aarch64-generic.md
+Index: b/src/gcc/config/aarch64/aarch64-generic.md
===================================================================
---- a/src/gcc/config/aarch64/aarch64-generic.md (.../gcc-4_7-branch)
-+++ b/src/gcc/config/aarch64/aarch64-generic.md (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/config/aarch64/aarch64-generic.md
@@ -0,0 +1,38 @@
+;; Machine description for AArch64 architecture.
+;; Copyright (C) 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
@@ -47652,10 +46601,10 @@ Index: gcc/config/aarch64/aarch64-generic.md
+(define_insn_reservation "nonload" 1
+ (eq_attr "is_load" "no")
+ "core")
-Index: gcc/config/aarch64/aarch64-protos.h
+Index: b/src/gcc/config/aarch64/aarch64-protos.h
===================================================================
---- a/src/gcc/config/aarch64/aarch64-protos.h (.../gcc-4_7-branch)
-+++ b/src/gcc/config/aarch64/aarch64-protos.h (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/config/aarch64/aarch64-protos.h
@@ -0,0 +1,260 @@
+/* Machine description for AArch64 architecture.
+ Copyright (C) 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
@@ -47917,18 +46866,10 @@ Index: gcc/config/aarch64/aarch64-protos.h
+#endif /* RTX_CODE */
+
+#endif /* GCC_AARCH64_PROTOS_H */
-
-Property changes on: gcc/config/aarch64/aarch64-protos.h
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/config/aarch64/constraints.md
+Index: b/src/gcc/config/aarch64/constraints.md
===================================================================
---- a/src/gcc/config/aarch64/constraints.md (.../gcc-4_7-branch)
-+++ b/src/gcc/config/aarch64/constraints.md (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/config/aarch64/constraints.md
@@ -0,0 +1,167 @@
+;; Machine description for AArch64 architecture.
+;; Copyright (C) 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
@@ -48097,10 +47038,10 @@ Index: gcc/config/aarch64/constraints.md
+ A constraint that matches an immediate operand valid for AdvSIMD scalar."
+ (and (match_code "const_int")
+ (match_test "aarch64_simd_imm_scalar_p (op, GET_MODE (op))")))
-Index: gcc/config/aarch64/small.md
+Index: b/src/gcc/config/aarch64/small.md
===================================================================
---- a/src/gcc/config/aarch64/small.md (.../gcc-4_7-branch)
-+++ b/src/gcc/config/aarch64/small.md (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/config/aarch64/small.md
@@ -0,0 +1,287 @@
+;; Copyright (C) 2012 Free Software Foundation, Inc.
+;;
@@ -48389,10 +47330,10 @@ Index: gcc/config/aarch64/small.md
+ "small_cpu_fpalu, small_cpu_fpmuld,\
+ small_cpu_fdivs, small_cpu_fdivd,\
+ small_cpu_f2i")
-Index: gcc/config/aarch64/aarch64.c
+Index: b/src/gcc/config/aarch64/aarch64.c
===================================================================
---- a/src/gcc/config/aarch64/aarch64.c (.../gcc-4_7-branch)
-+++ b/src/gcc/config/aarch64/aarch64.c (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/config/aarch64/aarch64.c
@@ -0,0 +1,6995 @@
+/* Machine description for AArch64 architecture.
+ Copyright (C) 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
@@ -55389,18 +54330,10 @@ Index: gcc/config/aarch64/aarch64.c
+struct gcc_target targetm = TARGET_INITIALIZER;
+
+#include "gt-aarch64.h"
-
-Property changes on: gcc/config/aarch64/aarch64.c
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/config/aarch64/aarch64-elf-raw.h
+Index: b/src/gcc/config/aarch64/aarch64-elf-raw.h
===================================================================
---- a/src/gcc/config/aarch64/aarch64-elf-raw.h (.../gcc-4_7-branch)
-+++ b/src/gcc/config/aarch64/aarch64-elf-raw.h (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/config/aarch64/aarch64-elf-raw.h
@@ -0,0 +1,32 @@
+/* Machine description for AArch64 architecture.
+ Copyright (C) 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
@@ -55434,18 +54367,10 @@ Index: gcc/config/aarch64/aarch64-elf-raw.h
+#endif
+
+#endif /* GCC_AARCH64_ELF_RAW_H */
-
-Property changes on: gcc/config/aarch64/aarch64-elf-raw.h
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/config/aarch64/aarch64-linux.h
+Index: b/src/gcc/config/aarch64/aarch64-linux.h
===================================================================
---- a/src/gcc/config/aarch64/aarch64-linux.h (.../gcc-4_7-branch)
-+++ b/src/gcc/config/aarch64/aarch64-linux.h (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/config/aarch64/aarch64-linux.h
@@ -0,0 +1,44 @@
+/* Machine description for AArch64 architecture.
+ Copyright (C) 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
@@ -55491,18 +54416,10 @@ Index: gcc/config/aarch64/aarch64-linux.h
+ while (0)
+
+#endif /* GCC_AARCH64_LINUX_H */
-
-Property changes on: gcc/config/aarch64/aarch64-linux.h
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/config/aarch64/iterators.md
+Index: b/src/gcc/config/aarch64/iterators.md
===================================================================
---- a/src/gcc/config/aarch64/iterators.md (.../gcc-4_7-branch)
-+++ b/src/gcc/config/aarch64/iterators.md (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/config/aarch64/iterators.md
@@ -0,0 +1,716 @@
+;; Machine description for AArch64 architecture.
+;; Copyright (C) 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
@@ -56220,10 +55137,10 @@ Index: gcc/config/aarch64/iterators.md
+(define_int_attr offsetlr [(UNSPEC_SSLI "1") (UNSPEC_USLI "1")
+ (UNSPEC_SSRI "0") (UNSPEC_USRI "0")])
+
-Index: gcc/config/aarch64/sync.md
+Index: b/src/gcc/config/aarch64/sync.md
===================================================================
---- a/src/gcc/config/aarch64/sync.md (.../gcc-4_7-branch)
-+++ b/src/gcc/config/aarch64/sync.md (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/config/aarch64/sync.md
@@ -0,0 +1,467 @@
+;; Machine description for AArch64 processor synchronization primitives.
+;; Copyright (C) 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
@@ -56692,10 +55609,10 @@ Index: gcc/config/aarch64/sync.md
+ return aarch64_output_sync_lock_release (operands[1], operands[0]);
+ })
+
-Index: gcc/config/aarch64/aarch64.h
+Index: b/src/gcc/config/aarch64/aarch64.h
===================================================================
---- a/src/gcc/config/aarch64/aarch64.h (.../gcc-4_7-branch)
-+++ b/src/gcc/config/aarch64/aarch64.h (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/config/aarch64/aarch64.h
@@ -0,0 +1,842 @@
+/* Machine description for AArch64 architecture.
+ Copyright (C) 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
@@ -57539,18 +56456,10 @@ Index: gcc/config/aarch64/aarch64.h
+ || (MODE) == V4SFmode || (MODE) == V2DImode || mode == V2DFmode)
+
+#endif /* GCC_AARCH64_H */
-
-Property changes on: gcc/config/aarch64/aarch64.h
-___________________________________________________________________
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: gcc/config/aarch64/gentune.sh
+Index: b/src/gcc/config/aarch64/gentune.sh
===================================================================
---- a/src/gcc/config/aarch64/gentune.sh (.../gcc-4_7-branch)
-+++ b/src/gcc/config/aarch64/gentune.sh (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/gcc/config/aarch64/gentune.sh
@@ -0,0 +1,32 @@
+#!/bin/sh
+#
@@ -57584,20 +56493,10 @@ Index: gcc/config/aarch64/gentune.sh
+echo "(define_attr \"tune\""
+echo " \"$allcores\"" | sed -e 's/,"$/"/'
+echo " (const (symbol_ref \"((enum attr_tune) aarch64_tune)\")))"
-
-Property changes on: gcc/config/aarch64/gentune.sh
-___________________________________________________________________
-Added: svn:executable
- + *
-Added: svn:keywords
- + Rev Date Author URL Id
-Added: svn:eol-style
- + native
-
-Index: config.sub
+Index: b/src/config.sub
===================================================================
---- a/src/config.sub (.../gcc-4_7-branch)
-+++ b/src/config.sub (.../ARM/aarch64-4.7-branch)
+--- a/src/config.sub
++++ b/src/config.sub
@@ -2,9 +2,9 @@
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
@@ -57772,10 +56671,10 @@ Index: config.sub
;;
m68*-cisco)
os=-aout
-Index: libcpp/configure
+Index: b/src/libcpp/configure
===================================================================
---- a/src/libcpp/configure (.../gcc-4_7-branch)
-+++ b/src/libcpp/configure (.../ARM/aarch64-4.7-branch)
+--- a/src/libcpp/configure
++++ b/src/libcpp/configure
@@ -7368,6 +7368,7 @@
@@ -57784,10 +56683,10 @@ Index: libcpp/configure
alpha*-*-* | \
arm*-*-*eabi* | \
arm*-*-symbianelf* | \
-Index: libcpp/configure.ac
+Index: b/src/libcpp/configure.ac
===================================================================
---- a/src/libcpp/configure.ac (.../gcc-4_7-branch)
-+++ b/src/libcpp/configure.ac (.../ARM/aarch64-4.7-branch)
+--- a/src/libcpp/configure.ac
++++ b/src/libcpp/configure.ac
@@ -148,6 +148,7 @@
m4_changequote(,)
@@ -57796,10 +56695,10 @@ Index: libcpp/configure.ac
alpha*-*-* | \
arm*-*-*eabi* | \
arm*-*-symbianelf* | \
-Index: libcpp/ChangeLog.aarch64
+Index: b/src/libcpp/ChangeLog.aarch64
===================================================================
---- a/src/libcpp/ChangeLog.aarch64 (.../gcc-4_7-branch)
-+++ b/src/libcpp/ChangeLog.aarch64 (.../ARM/aarch64-4.7-branch)
+--- /dev/null
++++ b/src/libcpp/ChangeLog.aarch64
@@ -0,0 +1,13 @@
+2012-05-25 Ian Bolton <ian.bolton@arm.com>
+ Jim MacArthur <jim.macarthur@arm.com>
@@ -57814,9 +56713,3 @@ Index: libcpp/ChangeLog.aarch64
+
+ * configure.ac: Enable AArch64.
+ * configure: Regenerate.
-
-Property changes on: .
-___________________________________________________________________
-Modified: svn:mergeinfo
- Merged /branches/gcc-4_7-branch:r191148-191656,191658-192902
-
diff --git a/debian/patches/aarch64-libffi-testsuite.diff b/debian/patches/aarch64-libffi-testsuite.diff
index 2348c2d..cfc50ad 100644
--- a/debian/patches/aarch64-libffi-testsuite.diff
+++ b/debian/patches/aarch64-libffi-testsuite.diff
@@ -1,6 +1,8 @@
+Index: b/src/libffi/testsuite/lib/libffi.exp
+===================================================================
--- a/src/libffi/testsuite/lib/libffi.exp
+++ b/src/libffi/testsuite/lib/libffi.exp
-@@ -203,6 +203,10 @@ proc libffi_target_compile { source dest type options } {
+@@ -209,6 +209,10 @@
lappend options "libs= -lffi"
@@ -11,7 +13,9 @@
verbose "options: $options"
return [target_compile $source $dest $type $options]
}
---- a/src/libffi//dev/null
+Index: b/src/libffi/testsuite/libffi.call/cls_struct_va1.c
+===================================================================
+--- /dev/null
+++ b/src/libffi/testsuite/libffi.call/cls_struct_va1.c
@@ -0,0 +1,114 @@
+/* Area: ffi_call, closure_call
@@ -128,7 +132,9 @@
+
+ exit(0);
+}
---- a/src/libffi//dev/null
+Index: b/src/libffi/testsuite/libffi.call/cls_uchar_va.c
+===================================================================
+--- /dev/null
+++ b/src/libffi/testsuite/libffi.call/cls_uchar_va.c
@@ -0,0 +1,44 @@
+/* Area: closure_call
@@ -175,7 +181,9 @@
+ /* { dg-output "\nres: 67" } */
+ exit(0);
+}
---- a/src/libffi//dev/null
+Index: b/src/libffi/testsuite/libffi.call/cls_uint_va.c
+===================================================================
+--- /dev/null
+++ b/src/libffi/testsuite/libffi.call/cls_uint_va.c
@@ -0,0 +1,45 @@
+/* Area: closure_call
@@ -223,7 +231,9 @@
+ /* { dg-output "\nres: 67" } */
+ exit(0);
+}
---- a/src/libffi//dev/null
+Index: b/src/libffi/testsuite/libffi.call/cls_ulong_va.c
+===================================================================
+--- /dev/null
+++ b/src/libffi/testsuite/libffi.call/cls_ulong_va.c
@@ -0,0 +1,45 @@
+/* Area: closure_call
@@ -271,7 +281,9 @@
+ /* { dg-output "\nres: 67" } */
+ exit(0);
+}
---- a/src/libffi//dev/null
+Index: b/src/libffi/testsuite/libffi.call/cls_ushort_va.c
+===================================================================
+--- /dev/null
+++ b/src/libffi/testsuite/libffi.call/cls_ushort_va.c
@@ -0,0 +1,44 @@
+/* Area: closure_call
@@ -318,7 +330,9 @@
+ /* { dg-output "\nres: 67" } */
+ exit(0);
+}
---- a/src/libffi//dev/null
+Index: b/src/libffi/testsuite/libffi.call/nested_struct11.c
+===================================================================
+--- /dev/null
+++ b/src/libffi/testsuite/libffi.call/nested_struct11.c
@@ -0,0 +1,121 @@
+/* Area: ffi_call, closure_call
@@ -442,7 +456,9 @@
+ CHECK (result.b.b_y == source.b.b_y);
+ exit (0);
+}
---- a/src/libffi//dev/null
+Index: b/src/libffi/testsuite/libffi.call/uninitialized.c
+===================================================================
+--- /dev/null
+++ b/src/libffi/testsuite/libffi.call/uninitialized.c
@@ -0,0 +1,61 @@
+/* { dg-do run } */
@@ -506,7 +522,9 @@
+ free (ts1_result);
+ exit(0);
+}
---- a/src/libffi//dev/null
+Index: b/src/libffi/testsuite/libffi.call/va_1.c
+===================================================================
+--- /dev/null
+++ b/src/libffi/testsuite/libffi.call/va_1.c
@@ -0,0 +1,196 @@
+/* Area: ffi_call
@@ -705,7 +723,9 @@
+
+ return 0;
+}
---- a/src/libffi//dev/null
+Index: b/src/libffi/testsuite/libffi.call/va_struct1.c
+===================================================================
+--- /dev/null
+++ b/src/libffi/testsuite/libffi.call/va_struct1.c
@@ -0,0 +1,121 @@
+/* Area: ffi_call
@@ -829,7 +849,9 @@
+
+ return 0;
+}
---- a/src/libffi//dev/null
+Index: b/src/libffi/testsuite/libffi.call/va_struct2.c
+===================================================================
+--- /dev/null
+++ b/src/libffi/testsuite/libffi.call/va_struct2.c
@@ -0,0 +1,123 @@
+/* Area: ffi_call
@@ -955,7 +977,9 @@
+
+ return 0;
+}
---- a/src/libffi//dev/null
+Index: b/src/libffi/testsuite/libffi.call/va_struct3.c
+===================================================================
+--- /dev/null
+++ b/src/libffi/testsuite/libffi.call/va_struct3.c
@@ -0,0 +1,125 @@
+/* Area: ffi_call
diff --git a/debian/patches/aarch64-libffi.diff b/debian/patches/aarch64-libffi.diff
index 10f4109..de81e6c 100644
--- a/debian/patches/aarch64-libffi.diff
+++ b/debian/patches/aarch64-libffi.diff
@@ -1,14 +1,16 @@
+Index: b/src/libffi/README
+===================================================================
--- a/src/libffi/README
+++ b/src/libffi/README
-@@ -51,6 +51,7 @@ tested:
+@@ -54,6 +54,7 @@
|--------------+------------------|
| Architecture | Operating System |
|--------------+------------------|
+| AArch64 | Linux |
| Alpha | Linux |
- | Alpha | Tru64 |
| ARM | Linux |
-@@ -319,6 +320,7 @@ Thorup.
+ | AVR32 | Linux |
+@@ -284,6 +285,7 @@
Major processor architecture ports were contributed by the following
developers:
@@ -16,6 +18,8 @@
alpha Richard Henderson
arm Raffaele Sena
cris Simon Posnjak, Hans-Peter Nilsson
+Index: b/src/libffi/src/aarch64/ffi.c
+===================================================================
--- /dev/null
+++ b/src/libffi/src/aarch64/ffi.c
@@ -0,0 +1,1076 @@
@@ -1095,6 +1099,8 @@
+ }
+}
+
+Index: b/src/libffi/src/aarch64/ffitarget.h
+===================================================================
--- /dev/null
+++ b/src/libffi/src/aarch64/ffitarget.h
@@ -0,0 +1,59 @@
@@ -1157,6 +1163,8 @@
+#define AARCH64_CALL_CONTEXT_SIZE (AARCH64_N_XREG * 8 + AARCH64_N_VREG * 16)
+
+#endif
+Index: b/src/libffi/src/aarch64/sysv.S
+===================================================================
--- /dev/null
+++ b/src/libffi/src/aarch64/sysv.S
@@ -0,0 +1,307 @@
@@ -1467,11 +1475,11 @@
+ ret
+ .cfi_endproc
+ .size ffi_closure_SYSV, .-ffi_closure_SYSV
-diff --git a/Makefile.am b/Makefile.am
-index 16f32a6..bd4d5c4 100644
+Index: b/src/libffi/Makefile.am
+===================================================================
--- a/src/libffi/Makefile.am
+++ b/src/libffi/Makefile.am
-@@ -5,6 +5,7 @@ AUTOMAKE_OPTIONS = foreign subdir-objects
+@@ -6,6 +6,7 @@
SUBDIRS = include testsuite man
EXTRA_DIST = LICENSE ChangeLog.v1 ChangeLog.libgcj configure.host \
@@ -1479,7 +1487,7 @@ index 16f32a6..bd4d5c4 100644
src/alpha/ffi.c src/alpha/osf.S src/alpha/ffitarget.h \
src/arm/ffi.c src/arm/sysv.S src/arm/ffitarget.h \
src/avr32/ffi.c src/avr32/sysv.S src/avr32/ffitarget.h \
-@@ -151,6 +152,9 @@ endif
+@@ -134,6 +135,9 @@
if POWERPC_FREEBSD
nodist_libffi_la_SOURCES += src/powerpc/ffi.c src/powerpc/sysv.S src/powerpc/ppc_closure.S
endif
@@ -1488,12 +1496,12 @@ index 16f32a6..bd4d5c4 100644
+endif
if ARM
nodist_libffi_la_SOURCES += src/arm/sysv.S src/arm/ffi.c
- if FFI_EXEC_TRAMPOLINE_TABLE
-diff --git a/configure.ac b/configure.ac
-index 9b946a2..8c3f40c 100644
+ endif
+Index: b/src/libffi/configure.ac
+===================================================================
--- a/src/libffi/configure.ac
+++ b/src/libffi/configure.ac
-@@ -53,6 +53,10 @@ AM_CONDITIONAL(TESTSUBDIR, test -d $srcdir/testsuite)
+@@ -41,6 +41,10 @@
TARGETDIR="unknown"
case "$host" in
@@ -1504,7 +1512,7 @@ index 9b946a2..8c3f40c 100644
alpha*-*-*)
TARGET=ALPHA; TARGETDIR=alpha;
# Support 128-bit long double, changeable via command-line switch.
-@@ -233,6 +237,7 @@ AM_CONDITIONAL(POWERPC, test x$TARGET = xPOWERPC)
+@@ -204,6 +208,7 @@
AM_CONDITIONAL(POWERPC_AIX, test x$TARGET = xPOWERPC_AIX)
AM_CONDITIONAL(POWERPC_DARWIN, test x$TARGET = xPOWERPC_DARWIN)
AM_CONDITIONAL(POWERPC_FREEBSD, test x$TARGET = xPOWERPC_FREEBSD)
@@ -1512,6 +1520,8 @@ index 9b946a2..8c3f40c 100644
AM_CONDITIONAL(ARM, test x$TARGET = xARM)
AM_CONDITIONAL(AVR32, test x$TARGET = xAVR32)
AM_CONDITIONAL(LIBFFI_CRIS, test x$TARGET = xLIBFFI_CRIS)
+Index: b/src/libffi/Makefile.in
+===================================================================
--- a/src/libffi/Makefile.in
+++ b/src/libffi/Makefile.in
@@ -50,16 +50,17 @@
diff --git a/debian/patches/ada-mips.diff b/debian/patches/ada-mips.diff
index 2661739..cfed58d 100644
--- a/debian/patches/ada-mips.diff
+++ b/debian/patches/ada-mips.diff
@@ -1,8 +1,10 @@
# DP: Improve support for mips.
+Index: b/src/gcc/ada/gcc-interface/Makefile.in
+===================================================================
--- a/src/gcc/ada/gcc-interface/Makefile.in
+++ b/src/gcc/ada/gcc-interface/Makefile.in
-@@ -1666,7 +1666,7 @@
+@@ -1708,10 +1708,15 @@
s-taprop.adb<s-taprop-linux.adb \
s-tasinf.ads<s-tasinf-linux.ads \
s-tasinf.adb<s-tasinf-linux.adb \
@@ -11,10 +13,6 @@
s-tpopsp.adb<s-tpopsp-posix-foreign.adb \
system.ads<system-linux-mips.ads
-@@ -1690,6 +1690,11 @@
- s-tpopsp.adb<s-tpopsp-posix-foreign.adb \
- system.ads<system-linux-mips.ads
-
+ TOOLS_TARGET_PAIRS = \
+ mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb \
+ indepsw.adb<indepsw-gnu.adb
@@ -23,6 +21,8 @@
EH_MECHANISM=-gcc
THREADSLIB = -lpthread
GNATLIB_SHARED = gnatlib-shared-dual
+Index: b/src/config/bootstrap-debug.mk
+===================================================================
--- a/src/config/bootstrap-debug.mk
+++ b/src/config/bootstrap-debug.mk
@@ -9,4 +9,5 @@
diff --git a/debian/patches/alpha-no-ev4-directive.diff b/debian/patches/alpha-no-ev4-directive.diff
index e34b9ea..a464f9e 100644
--- a/debian/patches/alpha-no-ev4-directive.diff
+++ b/debian/patches/alpha-no-ev4-directive.diff
@@ -4,9 +4,11 @@
gcc/config/alpha/alpha.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
+Index: b/src/gcc/config/alpha/alpha.c
+===================================================================
--- a/src/gcc/config/alpha/alpha.c
+++ b/src/gcc/config/alpha/alpha.c
-@@ -9740,7 +9740,7 @@
+@@ -9444,7 +9444,7 @@
fputs ("\t.set nomacro\n", asm_out_file);
if (TARGET_SUPPORT_ARCH | TARGET_BWX | TARGET_MAX | TARGET_FIX | TARGET_CIX)
{
@@ -15,7 +17,7 @@
if (alpha_cpu == PROCESSOR_EV6 || TARGET_FIX || TARGET_CIX)
arch = "ev6";
-@@ -9750,10 +9750,9 @@
+@@ -9454,10 +9454,9 @@
arch = "ev56";
else if (alpha_cpu == PROCESSOR_EV5)
arch = "ev5";
@@ -27,4 +29,4 @@
+ fprintf (asm_out_file, "\t.arch %s\n", arch);
}
}
- #endif
+
diff --git a/debian/patches/arm-multilib-defaults.diff b/debian/patches/arm-multilib-defaults.diff
index 2ccd20a..e71c7c3 100644
--- a/debian/patches/arm-multilib-defaults.diff
+++ b/debian/patches/arm-multilib-defaults.diff
@@ -2,9 +2,9 @@
Index: b/src/gcc/config.gcc
===================================================================
---- a/src/gcc/config.gcc 2012-05-02 10:24:10.585842104 +0000
-+++ b/src/gcc/config.gcc 2012-05-02 10:26:12.509846641 +0000
-@@ -3047,10 +3047,18 @@
+--- a/src/gcc/config.gcc
++++ b/src/gcc/config.gcc
+@@ -3238,10 +3238,18 @@
esac
case "$with_float" in
@@ -25,7 +25,7 @@ Index: b/src/gcc/config.gcc
*)
echo "Unknown floating point type used in --with-float=$with_float" 1>&2
exit 1
-@@ -3094,6 +3102,9 @@
+@@ -3285,6 +3293,9 @@
"" \
| arm | thumb )
#OK
@@ -37,8 +37,8 @@ Index: b/src/gcc/config.gcc
echo "Unknown mode used in --with-mode=$with_mode"
Index: b/src/gcc/config/arm/linux-eabi.h
===================================================================
---- a/src/gcc/config/arm/linux-eabi.h 2012-05-02 10:24:10.585842104 +0000
-+++ b/src/gcc/config/arm/linux-eabi.h 2012-05-02 10:26:55.141848227 +0000
+--- a/src/gcc/config/arm/linux-eabi.h
++++ b/src/gcc/config/arm/linux-eabi.h
@@ -34,7 +34,21 @@
/* We default to a soft-float ABI so that binaries can run on all
target hardware. */
diff --git a/debian/patches/arm-multilib-soft.diff b/debian/patches/arm-multilib-soft.diff
index f89124b..0db6001 100644
--- a/debian/patches/arm-multilib-soft.diff
+++ b/debian/patches/arm-multilib-soft.diff
@@ -2,9 +2,9 @@
Index: b/src/gcc/config/arm/t-linux-eabi
===================================================================
---- a/src/gcc/config/arm/t-linux-eabi 2011-01-03 20:52:22.000000000 +0000
-+++ b/src/gcc/config/arm/t-linux-eabi 2011-08-21 21:08:47.583351817 +0000
-@@ -24,6 +24,20 @@
+--- a/src/gcc/config/arm/t-linux-eabi
++++ b/src/gcc/config/arm/t-linux-eabi
+@@ -21,6 +21,20 @@
MULTILIB_OPTIONS =
MULTILIB_DIRNAMES =
diff --git a/debian/patches/arm-no-va_list-warn.diff b/debian/patches/arm-no-va_list-warn.diff
index d49ee56..c9c3dd6 100644
--- a/debian/patches/arm-no-va_list-warn.diff
+++ b/debian/patches/arm-no-va_list-warn.diff
@@ -7,11 +7,11 @@ gcc/
* config/arm/arm.c (arm_mangle_type): Don't warn anymore that
4.4 has changed the `va_list' mangling.
-Index: gcc/config/arm/arm.c
+Index: b/src/gcc/config/arm/arm.c
===================================================================
---- a/src/gcc/config/arm/arm.c (revision 191609)
-+++ b/src/gcc/config/arm/arm.c (revision 191610)
-@@ -25072,16 +25072,7 @@
+--- a/src/gcc/config/arm/arm.c
++++ b/src/gcc/config/arm/arm.c
+@@ -24432,16 +24432,7 @@
has to be managled as if it is in the "std" namespace. */
if (TARGET_AAPCS_BASED
&& lang_hooks.types_compatible_p (CONST_CAST_TREE (type), va_list_type))
diff --git a/debian/patches/armhf-triplet.diff b/debian/patches/armhf-triplet.diff
index 40e5ffc..9737a1f 100644
--- a/debian/patches/armhf-triplet.diff
+++ b/debian/patches/armhf-triplet.diff
@@ -1,8 +1,10 @@
# DP: add support for arm-linux-*eabi* triplets; useful for armhf
---- a/src/libjava/configure.ac.orig
+Index: b/src/libjava/configure.ac
+===================================================================
+--- a/src/libjava/configure.ac
+++ b/src/libjava/configure.ac
-@@ -924,7 +924,7 @@
+@@ -933,7 +933,7 @@
# on Darwin -single_module speeds up loading of the dynamic libraries.
extra_ldflags_libjava=-Wl,-single_module
;;
@@ -11,38 +13,42 @@
# Some of the ARM unwinder code is actually in libstdc++. We
# could in principle replicate it in libgcj, but it's better to
# have a dependency on libstdc++.
---- a/src/gcc/config.gcc.orig
+Index: b/src/gcc/config.gcc
+===================================================================
+--- a/src/gcc/config.gcc
+++ b/src/gcc/config.gcc
-@@ -822,7 +822,7 @@
+@@ -907,7 +907,7 @@
esac
- tmake_file="${tmake_file} t-linux arm/t-arm"
+ tmake_file="${tmake_file} arm/t-arm"
case ${target} in
- arm*-*-linux-*eabi)
+ arm*-*-linux-*eabi*)
tm_file="$tm_file arm/bpabi.h arm/linux-eabi.h"
- tm_file="$tm_file ../../libgcc/config/arm/bpabi-lib.h"
- tmake_file="$tmake_file arm/t-arm-elf arm/t-bpabi arm/t-linux-eabi t-slibgcc-libgcc"
-@@ -850,7 +850,7 @@
+ tmake_file="$tmake_file arm/t-arm-elf arm/t-bpabi arm/t-linux-eabi"
+ # Define multilib configuration for arm-linux-androideabi.
+@@ -934,7 +934,7 @@
tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/linux-gas.h arm/uclinux-elf.h glibc-stdint.h"
tmake_file="arm/t-arm arm/t-arm-elf"
case ${target} in
- arm*-*-uclinux*eabi)
+ arm*-*-uclinux*eabi*)
tm_file="$tm_file arm/bpabi.h arm/uclinux-eabi.h"
- tm_file="$tm_file ../../libgcc/config/arm/bpabi-lib.h"
tmake_file="$tmake_file arm/t-bpabi"
---- a/src/gcc/testsuite/lib/target-supports.exp.orig
+ # The BPABI long long divmod functions return a 128-bit value in
+Index: b/src/gcc/testsuite/lib/target-supports.exp
+===================================================================
+--- a/src/gcc/testsuite/lib/target-supports.exp
+++ b/src/gcc/testsuite/lib/target-supports.exp
-@@ -3235,7 +3235,7 @@
- || [istarget i?86-*-*]
+@@ -3890,7 +3890,7 @@
|| [istarget x86_64-*-*]
+ || [istarget aarch64*-*-*]
|| [istarget alpha*-*-*]
- || [istarget arm*-*-linux-gnueabi]
+ || [istarget arm*-*-linux-*eabi*]
|| [istarget bfin*-*linux*]
|| [istarget hppa*-*linux*]
|| [istarget s390*-*-*]
-@@ -3266,7 +3266,7 @@
+@@ -3921,7 +3921,7 @@
|| [istarget i?86-*-*]
|| [istarget x86_64-*-*]
|| [istarget alpha*-*-*]
@@ -51,9 +57,11 @@
|| [istarget hppa*-*linux*]
|| [istarget s390*-*-*]
|| [istarget powerpc*-*-*]
---- a/src/gcc/ada/gcc-interface/Makefile.in.orig
+Index: b/src/gcc/ada/gcc-interface/Makefile.in
+===================================================================
+--- a/src/gcc/ada/gcc-interface/Makefile.in
+++ b/src/gcc/ada/gcc-interface/Makefile.in
-@@ -1846,7 +1846,7 @@
+@@ -1866,7 +1866,7 @@
LIBRARY_VERSION := $(LIB_VERSION)
endif
@@ -62,9 +70,11 @@
LIBGNAT_TARGET_PAIRS = \
a-intnam.ads<a-intnam-linux.ads \
s-inmaop.adb<s-inmaop-posix.adb \
---- a/src/libstdc++-v3/configure.host.orig
+Index: b/src/libstdc++-v3/configure.host
+===================================================================
+--- a/src/libstdc++-v3/configure.host
+++ b/src/libstdc++-v3/configure.host
-@@ -322,7 +322,7 @@
+@@ -343,7 +343,7 @@
fi
esac
case "${host}" in
@@ -73,7 +83,9 @@
port_specific_symbol_files="\$(srcdir)/../config/os/gnu-linux/arm-eabi-extra.ver"
;;
esac
---- a/src/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-2.cc.orig
+Index: b/src/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-2.cc
+===================================================================
+--- a/src/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-2.cc
+++ b/src/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-2.cc
@@ -1,5 +1,5 @@
// { dg-options "-std=gnu++0x -funsigned-char -fshort-enums" }
@@ -82,7 +94,9 @@
// 2007-05-03 Benjamin Kosnik <bkoz@redhat.com>
//
---- a/src/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-2.cc.orig
+Index: b/src/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-2.cc
+===================================================================
+--- a/src/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-2.cc
+++ b/src/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-2.cc
@@ -1,5 +1,5 @@
// { dg-options "-std=gnu++0x -funsigned-char -fshort-enums" }
@@ -91,9 +105,11 @@
// 2007-05-03 Benjamin Kosnik <bkoz@redhat.com>
//
+Index: b/src/libgcc/config.host
+===================================================================
--- a/src/libgcc/config.host
+++ b/src/libgcc/config.host
-@@ -334,7 +334,7 @@
+@@ -340,7 +340,7 @@
arm*-*-linux*) # ARM GNU/Linux with ELF
tmake_file="${tmake_file} arm/t-arm t-fixedpoint-gnu-prefix"
case ${host} in
diff --git a/debian/patches/gcc-base-version.diff b/debian/patches/gcc-base-version.diff
index cfaff86..56158fc 100644
--- a/debian/patches/gcc-base-version.diff
+++ b/debian/patches/gcc-base-version.diff
@@ -17,7 +17,7 @@ Index: b/src/gcc/Makefile.in
===================================================================
--- a/src/gcc/Makefile.in
+++ b/src/gcc/Makefile.in
-@@ -792,11 +792,13 @@
+@@ -793,11 +793,13 @@
TM_H = $(GTM_H) insn-flags.h $(OPTIONS_H)
# Variables for version information.
@@ -32,7 +32,7 @@ Index: b/src/gcc/Makefile.in
BASEVER_c := $(shell cat $(BASEVER))
DEVPHASE_c := $(shell cat $(DEVPHASE))
DATESTAMP_c := $(shell cat $(DATESTAMP))
-@@ -815,7 +817,7 @@
+@@ -816,7 +818,7 @@
# development phase collapsed to the empty string in release mode
# (i.e. if DEVPHASE_c is empty). The space immediately after the
# comma in the $(if ...) constructs is significant - do not remove it.
@@ -41,7 +41,7 @@ Index: b/src/gcc/Makefile.in
DEVPHASE_s := "\"$(if $(DEVPHASE_c), ($(DEVPHASE_c)))\""
DATESTAMP_s := "\"$(if $(DEVPHASE_c), $(DATESTAMP_c))\""
PKGVERSION_s:= "\"@PKGVERSION@\""
-@@ -2066,9 +2068,9 @@
+@@ -2067,9 +2069,9 @@
intl.h prefix.h coretypes.h $(TM_H) cppdefault.h $(TARGET_H) \
$(MACHMODE_H)
@@ -53,7 +53,7 @@ Index: b/src/gcc/Makefile.in
# Language-independent files.
-@@ -2146,11 +2148,11 @@
+@@ -2147,11 +2149,11 @@
dumpvers: dumpvers.c
@@ -67,7 +67,7 @@ Index: b/src/gcc/Makefile.in
gtype-desc.o: gtype-desc.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
$(HASHTAB_H) $(SPLAY_TREE_H) $(OBSTACK_H) $(BITMAP_H) \
-@@ -2736,10 +2738,10 @@
+@@ -2737,10 +2739,10 @@
coretypes.h $(INPUT_H) $(TM_H) $(COMMON_TARGET_H) common/common-targhooks.h
bversion.h: s-bversion; @true
@@ -82,7 +82,7 @@ Index: b/src/gcc/Makefile.in
echo "#define BUILDING_GCC_VERSION (BUILDING_GCC_MAJOR * 1000 + BUILDING_GCC_MINOR)" >> bversion.h
$(STAMP) s-bversion
-@@ -3791,9 +3793,9 @@
+@@ -3792,9 +3794,9 @@
## build/version.o is compiled by the $(COMPILER_FOR_BUILD) but needs
## several C macro definitions, just like version.o
build/version.o: version.c version.h \
@@ -94,7 +94,7 @@ Index: b/src/gcc/Makefile.in
-DREVISION=$(REVISION_s) \
-DDEVPHASE=$(DEVPHASE_s) -DPKGVERSION=$(PKGVERSION_s) \
-DBUGURL=$(BUGURL_s) -o $@ $<
-@@ -3968,7 +3970,7 @@
+@@ -3970,7 +3972,7 @@
-DSTANDARD_EXEC_PREFIX=\"$(libdir)/gcc/\" \
@TARGET_SYSTEM_ROOT_DEFINE@
@@ -103,7 +103,7 @@ Index: b/src/gcc/Makefile.in
cppbuiltin.o: cppbuiltin.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
$(TREE_H) cppbuiltin.h Makefile
-@@ -3988,8 +3990,8 @@
+@@ -3990,8 +3992,8 @@
build/gcov-iov.o -o $@
gcov-iov.h: s-iov
@@ -114,7 +114,7 @@ Index: b/src/gcc/Makefile.in
> tmp-gcov-iov.h
$(SHELL) $(srcdir)/../move-if-change tmp-gcov-iov.h gcov-iov.h
$(STAMP) s-iov
-@@ -4229,8 +4231,8 @@
+@@ -4256,8 +4258,8 @@
TEXI_CPPINT_FILES = cppinternals.texi gcc-common.texi gcc-vers.texi
# gcc-vers.texi is generated from the version files.
@@ -125,7 +125,7 @@ Index: b/src/gcc/Makefile.in
if [ "$(DEVPHASE_c)" = "experimental" ]; \
then echo "@set DEVELOPMENT"; \
else echo "@clear DEVELOPMENT"; \
-@@ -4624,9 +4626,11 @@
+@@ -4631,9 +4633,11 @@
install-driver: installdirs xgcc$(exeext)
-rm -f $(DESTDIR)$(bindir)/$(GCC_INSTALL_NAME)$(exeext)
-$(INSTALL_PROGRAM) xgcc$(exeext) $(DESTDIR)$(bindir)/$(GCC_INSTALL_NAME)$(exeext)
@@ -176,6 +176,8 @@ Index: b/src/libgcc/Makefile.in
ifeq ($(decimal_float),yes)
ifeq ($(enable_decimal_float),bid)
+Index: b/src/libjava/testsuite/lib/libjava.exp
+===================================================================
--- a/src/libjava/testsuite/lib/libjava.exp
+++ b/src/libjava/testsuite/lib/libjava.exp
@@ -177,7 +177,7 @@
diff --git a/debian/patches/gcc-cloog-dl.diff b/debian/patches/gcc-cloog-dl.diff
index ddb3611..b5e04e4 100644
--- a/debian/patches/gcc-cloog-dl.diff
+++ b/debian/patches/gcc-cloog-dl.diff
@@ -18,9 +18,11 @@
stmt_for argument to stmt_fora.
* graphite-poly.h: Include graphite-cloog-util.h.
---- a/src/gcc/Makefile.in.jj 2011-01-03 13:44:14.163900902 +0100
-+++ b/src/gcc/Makefile.in 2011-01-04 17:48:53.588775911 +0100
-@@ -962,6 +962,8 @@ GCC_PLUGIN_H = gcc-plugin.h highlev-plug
+Index: b/src/gcc/Makefile.in
+===================================================================
+--- a/src/gcc/Makefile.in
++++ b/src/gcc/Makefile.in
+@@ -965,6 +965,8 @@
PLUGIN_H = plugin.h $(GCC_PLUGIN_H)
PLUGIN_VERSION_H = plugin-version.h configargs.h
LIBFUNCS_H = libfuncs.h $(HASHTAB_H)
@@ -29,7 +31,7 @@
#
# Now figure out from those variables how to compile and link.
-@@ -1016,7 +1018,7 @@ BUILD_LIBDEPS= $(BUILD_LIBIBERTY)
+@@ -1019,7 +1021,7 @@
# and the system's installed libraries.
LIBS = @LIBS@ libcommon.a $(CPPLIB) $(LIBINTL) $(LIBICONV) $(LIBIBERTY) \
$(LIBDECNUMBER) $(HOST_LIBS)
@@ -38,7 +40,7 @@
$(ZLIB)
# Any system libraries needed just for GNAT.
SYSLIBS = @GNAT_LIBEXC@
-@@ -2602,40 +2604,40 @@ sese.o : sese.c sese.h $(CONFIG_H) $(SYS
+@@ -2605,40 +2607,40 @@
$(TREE_FLOW_H) $(CFGLOOP_H) $(TREE_DATA_REF_H) tree-pass.h value-prof.h
graphite.o : graphite.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(DIAGNOSTIC_CORE_H) \
$(TREE_FLOW_H) $(TREE_DUMP_H) $(CFGLOOP_H) $(TREE_DATA_REF_H) sese.h \
@@ -93,7 +95,7 @@
graphite-sese-to-poly.h
tree-vect-loop.o: tree-vect-loop.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
$(TM_H) $(GGC_H) $(TREE_H) $(BASIC_BLOCK_H) $(DIAGNOSTIC_H) $(TREE_FLOW_H) \
-@@ -3454,6 +3456,15 @@ $(common_out_object_file): $(common_out_
+@@ -3457,6 +3459,15 @@
$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) \
$< $(OUTPUT_OPTION)
@@ -109,9 +111,11 @@
# Build auxiliary files that support ecoff format.
mips-tfile: mips-tfile.o $(LIBDEPS)
$(LINKER) $(LINKERFLAGS) $(LDFLAGS) -o $@ \
---- a/src/gcc/graphite-cloog-compat.h.jj 2011-01-03 12:53:05.000000000 +0100
-+++ b/src/gcc/graphite-cloog-compat.h 2011-01-04 17:34:09.857757544 +0100
-@@ -272,4 +272,279 @@ static inline int cloog_matrix_nrows (Cl
+Index: b/src/gcc/graphite-cloog-compat.h
+===================================================================
+--- a/src/gcc/graphite-cloog-compat.h
++++ b/src/gcc/graphite-cloog-compat.h
+@@ -272,4 +272,279 @@
return m->NbRows;
}
#endif /* CLOOG_ORG */
@@ -391,9 +395,11 @@
+
+
#endif /* GRAPHITE_CLOOG_COMPAT_H */
---- a/src/gcc/graphite.c.jj 2011-01-03 12:53:05.194056513 +0100
-+++ b/src/gcc/graphite.c 2011-01-04 16:18:32.385007767 +0100
-@@ -56,6 +56,35 @@ along with GCC; see the file COPYING3.
+Index: b/src/gcc/graphite.c
+===================================================================
+--- a/src/gcc/graphite.c
++++ b/src/gcc/graphite.c
+@@ -56,6 +56,35 @@
CloogState *cloog_state;
@@ -429,7 +435,7 @@
/* Print global statistics to FILE. */
static void
-@@ -201,6 +230,12 @@ graphite_initialize (void)
+@@ -201,6 +230,12 @@
return false;
}
@@ -442,9 +448,11 @@
scev_reset ();
recompute_all_dominators ();
initialize_original_copy_tables ();
---- a/src/gcc/graphite-clast-to-gimple.c.jj 2011-01-03 12:53:05.000000000 +0100
-+++ b/src/gcc/graphite-clast-to-gimple.c 2011-01-04 16:29:55.738007463 +0100
-@@ -836,7 +836,7 @@ clast_get_body_of_loop (struct clast_stm
+Index: b/src/gcc/graphite-clast-to-gimple.c
+===================================================================
+--- a/src/gcc/graphite-clast-to-gimple.c
++++ b/src/gcc/graphite-clast-to-gimple.c
+@@ -836,7 +836,7 @@
from STMT_FOR. */
static tree
@@ -453,7 +461,7 @@
{
mpz_t bound_one, bound_two;
tree lb_type, ub_type;
-@@ -844,8 +844,8 @@ type_for_clast_for (struct clast_for *st
+@@ -844,8 +844,8 @@
mpz_init (bound_one);
mpz_init (bound_two);
@@ -464,9 +472,11 @@
mpz_clear (bound_one);
mpz_clear (bound_two);
---- a/src/gcc/graphite-poly.h.jj 2011-01-03 12:53:05.000000000 +0100
-+++ b/src/gcc/graphite-poly.h 2011-01-04 17:35:53.308788629 +0100
-@@ -22,6 +22,8 @@ along with GCC; see the file COPYING3.
+Index: b/src/gcc/graphite-poly.h
+===================================================================
+--- a/src/gcc/graphite-poly.h
++++ b/src/gcc/graphite-poly.h
+@@ -22,6 +22,8 @@
#ifndef GCC_GRAPHITE_POLY_H
#define GCC_GRAPHITE_POLY_H
diff --git a/debian/patches/gcc-d-lang.diff b/debian/patches/gcc-d-lang.diff
index 81c8934..13b117e 100644
--- a/debian/patches/gcc-d-lang.diff
+++ b/debian/patches/gcc-d-lang.diff
@@ -1,7 +1,9 @@
# DP: Add D options and specs for the gcc driver.
---- /dev/null 2011-07-23 10:07:44.175344374 +0100
-+++ b/src/gcc/d/lang-specs.h 2011-07-09 23:51:52.807002983 +0100
+Index: b/src/gcc/d/lang-specs.h
+===================================================================
+--- /dev/null
++++ b/src/gcc/d/lang-specs.h
@@ -0,0 +1,53 @@
+/* GDC -- D front-end for GCC
+ Copyright (C) 2004 David Friedman
@@ -56,8 +58,10 @@
+ %{M} %{MM} %{!fsyntax-only:%(invoke_as)}}", D_D_SPEC, 1, 0 },
+#endif
+
---- /dev/null 2011-07-23 10:07:44.175344374 +0100
-+++ b/src/gcc/d/lang.opt 2011-07-24 15:48:56.848040870 +0100
+Index: b/src/gcc/d/lang.opt
+===================================================================
+--- /dev/null
++++ b/src/gcc/d/lang.opt
@@ -0,0 +1,215 @@
+; GDC -- D front-end for GCC
+; Copyright (C) 2004 David Friedman
@@ -274,9 +278,11 @@
+
+static_libphobos
+Driver
---- a/src/gcc/gcc.c 2011-02-23 02:04:43.000000000 +0000
-+++ b/src/gcc/gcc.c 2011-07-12 21:55:05.805144355 +0100
-@@ -373,6 +373,7 @@ or with constant text in a single argume
+Index: b/src/gcc/gcc.c
+===================================================================
+--- a/src/gcc/gcc.c
++++ b/src/gcc/gcc.c
+@@ -375,6 +375,7 @@
assembler has done its job.
%D Dump out a -L option for each directory in startfile_prefixes.
If multilib_dir is set, extra entries are generated with it affixed.
@@ -284,7 +290,7 @@
%l process LINK_SPEC as a spec.
%L process LIB_SPEC as a spec.
%G process LIBGCC_SPEC as a spec.
-@@ -5095,6 +5096,17 @@ do_spec_1 (const char *spec, int inswitc
+@@ -5140,6 +5141,17 @@
return value;
break;
diff --git a/debian/patches/gcc-gfdl-build.diff b/debian/patches/gcc-gfdl-build.diff
index 751ba70..fe8a22c 100644
--- a/debian/patches/gcc-gfdl-build.diff
+++ b/debian/patches/gcc-gfdl-build.diff
@@ -1,8 +1,10 @@
# DP: Build a dummy s-tm-texi without access to the texinfo sources
+Index: b/src/gcc/Makefile.in
+===================================================================
--- a/src/gcc/Makefile.in
+++ b/src/gcc/Makefile.in
-@@ -3672,30 +3672,8 @@
+@@ -3673,30 +3673,8 @@
# \r is not portable to Solaris tr, therefore we have a special
# case for ASCII. We use \r for other encodings like EBCDIC.
s-tm-texi: build/genhooks$(build_exeext) $(srcdir)/doc/tm.texi.in
diff --git a/debian/patches/gcc-hash-style-both.diff b/debian/patches/gcc-hash-style-both.diff
index fb8616c..b4fe2f7 100644
--- a/debian/patches/gcc-hash-style-both.diff
+++ b/debian/patches/gcc-hash-style-both.diff
@@ -59,7 +59,7 @@ Index: b/src/gcc/config/rs6000/linux64.h
===================================================================
--- a/src/gcc/config/rs6000/linux64.h
+++ b/src/gcc/config/rs6000/linux64.h
-@@ -384,11 +384,11 @@
+@@ -375,11 +375,11 @@
CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER64, UCLIBC_DYNAMIC_LINKER64)
@@ -77,7 +77,7 @@ Index: b/src/gcc/config/rs6000/sysv4.h
===================================================================
--- a/src/gcc/config/rs6000/sysv4.h
+++ b/src/gcc/config/rs6000/sysv4.h
-@@ -815,7 +815,7 @@
+@@ -814,7 +814,7 @@
#define GNU_USER_DYNAMIC_LINKER \
CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER)
@@ -124,7 +124,7 @@ Index: b/src/gcc/config/arm/linux-elf.h
%{mbig-endian:-EB} %{mlittle-endian:-EL}" \
SUBTARGET_EXTRA_LINK_SPEC
-Index: gcc/config/i386/gnu-user.h
+Index: b/src/gcc/config/i386/gnu-user.h
===================================================================
--- a/src/gcc/config/i386/gnu-user.h
+++ b/src/gcc/config/i386/gnu-user.h
@@ -137,11 +137,11 @@ Index: gcc/config/i386/gnu-user.h
%{!shared: \
%{!static: \
%{rdynamic:-export-dynamic} \
-Index: gcc/config/i386/gnu-user64.h
+Index: b/src/gcc/config/i386/gnu-user64.h
===================================================================
--- a/src/gcc/config/i386/gnu-user64.h
+++ b/src/gcc/config/i386/gnu-user64.h
-@@ -76,6 +76,7 @@
+@@ -81,6 +81,7 @@
#define LINK_SPEC "%{" SPEC_64 ":-m " GNU_USER_LINK_EMULATION64 "} \
%{" SPEC_32 ":-m " GNU_USER_LINK_EMULATION32 "} \
%{" SPEC_X32 ":-m " GNU_USER_LINK_EMULATIONX32 "} \
diff --git a/debian/patches/gcc-ice-apport.diff b/debian/patches/gcc-ice-apport.diff
index fb77284..5631ca5 100644
--- a/debian/patches/gcc-ice-apport.diff
+++ b/debian/patches/gcc-ice-apport.diff
@@ -1,9 +1,11 @@
# DP: Report an ICE to apport (if apport is available
# DP: and the environment variable GCC_NOAPPORT is not set)
+Index: b/src/gcc/gcc.c
+===================================================================
--- a/src/gcc/gcc.c
+++ b/src/gcc/gcc.c
-@@ -6102,6 +6102,16 @@
+@@ -6119,6 +6119,16 @@
fnotice (stderr, "Preprocessed source stored into %s file,"
" please attach this to your bugreport.\n",
temp_filenames[attempt * 2]);
diff --git a/debian/patches/gcc-ice-hack.diff b/debian/patches/gcc-ice-hack.diff
index eef9e7f..da4b6d6 100644
--- a/debian/patches/gcc-ice-hack.diff
+++ b/debian/patches/gcc-ice-hack.diff
@@ -22,9 +22,11 @@
#
# # All warnings have to be shut off in stage1 if the compiler used then
# # isn't gcc; configure determines that. WARN_CFLAGS will be either
+Index: b/src/gcc/gcc.c
+===================================================================
--- a/src/gcc/gcc.c
+++ b/src/gcc/gcc.c
-@@ -250,6 +250,9 @@
+@@ -252,6 +252,9 @@
#if defined(HAVE_TARGET_OBJECT_SUFFIX) || defined(HAVE_TARGET_EXECUTABLE_SUFFIX)
static const char *convert_filename (const char *, int, int);
#endif
@@ -34,7 +36,7 @@
static const char *getenv_spec_function (int, const char **);
static const char *if_exists_spec_function (int, const char **);
-@@ -2638,7 +2643,7 @@
+@@ -2680,7 +2683,7 @@
}
}
@@ -43,7 +45,7 @@
free (CONST_CAST (char *, string));
}
-@@ -2691,6 +2696,16 @@
+@@ -2733,6 +2736,16 @@
else if (WIFEXITED (status)
&& WEXITSTATUS (status) >= MIN_FATAL_STATUS)
{
@@ -60,7 +62,7 @@
if (WEXITSTATUS (status) > greatest_status)
greatest_status = WEXITSTATUS (status);
ret_code = -1;
-@@ -2748,6 +2763,9 @@
+@@ -2790,6 +2803,9 @@
}
}
@@ -70,7 +72,7 @@
return ret_code;
}
}
-@@ -5874,6 +5892,227 @@
+@@ -5899,6 +5915,227 @@
switches[switchnum].validated = 1;
}
@@ -298,6 +300,8 @@
/* Search for a file named NAME trying various prefixes including the
user's -B prefix and some standard ones.
Return the absolute file name found. If nothing is found, return NAME. */
+Index: b/src/gcc/diagnostic.c
+===================================================================
--- a/src/gcc/diagnostic.c
+++ b/src/gcc/diagnostic.c
@@ -247,7 +247,7 @@
diff --git a/debian/patches/gcc-multiarch.diff b/debian/patches/gcc-multiarch.diff
index 0318653..b023b87 100644
--- a/debian/patches/gcc-multiarch.diff
+++ b/debian/patches/gcc-multiarch.diff
@@ -39,8 +39,10 @@
* config/ia64/t-glibc: Define MULTIARCH_DIRNAME for linux target.
---- a/src/gcc/incpath.c (revision 182390)
-+++ b/src/gcc/incpath.c (working copy)
+Index: b/src/gcc/incpath.c
+===================================================================
+--- a/src/gcc/incpath.c
++++ b/src/gcc/incpath.c
@@ -150,8 +150,14 @@
if (!filename_ncmp (p->fname, cpp_GCC_INCLUDE_DIR, len))
{
@@ -57,7 +59,7 @@
add_path (str, SYSTEM, p->cxx_aware, false);
}
}
-@@ -195,8 +201,14 @@
+@@ -203,8 +209,14 @@
else
str = update_path (p->fname, p->component);
@@ -73,9 +75,11 @@
add_path (str, SYSTEM, p->cxx_aware, false);
}
---- a/src/gcc/gcc.c (revision 182390)
-+++ b/src/gcc/gcc.c (working copy)
-@@ -1147,6 +1147,11 @@
+Index: b/src/gcc/gcc.c
+===================================================================
+--- a/src/gcc/gcc.c
++++ b/src/gcc/gcc.c
+@@ -1157,6 +1157,11 @@
set_multilib_dir based on the compilation options. */
static const char *multilib_os_dir;
@@ -87,7 +91,7 @@
/* Structure to keep track of the specs that have been defined so far.
These are accessed using %(specname) in a compiler or link
-@@ -2072,6 +2077,7 @@
+@@ -2082,6 +2087,7 @@
struct prefix_list *pl;
const char *multi_dir = NULL;
const char *multi_os_dir = NULL;
@@ -95,7 +99,7 @@
const char *multi_suffix;
const char *just_multi_suffix;
char *path = NULL;
-@@ -2089,11 +2095,14 @@
+@@ -2099,11 +2105,14 @@
}
if (do_multi && multilib_os_dir && strcmp (multilib_os_dir, ".") != 0)
multi_os_dir = concat (multilib_os_dir, dir_separator_str, NULL);
@@ -110,7 +114,7 @@
size_t suffix_len;
size_t just_suffix_len;
size_t len;
-@@ -2102,16 +2111,15 @@
+@@ -2112,16 +2121,15 @@
multi_dir_len = strlen (multi_dir);
if (multi_os_dir)
multi_os_dir_len = strlen (multi_os_dir);
@@ -130,7 +134,7 @@
path = XNEWVEC (char, len);
}
-@@ -2140,6 +2148,16 @@
+@@ -2150,6 +2158,16 @@
break;
}
@@ -147,7 +151,7 @@
/* Now try the base path. */
if (!pl->require_machine_suffix
&& !(pl->os_multilib ? skip_multi_os_dir : skip_multi_dir))
-@@ -2970,6 +2970,9 @@
+@@ -2987,6 +3005,9 @@
fputs (_(" -print-libgcc-file-name Display the name of the compiler's companion library\n"), stdout);
fputs (_(" -print-file-name=<lib> Display the full path to library <lib>\n"), stdout);
fputs (_(" -print-prog-name=<prog> Display the full path to compiler component <prog>\n"), stdout);
@@ -157,7 +161,7 @@
fputs (_(" -print-multi-directory Display the root directory for versions of libgcc\n"), stdout);
fputs (_("\
-print-multi-lib Display the mapping between command line options and\n\
-@@ -3228,6 +3246,7 @@
+@@ -3261,6 +3282,7 @@
case OPT_print_multi_directory:
case OPT_print_sysroot:
case OPT_print_multi_os_directory:
@@ -165,7 +169,7 @@
case OPT_print_sysroot_headers_suffix:
case OPT_time:
case OPT_wrapper:
-@@ -4880,6 +4899,15 @@
+@@ -4913,6 +4935,15 @@
do_spec_1 (" ", 0, NULL);
}
@@ -181,7 +185,7 @@
if (gcc_exec_prefix)
{
do_spec_1 ("-iprefix", 1, NULL);
-@@ -6497,6 +6525,15 @@
+@@ -6791,6 +6822,15 @@
return (0);
}
@@ -197,7 +201,7 @@
if (print_sysroot)
{
if (target_system_root)
-@@ -7472,10 +7509,26 @@
+@@ -7773,10 +7813,26 @@
q++;
if (q < end)
{
@@ -226,7 +230,7 @@
break;
}
}
-@@ -7537,7 +7590,7 @@
+@@ -7838,7 +7894,7 @@
/* When --disable-multilib was used but target defines
MULTILIB_OSDIRNAMES, entries starting with .: are there just
to find multilib_os_dir, so skip them from output. */
@@ -235,8 +239,10 @@
skip = 1;
/* Check for matches with the multilib_exclusions. We don't bother
---- a/src/gcc/genmultilib (revision 182390)
-+++ b/src/gcc/genmultilib (working copy)
+Index: b/src/gcc/genmultilib
+===================================================================
+--- a/src/gcc/genmultilib
++++ b/src/gcc/genmultilib
@@ -73,6 +73,8 @@
# the os directory names are used exclusively. Use the mapping when
# there is no one-to-one equivalence between GCC levels and the OS.
@@ -292,9 +298,11 @@
if [ "x${enable_multilib}" != xyes ]; then
dirout=".:${osdirout}"
disable_multilib=yes
---- a/src/gcc/configure.ac (revision 182390)
-+++ b/src/gcc/configure.ac (working copy)
-@@ -620,6 +620,21 @@
+Index: b/src/gcc/configure.ac
+===================================================================
+--- a/src/gcc/configure.ac
++++ b/src/gcc/configure.ac
+@@ -691,6 +691,21 @@
[], [enable_multilib=yes])
AC_SUBST(enable_multilib)
@@ -316,9 +324,11 @@
# Enable __cxa_atexit for C++.
AC_ARG_ENABLE(__cxa_atexit,
[AS_HELP_STRING([--enable-__cxa_atexit], [enable __cxa_atexit for C++])],
---- a/src/gcc/cppdefault.c (revision 182390)
-+++ b/src/gcc/cppdefault.c (working copy)
-@@ -60,6 +60,7 @@
+Index: b/src/gcc/cppdefault.c
+===================================================================
+--- a/src/gcc/cppdefault.c
++++ b/src/gcc/cppdefault.c
+@@ -63,6 +63,7 @@
#endif
#ifdef LOCAL_INCLUDE_DIR
/* /usr/local/include comes before the fixincluded header files. */
@@ -326,7 +336,7 @@
{ LOCAL_INCLUDE_DIR, 0, 0, 1, 1, 0 },
#endif
#ifdef PREFIX_INCLUDE_DIR
-@@ -87,6 +88,7 @@
+@@ -90,6 +91,7 @@
#endif
#ifdef NATIVE_SYSTEM_HEADER_DIR
/* /usr/include comes dead last. */
@@ -334,8 +344,10 @@
{ NATIVE_SYSTEM_HEADER_DIR, NATIVE_SYSTEM_HEADER_COMPONENT, 0, 0, 1, 0 },
#endif
{ 0, 0, 0, 0, 0, 0 }
---- a/src/gcc/cppdefault.h (revision 182390)
-+++ b/src/gcc/cppdefault.h (working copy)
+Index: b/src/gcc/cppdefault.h
+===================================================================
+--- a/src/gcc/cppdefault.h
++++ b/src/gcc/cppdefault.h
@@ -43,9 +43,11 @@
C++. */
const char add_sysroot; /* FNAME should be prefixed by
@@ -351,8 +363,10 @@
};
extern const struct default_include cpp_include_defaults[];
---- a/src/gcc/common.opt (revision 182390)
-+++ b/src/gcc/common.opt (working copy)
+Index: b/src/gcc/common.opt
+===================================================================
+--- a/src/gcc/common.opt
++++ b/src/gcc/common.opt
@@ -345,6 +345,9 @@
-print-multi-os-directory
Driver Alias(print-multi-os-directory)
@@ -363,7 +377,7 @@
-print-prog-name
Driver Separate Alias(print-prog-name=)
-@@ -2268,6 +2271,10 @@
+@@ -2256,6 +2259,10 @@
Common Joined Var(plugindir_string) Init(0)
-iplugindir=<dir> Set <dir> to be the default plugin directory
@@ -374,7 +388,7 @@
l
Driver Joined Separate
-@@ -2325,6 +2332,9 @@
+@@ -2313,6 +2320,9 @@
print-multi-os-directory
Driver Var(print_multi_os_directory)
@@ -384,17 +398,19 @@
print-prog-name=
Driver JoinedOrMissing Var(print_prog_name)
---- a/src/gcc/config.gcc (revision 182390)
-+++ b/src/gcc/config.gcc (working copy)
-@@ -767,6 +767,7 @@
- case ${target} in
+Index: b/src/gcc/config.gcc
+===================================================================
+--- a/src/gcc/config.gcc
++++ b/src/gcc/config.gcc
+@@ -829,6 +829,7 @@
+ ;;
alpha*-*-linux*)
tm_file="${tm_file} alpha/elf.h alpha/linux.h alpha/linux-elf.h glibc-stdint.h"
+ tmake_file="${tmake_file} alpha/t-linux"
extra_options="${extra_options} alpha/elf.opt"
target_cpu_default="MASK_GAS"
;;
-@@ -1049,6 +1049,7 @@
+@@ -1115,6 +1116,7 @@
tm_file="pa/pa64-start.h ${tm_file} dbxelf.h elfos.h gnu-user.h linux.h \
glibc-stdint.h pa/pa-linux.h pa/pa64-regs.h pa/pa-64.h \
pa/pa64-linux.h"
@@ -402,7 +418,7 @@
gas=yes gnu_ld=yes
need_64bit_hwint=yes
;;
-@@ -1056,6 +1057,7 @@
+@@ -1122,6 +1124,7 @@
target_cpu_default="MASK_PA_11|MASK_NO_SPACE_REGS"
tm_file="${tm_file} dbxelf.h elfos.h gnu-user.h linux.h glibc-stdint.h pa/pa-linux.h \
pa/pa32-regs.h pa/pa32-linux.h"
@@ -410,7 +426,7 @@
;;
# port not yet contributed.
#hppa*-*-openbsd*)
-@@ -1508,7 +1508,7 @@
+@@ -1607,7 +1610,7 @@
;;
ia64*-*-linux*)
tm_file="${tm_file} dbxelf.h elfos.h gnu-user.h linux.h glibc-stdint.h ia64/sysv4.h ia64/linux.h"
@@ -419,7 +435,7 @@
target_cpu_default="MASK_GNU_AS|MASK_GNU_LD"
;;
ia64*-*-hpux*)
-@@ -2012,6 +2012,7 @@
+@@ -2134,6 +2137,7 @@
;;
*)
tm_file="${tm_file} rs6000/linux.h glibc-stdint.h"
@@ -427,7 +443,7 @@
;;
esac
case ${target} in
-@@ -3467,10 +3468,14 @@
+@@ -3724,9 +3728,13 @@
i[34567]86-*-darwin* | x86_64-*-darwin*)
;;
@@ -435,18 +451,19 @@
- i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu | \
- i[34567]86-*-gnu*)
+ i[34567]86-*-linux* | x86_64-*-linux*)
- ;;
++ ;;
+ i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu)
+ tmake_file="${tmake_file} i386/t-linux i386/t-kfreebsd"
+ ;;
+ i[34567]86-*-gnu*)
+ tmake_file="${tmake_file} i386/t-linux i386/t-gnu"
-+ ;;
+ ;;
i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*)
;;
- i[34567]86-*-cygwin* | i[34567]86-*-mingw* | x86_64-*-mingw*)
---- a/src/gcc/Makefile.in (revision 182390)
-+++ b/src/gcc/Makefile.in (working copy)
+Index: b/src/gcc/Makefile.in
+===================================================================
+--- a/src/gcc/Makefile.in
++++ b/src/gcc/Makefile.in
@@ -352,6 +352,17 @@
enable_plugin = @enable_plugin@
@@ -465,7 +482,7 @@
CPPLIB = ../libcpp/libcpp.a
CPPINC = -I$(srcdir)/../libcpp/include
-@@ -1832,10 +1843,11 @@
+@@ -1837,10 +1848,11 @@
"$(MULTILIB_EXTRA_OPTS)" \
"$(MULTILIB_EXCLUSIONS)" \
"$(MULTILIB_OSDIRNAMES)" \
@@ -478,12 +495,16 @@
> tmp-mlib.h; \
fi
$(SHELL) $(srcdir)/../move-if-change tmp-mlib.h multilib.h
---- a/src/gcc/config/alpha/t-linux (revision 0)
-+++ b/src/gcc/config/alpha/t-linux (revision 0)
+Index: b/src/gcc/config/alpha/t-linux
+===================================================================
+--- /dev/null
++++ b/src/gcc/config/alpha/t-linux
@@ -0,0 +1 @@
+MULTIARCH_DIRNAME = $(call if_multiarch,alpha-linux-gnu)
---- a/src/gcc/config/s390/t-linux64 (revision 182390)
-+++ b/src/gcc/config/s390/t-linux64 (working copy)
+Index: b/src/gcc/config/s390/t-linux64
+===================================================================
+--- a/src/gcc/config/s390/t-linux64
++++ b/src/gcc/config/s390/t-linux64
@@ -7,4 +7,5 @@
MULTILIB_OPTIONS = m64/m31
@@ -491,8 +512,10 @@
-MULTILIB_OSDIRNAMES = ../lib64 $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)
+MULTILIB_OSDIRNAMES = ../lib64$(call if_multiarch,:s390x-linux-gnu)
+MULTILIB_OSDIRNAMES += $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)$(call if_multiarch,:s390-linux-gnu)
---- a/src/gcc/config/sparc/t-linux64 (revision 182390)
-+++ b/src/gcc/config/sparc/t-linux64 (working copy)
+Index: b/src/gcc/config/sparc/t-linux64
+===================================================================
+--- a/src/gcc/config/sparc/t-linux64
++++ b/src/gcc/config/sparc/t-linux64
@@ -26,4 +26,5 @@
MULTILIB_OPTIONS = m64/m32
@@ -500,28 +523,38 @@
-MULTILIB_OSDIRNAMES = ../lib64 $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)
+MULTILIB_OSDIRNAMES = ../lib64$(call if_multiarch,:sparc64-linux-gnu)
+MULTILIB_OSDIRNAMES += $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)$(call if_multiarch,:sparc-linux-gnu)
---- a/src/gcc/config/sparc/t-linux (revision 0)
-+++ b/src/gcc/config/sparc/t-linux (revision 0)
+Index: b/src/gcc/config/sparc/t-linux
+===================================================================
+--- /dev/null
++++ b/src/gcc/config/sparc/t-linux
@@ -0,0 +1 @@
+MULTIARCH_DIRNAME = $(call if_multiarch,sparc-linux-gnu)
---- a/src/gcc/config/i386/t-kfreebsd (revision 0)
-+++ b/src/gcc/config/i386/t-kfreebsd (revision 0)
+Index: b/src/gcc/config/i386/t-kfreebsd
+===================================================================
+--- /dev/null
++++ b/src/gcc/config/i386/t-kfreebsd
@@ -0,0 +1,5 @@
+MULTIARCH_DIRNAME = $(call if_multiarch,i386-kfreebsd-gnu)
+
+# MULTILIB_OSDIRNAMES are set in t-linux64.
+KFREEBSD_OS = $(filter kfreebsd%, $(word 3, $(subst -, ,$(target))))
+MULTILIB_OSDIRNAMES := $(subst linux,$(KFREEBSD_OS),$(MULTILIB_OSDIRNAMES))
---- a/src/gcc/config/i386/t-gnu (revision 0)
-+++ b/src/gcc/config/i386/t-gnu (revision 0)
+Index: b/src/gcc/config/i386/t-gnu
+===================================================================
+--- /dev/null
++++ b/src/gcc/config/i386/t-gnu
@@ -0,0 +1 @@
+MULTIARCH_DIRNAME = $(call if_multiarch,i386-gnu)
---- a/src/gcc/config/i386/t-linux (revision 0)
-+++ b/src/gcc/config/i386/t-linux (revision 0)
+Index: b/src/gcc/config/i386/t-linux
+===================================================================
+--- /dev/null
++++ b/src/gcc/config/i386/t-linux
@@ -0,0 +1 @@
+MULTIARCH_DIRNAME = $(call if_multiarch,i386-linux-gnu)
---- a/src/gcc/config/i386/t-linux64 (revision 182390)
-+++ b/src/gcc/config/i386/t-linux64 (working copy)
+Index: b/src/gcc/config/i386/t-linux64
+===================================================================
+--- a/src/gcc/config/i386/t-linux64
++++ b/src/gcc/config/i386/t-linux64
@@ -34,6 +34,6 @@
comma=,
MULTILIB_OPTIONS = $(subst $(comma),/,$(TM_MULTILIB_CONFIG))
@@ -532,15 +565,18 @@
+MULTILIB_OSDIRNAMES = m64=../lib64$(call if_multiarch,:x86_64-linux-gnu)
+MULTILIB_OSDIRNAMES+= m32=$(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)$(call if_multiarch,:i386-linux-gnu)
+MULTILIB_OSDIRNAMES+= mx32=../libx32$(call if_multiarch,:x86_64-linux-gnux32)
-
---- a/src/gcc/config/ia64/t-glibc (revision 0)
-+++ b/src/gcc/config/ia64/t-glibc (revision 0)
+Index: b/src/gcc/config/ia64/t-glibc
+===================================================================
+--- /dev/null
++++ b/src/gcc/config/ia64/t-glibc
@@ -0,0 +1,3 @@
+ifneq (,$(findstring linux, $(target)))
+MULTIARCH_DIRNAME = $(call if_multiarch,ia64-linux-gnu)
+endif
---- a/src/gcc/config/m68k/t-linux (revision 182390)
-+++ b/src/gcc/config/m68k/t-linux (working copy)
+Index: b/src/gcc/config/m68k/t-linux
+===================================================================
+--- a/src/gcc/config/m68k/t-linux
++++ b/src/gcc/config/m68k/t-linux
@@ -19,6 +19,8 @@
# Only include multilibs for 680x0 and ColdFire CPUs with an MMU.
M68K_MLIB_CPU += && ((CPU ~ "^m680") || (CPU ~ "^mcf")) && (FLAGS ~ "FL_MMU")
@@ -550,8 +586,10 @@
# This rule uses MULTILIB_MATCHES to generate a definition of
# SYSROOT_SUFFIX_SPEC.
sysroot-suffix.h: $(srcdir)/config/m68k/print-sysroot-suffix.sh
---- a/src/gcc/config/rs6000/t-spe (revision 182390)
-+++ b/src/gcc/config/rs6000/t-spe (working copy)
+Index: b/src/gcc/config/rs6000/t-spe
+===================================================================
+--- a/src/gcc/config/rs6000/t-spe
++++ b/src/gcc/config/rs6000/t-spe
@@ -71,3 +71,6 @@
mabi=altivec/mlittle \
maltivec/mlittle \
@@ -559,8 +597,10 @@
+
+MULTIARCH_DIRNAME = powerpc-linux-gnuspe$(if $(findstring rs6000/e500-double.h, $(tm_file)),,v1)
+
---- a/src/gcc/config/rs6000/t-linux64 (revision 182390)
-+++ b/src/gcc/config/rs6000/t-linux64 (working copy)
+Index: b/src/gcc/config/rs6000/t-linux64
+===================================================================
+--- a/src/gcc/config/rs6000/t-linux64
++++ b/src/gcc/config/rs6000/t-linux64
@@ -31,5 +31,7 @@
MULTILIB_EXTRA_OPTS = fPIC mstrict-align
MULTILIB_EXCEPTIONS = m64/msoft-float
@@ -570,25 +610,33 @@
+MULTILIB_OSDIRNAMES += $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)$(call if_multiarch,:powerpc-linux-gnu)
+MULTILIB_OSDIRNAMES += nof
MULTILIB_MATCHES = $(MULTILIB_MATCHES_FLOAT)
---- a/src/gcc/config/rs6000/t-linux (revision 0)
-+++ b/src/gcc/config/rs6000/t-linux (revision 0)
+Index: b/src/gcc/config/rs6000/t-linux
+===================================================================
+--- /dev/null
++++ b/src/gcc/config/rs6000/t-linux
@@ -0,0 +1 @@
+MULTIARCH_DIRNAME = powerpc-linux-gnu
---- a/src/gcc/config/arm/t-linux-eabi (revision 182390)
-+++ b/src/gcc/config/arm/t-linux-eabi (working copy)
-@@ -24,3 +24,6 @@
+Index: b/src/gcc/config/arm/t-linux-eabi
+===================================================================
+--- a/src/gcc/config/arm/t-linux-eabi
++++ b/src/gcc/config/arm/t-linux-eabi
+@@ -38,3 +38,6 @@
#MULTILIB_OPTIONS += mcpu=fa606te/mcpu=fa626te/mcpu=fmp626/mcpu=fa726te
#MULTILIB_DIRNAMES += fa606te fa626te fmp626 fa726te
#MULTILIB_EXCEPTIONS += *mthumb/*mcpu=fa606te *mthumb/*mcpu=fa626te *mthumb/*mcpu=fmp626 *mthumb/*mcpu=fa726te*
+
+ARM_EB = $(if $(findstring TARGET_BIG_ENDIAN_DEFAULT=1, $(tm_defines)),eb)
+MULTIARCH_DIRNAME = $(call if_multiarch,arm$(ARM_EB)-linux-gnueabi$(if $(filter hard,$(with_float)),hf))
---- a/src/gcc/config/pa/t-linux (revision 0)
-+++ b/src/gcc/config/pa/t-linux (revision 0)
+Index: b/src/gcc/config/pa/t-linux
+===================================================================
+--- /dev/null
++++ b/src/gcc/config/pa/t-linux
@@ -0,0 +1 @@
+MULTIARCH_DIRNAME = $(call if_multiarch,hppa-linux-gnu)
---- a/src/gcc/config/mips/t-linux64 (revision 182390)
-+++ b/src/gcc/config/mips/t-linux64 (working copy)
+Index: b/src/gcc/config/mips/t-linux64
+===================================================================
+--- a/src/gcc/config/mips/t-linux64
++++ b/src/gcc/config/mips/t-linux64
@@ -18,4 +18,9 @@
MULTILIB_OPTIONS = mabi=n32/mabi=32/mabi=64
@@ -600,6 +648,8 @@
+ ../lib32$(call if_multiarch,:mips64$(MIPS_EL)-linux-gnuabin32$(MIPS_SOFT)) \
+ ../lib$(call if_multiarch,:mips$(MIPS_EL)-linux-gnu$(MIPS_SOFT)) \
+ ../lib64$(call if_multiarch,:mips64$(MIPS_EL)-linux-gnuabi64$(MIPS_SOFT))
+Index: b/src/libstdc++-v3/python/hook.in
+===================================================================
--- a/src/libstdc++-v3/python/hook.in
+++ b/src/libstdc++-v3/python/hook.in
@@ -47,7 +47,10 @@
@@ -614,6 +664,8 @@
objfile = gdb.current_objfile ().filename
dir_ = os.path.join (os.path.dirname (objfile), dotdots, pythondir)
+Index: b/src/gcc/config/sh/t-linux
+===================================================================
--- a/src/gcc/config/sh/t-linux
+++ b/src/gcc/config/sh/t-linux
@@ -1,2 +1,4 @@
diff --git a/debian/patches/gcc-multilib64-multiarch.diff b/debian/patches/gcc-multilib64-multiarch.diff
index 88d9ac0..1bcec86 100644
--- a/debian/patches/gcc-multilib64-multiarch.diff
+++ b/debian/patches/gcc-multilib64-multiarch.diff
@@ -1,6 +1,8 @@
# DP: Use lib instead of lib64 as the 64bit system dir on biarch
# DP: architectures defaulting to 64bit.
+Index: b/src/gcc/config/s390/t-linux64
+===================================================================
--- a/src/gcc/config/s390/t-linux64
+++ b/src/gcc/config/s390/t-linux64
@@ -7,5 +7,5 @@
@@ -10,9 +12,11 @@
-MULTILIB_OSDIRNAMES = ../lib64$(call if_multiarch,:s390x-linux-gnu)
+MULTILIB_OSDIRNAMES = ../lib$(call if_multiarch,:s390x-linux-gnu)
MULTILIB_OSDIRNAMES += $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)$(call if_multiarch,:s390-linux-gnu)
+Index: b/src/gcc/config/rs6000/t-linux64
+===================================================================
--- a/src/gcc/config/rs6000/t-linux64
+++ b/src/gcc/config/rs6000/t-linux64
-@@ -33,6 +33,6 @@
+@@ -31,6 +31,6 @@
MULTILIB_EXTRA_OPTS = fPIC mstrict-align
MULTILIB_EXCEPTIONS =
MULTILIB_EXCLUSIONS =
@@ -20,25 +24,26 @@
+MULTILIB_OSDIRNAMES = ../lib$(call if_multiarch,:powerpc64-linux-gnu)
MULTILIB_OSDIRNAMES += $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)$(call if_multiarch,:powerpc-linux-gnu)
MULTILIB_MATCHES =
+Index: b/src/gcc/config/sparc/t-linux64
+===================================================================
--- a/src/gcc/config/sparc/t-linux64
+++ b/src/gcc/config/sparc/t-linux64
-@@ -26,7 +26,7 @@
+@@ -26,5 +26,5 @@
MULTILIB_OPTIONS = m64/m32
MULTILIB_DIRNAMES = 64 32
-MULTILIB_OSDIRNAMES = ../lib64$(call if_multiarch,:sparc64-linux-gnu)
+MULTILIB_OSDIRNAMES = ../lib$(call if_multiarch,:sparc64-linux-gnu)
MULTILIB_OSDIRNAMES += $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)$(call if_multiarch,:sparc-linux-gnu)
-
- LIBGCC = stmp-multilib
+Index: b/src/gcc/config/i386/t-linux64
+===================================================================
--- a/src/gcc/config/i386/t-linux64
+++ b/src/gcc/config/i386/t-linux64
-@@ -34,7 +34,7 @@
+@@ -34,6 +34,6 @@
comma=,
MULTILIB_OPTIONS = $(subst $(comma),/,$(TM_MULTILIB_CONFIG))
MULTILIB_DIRNAMES = $(patsubst m%, %, $(subst /, ,$(MULTILIB_OPTIONS)))
-MULTILIB_OSDIRNAMES = m64=../lib64$(call if_multiarch,:x86_64-linux-gnu)
+MULTILIB_OSDIRNAMES = m64=../lib$(call if_multiarch,:x86_64-linux-gnu)
MULTILIB_OSDIRNAMES+= m32=$(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)$(call if_multiarch,:i386-linux-gnu)
- MULTILIB_OSDIRNAMES+= mx32=../libx32
-
+ MULTILIB_OSDIRNAMES+= mx32=../libx32$(call if_multiarch,:x86_64-linux-gnux32)
diff --git a/debian/patches/gcc-no-add-needed.diff b/debian/patches/gcc-no-add-needed.diff
index 1c846fe..5d24b54 100644
--- a/debian/patches/gcc-no-add-needed.diff
+++ b/debian/patches/gcc-no-add-needed.diff
@@ -8,9 +8,11 @@
* config/alpha/elf.h (LINK_EH_SPEC): Likewise.
* config/ia64/linux.h (LINK_EH_SPEC): Likewise.
+Index: b/src/gcc/config/rs6000/sysv4.h
+===================================================================
--- a/src/gcc/config/rs6000/sysv4.h
+++ b/src/gcc/config/rs6000/sysv4.h
-@@ -836,7 +836,7 @@
+@@ -820,7 +820,7 @@
#if defined(HAVE_LD_EH_FRAME_HDR)
# undef LINK_EH_SPEC
@@ -19,6 +21,8 @@
#endif
#define CPP_OS_LINUX_SPEC "-D__unix__ -D__gnu_linux__ -D__linux__ \
+Index: b/src/gcc/config/gnu-user.h
+===================================================================
--- a/src/gcc/config/gnu-user.h
+++ b/src/gcc/config/gnu-user.h
@@ -82,7 +82,9 @@
@@ -32,9 +36,11 @@
#endif
#undef LINK_GCC_C_SEQUENCE_SPEC
+Index: b/src/gcc/config/alpha/elf.h
+===================================================================
--- a/src/gcc/config/alpha/elf.h
+++ b/src/gcc/config/alpha/elf.h
-@@ -438,7 +438,7 @@
+@@ -440,7 +440,7 @@
I imagine that other systems will catch up. In the meantime, it
doesn't harm to make sure that the data exists to be used later. */
#if defined(HAVE_LD_EH_FRAME_HDR)
@@ -43,14 +49,16 @@
#endif
/* A C statement (sans semicolon) to output to the stdio stream STREAM
+Index: b/src/gcc/config/ia64/linux.h
+===================================================================
--- a/src/gcc/config/ia64/linux.h
+++ b/src/gcc/config/ia64/linux.h
-@@ -82,7 +82,7 @@
+@@ -75,7 +75,7 @@
Signalize that because we have fde-glibc, we don't need all C shared libs
linked against -lgcc_s. */
#undef LINK_EH_SPEC
-#define LINK_EH_SPEC ""
+#define LINK_EH_SPEC "--no-add-needed "
- #define MD_UNWIND_SUPPORT "config/ia64/linux-unwind.h"
-
+ /* Put all *tf routines in libgcc. */
+ #undef LIBGCC2_HAS_TF_MODE
diff --git a/debian/patches/gcc-powerpc-nof.diff b/debian/patches/gcc-powerpc-nof.diff
index 3696085..5c142cf 100644
--- a/debian/patches/gcc-powerpc-nof.diff
+++ b/debian/patches/gcc-powerpc-nof.diff
@@ -1,8 +1,10 @@
# DP: Don't build nof multlib on powerpc.
+Index: b/src/gcc/config/rs6000/t-linux64
+===================================================================
--- a/src/gcc/config/rs6000/t-linux64
+++ b/src/gcc/config/rs6000/t-linux64
-@@ -28,12 +28,11 @@
+@@ -26,12 +26,11 @@
# it doesn't tell anything about the 32bit libraries on those systems. Set
# MULTILIB_OSDIRNAMES according to what is found on the target.
diff --git a/debian/patches/gcc-powerpc-undef.diff b/debian/patches/gcc-powerpc-undef.diff
index ce19d24..b25dc00 100644
--- a/debian/patches/gcc-powerpc-undef.diff
+++ b/debian/patches/gcc-powerpc-undef.diff
@@ -1,10 +1,12 @@
# DP: Undefine LINK_EH_SPEC before redefining it
# DP: http://gcc.gnu.org/ml/gcc-patches/2011-02/msg01082.html
+Index: b/src/gcc/config/rs6000/sysv4.h
+===================================================================
--- a/src/gcc/config/rs6000/sysv4.h
+++ b/src/gcc/config/rs6000/sysv4.h
-@@ -835,6 +835,7 @@
- -dynamic-linker " LINUX_DYNAMIC_LINKER "}}"
+@@ -819,6 +819,7 @@
+ -dynamic-linker " GNU_USER_DYNAMIC_LINKER "}}"
#if defined(HAVE_LD_EH_FRAME_HDR)
+# undef LINK_EH_SPEC
diff --git a/debian/patches/gcc-sysroot.diff b/debian/patches/gcc-sysroot.diff
index 19873fb..f834e5a 100644
--- a/debian/patches/gcc-sysroot.diff
+++ b/debian/patches/gcc-sysroot.diff
@@ -1,3 +1,5 @@
+Index: b/src/gcc/configure.ac
+===================================================================
--- a/src/gcc/configure.ac
+++ b/src/gcc/configure.ac
@@ -118,6 +118,72 @@
@@ -84,7 +86,7 @@
gcc_gxx_include_dir_add_sysroot=1
fi
fi
-@@ -739,68 +807,6 @@
+@@ -733,68 +801,6 @@
], [enable_shared=yes])
AC_SUBST(enable_shared)
diff --git a/debian/patches/gcc-textdomain.diff b/debian/patches/gcc-textdomain.diff
index ec8d32f..5d00167 100644
--- a/debian/patches/gcc-textdomain.diff
+++ b/debian/patches/gcc-textdomain.diff
@@ -19,7 +19,7 @@ Index: b/src/gcc/Makefile.in
===================================================================
--- a/src/gcc/Makefile.in
+++ b/src/gcc/Makefile.in
-@@ -5228,8 +5228,8 @@
+@@ -5230,8 +5230,8 @@
dir=$(localedir)/$$lang/LC_MESSAGES; \
echo $(mkinstalldirs) $(DESTDIR)$$dir; \
$(mkinstalldirs) $(DESTDIR)$$dir || exit 1; \
@@ -47,7 +47,7 @@ Index: b/src/libcpp/system.h
===================================================================
--- a/src/libcpp/system.h
+++ b/src/libcpp/system.h
-@@ -273,7 +273,7 @@
+@@ -281,7 +281,7 @@
#endif
#ifndef _
diff --git a/debian/patches/gccgo-version.diff b/debian/patches/gccgo-version.diff
index d01a058..2ed8ab3 100644
--- a/debian/patches/gccgo-version.diff
+++ b/debian/patches/gccgo-version.diff
@@ -19,7 +19,7 @@ Index: b/src/libgo/Makefile.in
===================================================================
--- a/src/libgo/Makefile.in
+++ b/src/libgo/Makefile.in
-@@ -494,14 +494,14 @@
+@@ -411,14 +411,14 @@
SUFFIXES = .c .go .gox .o .obj .lo .a
@LIBGO_IS_RTEMS_TRUE@subdirs = testsuite
SUBDIRS = ${subdirs}
diff --git a/debian/patches/libffi-kfreebsd.diff b/debian/patches/libffi-kfreebsd.diff
index abde425..00b8a3f 100644
--- a/debian/patches/libffi-kfreebsd.diff
+++ b/debian/patches/libffi-kfreebsd.diff
@@ -1,8 +1,10 @@
# DP: libffi: Define FFI_MMAP_EXEC_WRIT on kfreebsd-*.
+Index: b/src/libffi/configure.ac
+===================================================================
--- a/src/libffi/configure.ac
+++ b/src/libffi/configure.ac
-@@ -313,7 +313,7 @@
+@@ -317,7 +317,7 @@
fi
case "$target" in
diff --git a/debian/patches/libffi-powerpc-sysv-without-string-ops.diff b/debian/patches/libffi-powerpc-sysv-without-string-ops.diff
index 49982db..6359d61 100644
--- a/debian/patches/libffi-powerpc-sysv-without-string-ops.diff
+++ b/debian/patches/libffi-powerpc-sysv-without-string-ops.diff
@@ -1,6 +1,8 @@
+Index: b/src/libffi/src/powerpc/ffi.c
+===================================================================
--- a/src/libffi/src/powerpc/ffi.c
+++ b/src/libffi/src/powerpc/ffi.c
-@@ -46,11 +46,6 @@
+@@ -45,11 +45,6 @@
FLAG_RETURNS_64BITS = 1 << (31-28),
FLAG_RETURNS_128BITS = 1 << (31-27), /* cr6 */
@@ -12,7 +14,7 @@
FLAG_ARG_NEEDS_COPY = 1 << (31- 7),
#ifndef __NO_FPRS__
-@@ -688,37 +683,22 @@
+@@ -687,37 +682,22 @@
break;
case FFI_TYPE_STRUCT:
@@ -65,7 +67,7 @@
case FFI_TYPE_VOID:
flags |= FLAG_RETURNS_NOTHING;
break;
-@@ -932,21 +912,30 @@
+@@ -931,21 +911,30 @@
void
ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue)
{
@@ -106,7 +108,7 @@
switch (cif->abi)
{
-@@ -968,6 +957,10 @@
+@@ -967,6 +956,10 @@
FFI_ASSERT (0);
break;
}
@@ -117,6 +119,8 @@
}
+Index: b/src/libffi/src/powerpc/sysv.S
+===================================================================
--- a/src/libffi/src/powerpc/sysv.S
+++ b/src/libffi/src/powerpc/sysv.S
@@ -142,19 +142,14 @@
diff --git a/debian/patches/libffi-ro-eh_frame_sect.diff b/debian/patches/libffi-ro-eh_frame_sect.diff
index d606685..f6015a1 100644
--- a/debian/patches/libffi-ro-eh_frame_sect.diff
+++ b/debian/patches/libffi-ro-eh_frame_sect.diff
@@ -1,8 +1,10 @@
# DP: PR libffi/47248, force a read only eh frame section.
+Index: b/src/libffi/configure.ac
+===================================================================
--- a/src/libffi/configure.ac
+++ b/src/libffi/configure.ac
-@@ -347,6 +347,8 @@
+@@ -351,6 +351,8 @@
libffi_cv_ro_eh_frame=yes
fi
fi
diff --git a/debian/patches/libgo-fix-arm.diff b/debian/patches/libgo-fix-arm.diff
index e01defd..ecf95a5 100644
--- a/debian/patches/libgo-fix-arm.diff
+++ b/debian/patches/libgo-fix-arm.diff
@@ -1,8 +1,10 @@
# DP: libgo: Work around parse error of struct timex_ on ARM
+Index: b/src/libgo/mksysinfo.sh
+===================================================================
--- a/src/libgo/mksysinfo.sh
+++ b/src/libgo/mksysinfo.sh
-@@ -137,6 +137,9 @@
+@@ -173,6 +173,9 @@
${CC} -fdump-go-spec=gen-sysinfo.go -std=gnu99 -S -o sysinfo.s sysinfo.c
diff --git a/debian/patches/libgo-hardening.diff b/debian/patches/libgo-hardening.diff
index 5799443..9dec26a 100644
--- a/debian/patches/libgo-hardening.diff
+++ b/debian/patches/libgo-hardening.diff
@@ -1,5 +1,7 @@
# DP: Avoid compiler warnings in libgo
+Index: b/src/libgo/runtime/print.c
+===================================================================
--- a/src/libgo/runtime/print.c
+++ b/src/libgo/runtime/print.c
@@ -17,7 +17,7 @@
@@ -10,4 +12,4 @@
+ ssize_t rv __attribute((unused)) = runtime_write(2, v, n);
return;
}
-
+
diff --git a/debian/patches/libgo-mksysinfo.diff b/debian/patches/libgo-mksysinfo.diff
index a936277..696c1d6 100644
--- a/debian/patches/libgo-mksysinfo.diff
+++ b/debian/patches/libgo-mksysinfo.diff
@@ -1,8 +1,10 @@
# DP: libgo: Fix TIOCNOTTY and TIOCSCTTY definitions
+Index: b/src/libgo/mksysinfo.sh
+===================================================================
--- a/src/libgo/mksysinfo.sh
+++ b/src/libgo/mksysinfo.sh
-@@ -101,6 +101,12 @@
+@@ -168,6 +168,12 @@
#ifdef TIOCGWINSZ
TIOCGWINSZ_val = TIOCGWINSZ,
#endif
@@ -15,7 +17,7 @@
};
EOF
-@@ -616,6 +622,16 @@
+@@ -717,6 +723,16 @@
echo 'const TIOCGWINSZ = _TIOCGWINSZ_val' >> ${OUT}
fi
fi
diff --git a/debian/patches/libjava-fixed-symlinks.diff b/debian/patches/libjava-fixed-symlinks.diff
index f463729..3728115 100644
--- a/debian/patches/libjava-fixed-symlinks.diff
+++ b/debian/patches/libjava-fixed-symlinks.diff
@@ -1,5 +1,7 @@
# DP: Remove unneed '..' elements from symlinks in JAVA_HOME
+Index: b/src/libjava/Makefile.am
+===================================================================
--- a/src/libjava/Makefile.am
+++ b/src/libjava/Makefile.am
@@ -831,7 +831,7 @@
@@ -11,9 +13,11 @@
}; \
RELATIVE=$$(relative $(DESTDIR)$(bindir) $(DESTDIR)$(SDK_BIN_DIR)); \
ln -sf $$RELATIVE/`echo gij | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'` \
+Index: b/src/libjava/Makefile.in
+===================================================================
--- a/src/libjava/Makefile.in
+++ b/src/libjava/Makefile.in
-@@ -12460,7 +12460,7 @@
+@@ -12462,7 +12462,7 @@
@CREATE_JAVA_HOME_TRUE@ $(mkinstalldirs) $(DESTDIR)$(SDK_INCLUDE_DIR)/$(OS)
@CREATE_JAVA_HOME_TRUE@ relative() { \
@CREATE_JAVA_HOME_TRUE@ $(PERL) -e 'use File::Spec; \
diff --git a/debian/patches/libjava-jnipath.diff b/debian/patches/libjava-jnipath.diff
index 96018cf..792aef8 100644
--- a/debian/patches/libjava-jnipath.diff
+++ b/debian/patches/libjava-jnipath.diff
@@ -2,9 +2,11 @@
# DP: - When running the i386 binaries on amd64, look in
# DP: - /usr/lib32/gcj-x.y and /usr/lib32/jni instead.
+Index: b/src/libjava/configure.ac
+===================================================================
--- a/src/libjava/configure.ac
+++ b/src/libjava/configure.ac
-@@ -1488,6 +1488,9 @@
+@@ -1543,6 +1543,9 @@
AC_C_BIGENDIAN
@@ -14,9 +16,11 @@
ZLIBS=
SYS_ZLIBS=
ZINCS=
+Index: b/src/libjava/Makefile.am
+===================================================================
--- a/src/libjava/Makefile.am
-+++ a/src/libjava/Makefile.am
-@@ -324,6 +324,7 @@
++++ b/src/libjava/Makefile.am
+@@ -362,6 +362,7 @@
$(WARNINGS) \
-D_GNU_SOURCE \
-DPREFIX="\"$(prefix)\"" \
@@ -24,9 +28,11 @@
-DTOOLEXECLIBDIR="\"$(toolexeclibdir)\"" \
-DJAVA_HOME="\"$(JAVA_HOME_DIR)\"" \
-DBOOT_CLASS_PATH="\"$(BOOT_CLASS_PATH_DIR)\"" \
+Index: b/src/libjava/Makefile.in
+===================================================================
--- a/src/libjava/Makefile.in
+++ b/src/libjava/Makefile.in
-@@ -744,6 +744,7 @@
+@@ -627,6 +627,7 @@
MAKE = @MAKE@
MAKEINFO = @MAKEINFO@
MKDIR_P = @MKDIR_P@
@@ -34,7 +40,7 @@
NM = nm
NMEDIT = @NMEDIT@
OBJDUMP = @OBJDUMP@
-@@ -1094,6 +1095,7 @@
+@@ -1009,6 +1010,7 @@
$(WARNINGS) \
-D_GNU_SOURCE \
-DPREFIX="\"$(prefix)\"" \
@@ -42,6 +48,8 @@
-DTOOLEXECLIBDIR="\"$(toolexeclibdir)\"" \
-DJAVA_HOME="\"$(JAVA_HOME_DIR)\"" \
-DBOOT_CLASS_PATH="\"$(BOOT_CLASS_PATH_DIR)\"" \
+Index: b/src/libjava/gnu/classpath/natSystemProperties.cc
+===================================================================
--- a/src/libjava/gnu/classpath/natSystemProperties.cc
+++ b/src/libjava/gnu/classpath/natSystemProperties.cc
@@ -141,6 +141,44 @@
diff --git a/debian/patches/libjava-multiarch.diff b/debian/patches/libjava-multiarch.diff
index e777bf7..14cde95 100644
--- a/debian/patches/libjava-multiarch.diff
+++ b/debian/patches/libjava-multiarch.diff
@@ -1,9 +1,11 @@
# DP: Install libjava libraries to multiarch location
+Index: b/src/libjava/configure.ac
+===================================================================
--- a/src/libjava/configure.ac
+++ b/src/libjava/configure.ac
-@@ -1592,6 +1592,10 @@
- ../lib*) toolexeclibdir='$(subst /lib/../lib,/lib,'$toolexecmainlibdir/$multi_os_directory')' ;;
+@@ -1603,6 +1603,10 @@
+ .) toolexeclibdir=$toolexecmainlibdir ;; # Avoid trailing /.
*) toolexeclibdir=$toolexecmainlibdir/$multi_os_directory ;;
esac
+ multiarch=`$CC -print-multiarch`
@@ -13,7 +15,7 @@
;;
esac
AC_SUBST(toolexecdir)
-@@ -1618,6 +1622,10 @@
+@@ -1628,6 +1632,10 @@
dbexecdir='$(libdir)/'$multi_os_directory/$gcjsubdir
;;
esac
@@ -24,9 +26,11 @@
AC_SUBST(dbexecdir)
AC_SUBST(gcjsubdir)
+Index: b/src/libjava/Makefile.am
+===================================================================
--- a/src/libjava/Makefile.am
+++ b/src/libjava/Makefile.am
-@@ -372,7 +372,7 @@
+@@ -371,7 +371,7 @@
-DGCJ_VERSIONED_LIBDIR="\"$(dbexecdir)\"" \
-DPATH_SEPARATOR="\"$(CLASSPATH_SEPARATOR)\"" \
-DECJ_JAR_FILE="\"$(ECJ_JAR)\"" \
@@ -35,6 +39,8 @@
-DLIBGCJ_DEFAULT_DATABASE_PATH_TAIL="\"$(db_pathtail)\""
AM_GCJFLAGS = \
+Index: b/src/libjava/Makefile.in
+===================================================================
--- a/src/libjava/Makefile.in
+++ b/src/libjava/Makefile.in
@@ -1019,7 +1019,7 @@
@@ -46,6 +52,8 @@
-DLIBGCJ_DEFAULT_DATABASE_PATH_TAIL="\"$(db_pathtail)\""
AM_GCJFLAGS = \
+Index: b/src/libjava/classpath/m4/acinclude.m4
+===================================================================
--- a/src/libjava/classpath/m4/acinclude.m4
+++ b/src/libjava/classpath/m4/acinclude.m4
@@ -252,6 +252,10 @@
@@ -59,6 +67,8 @@
AC_SUBST(toolexeclibdir)
])
+Index: b/src/libjava/classpath/configure.ac
+===================================================================
--- a/src/libjava/classpath/configure.ac
+++ b/src/libjava/classpath/configure.ac
@@ -16,6 +16,8 @@
diff --git a/debian/patches/libstdc++-arm-wno-abi.diff b/debian/patches/libstdc++-arm-wno-abi.diff
index a67bf85..50556b6 100644
--- a/debian/patches/libstdc++-arm-wno-abi.diff
+++ b/debian/patches/libstdc++-arm-wno-abi.diff
@@ -1,9 +1,11 @@
# DP: Temporary work around:
# DP: On arm-linux-gnueabi run the libstdc++v3 testsuite with -Wno-abi
+Index: b/src/libstdc++-v3/testsuite/lib/libstdc++.exp
+===================================================================
--- a/src/libstdc++-v3/testsuite/lib/libstdc++.exp
+++ b/src/libstdc++-v3/testsuite/lib/libstdc++.exp
-@@ -289,6 +289,10 @@
+@@ -290,6 +290,10 @@
}
append cxxflags " "
append cxxflags [getenv CXXFLAGS]
diff --git a/debian/patches/libstdc++-doclink.diff b/debian/patches/libstdc++-doclink.diff
index 8d532c8..0467e17 100644
--- a/debian/patches/libstdc++-doclink.diff
+++ b/debian/patches/libstdc++-doclink.diff
@@ -4,6 +4,8 @@
libstdc++-v3/doc/doxygen/mainpage.html | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
+Index: b/src/libstdc++-v3/doc/doxygen/mainpage.html
+===================================================================
--- a/src/libstdc++-v3/doc/doxygen/mainpage.html
+++ b/src/libstdc++-v3/doc/doxygen/mainpage.html
@@ -29,8 +29,8 @@
@@ -30,6 +32,8 @@
</p>
<p>Part of the generated documentation involved comments and notes from
SGI, who says we gotta say this:
+Index: b/src/libstdc++-v3/doc/html/api.html
+===================================================================
--- a/src/libstdc++-v3/doc/html/api.html
+++ b/src/libstdc++-v3/doc/html/api.html
@@ -19,6 +19,8 @@
@@ -39,8 +43,10 @@
+<a class="ulink" href="index.html"The API documentation, rendered into HTML, can be viewed offline.</a>
+</p><p>
The API documentation, rendered into HTML, can be viewed online:
- </p><div class="itemizedlist"><ul class="itemizedlist"><li class="listitem"><p>
- <a class="link" href="http://gcc.gnu.org/onlinedocs/libstdc++/libstdc++-html-USERS-3.4/index.html" target="">for the 3.4 release
+ </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
+ <a class="link" href="http://gcc.gnu.org/onlinedocs/libstdc++/libstdc++-html-USERS-3.4/index.html" target="_top">for the 3.4 release
+Index: b/src/libstdc++-v3/doc/xml/api.xml
+===================================================================
--- a/src/libstdc++-v3/doc/xml/api.xml
+++ b/src/libstdc++-v3/doc/xml/api.xml
@@ -36,6 +36,11 @@
diff --git a/debian/patches/libstdc++-man-3cxx.diff b/debian/patches/libstdc++-man-3cxx.diff
index 6d6ceaf..02bf725 100644
--- a/debian/patches/libstdc++-man-3cxx.diff
+++ b/debian/patches/libstdc++-man-3cxx.diff
@@ -4,7 +4,7 @@ Index: b/src/libstdc++-v3/doc/doxygen/user.cfg.in
===================================================================
--- a/src/libstdc++-v3/doc/doxygen/user.cfg.in
+++ b/src/libstdc++-v3/doc/doxygen/user.cfg.in
-@@ -1478,7 +1478,7 @@
+@@ -1534,7 +1534,7 @@
# The MAN_EXTENSION tag determines the extension that is added to
# the generated man pages (default is the subroutine's section .3)
diff --git a/debian/patches/libstdc++-pic.diff b/debian/patches/libstdc++-pic.diff
index 2c09318..10a9958 100644
--- a/debian/patches/libstdc++-pic.diff
+++ b/debian/patches/libstdc++-pic.diff
@@ -1,10 +1,10 @@
# DP: Build and install libstdc++_pic.a library.
-Index: libstdc++-v3/src/Makefile.am
+Index: b/src/libstdc++-v3/src/Makefile.am
===================================================================
---- a/src/libstdc++-v3/src/Makefile.am (revision 183664)
-+++ b/src/libstdc++-v3/src/Makefile.am (working copy)
-@@ -195,10 +195,12 @@
+--- a/src/libstdc++-v3/src/Makefile.am
++++ b/src/libstdc++-v3/src/Makefile.am
+@@ -255,10 +255,12 @@
STAMP_DEBUG = build-debug
STAMP_INSTALL_DEBUG = install-debug
CLEAN_DEBUG = debug
@@ -17,7 +17,7 @@ Index: libstdc++-v3/src/Makefile.am
endif
# Build a debug variant.
-@@ -233,6 +235,7 @@
+@@ -293,6 +295,7 @@
mv Makefile Makefile.tmp; \
sed -e 's,all-local: all-once,all-local:,' \
-e 's,install-data-local: install-data-once,install-data-local:,' \
@@ -25,7 +25,7 @@ Index: libstdc++-v3/src/Makefile.am
-e '/vpath/!s,src/c,src/debug/c,' \
< Makefile.tmp > Makefile ; \
$(MAKE) CXXFLAGS='$(DEBUG_FLAGS)' \
-@@ -242,3 +245,8 @@
+@@ -302,3 +305,8 @@
install-debug: build-debug
(cd ${debugdir} && $(MAKE) CXXFLAGS='$(DEBUG_FLAGS)' \
toolexeclibdir=$(glibcxx_toolexeclibdir)/debug install) ;
@@ -34,11 +34,11 @@ Index: libstdc++-v3/src/Makefile.am
+$(STAMP_INSTALL_PIC):
+ $(MKDIR_P) $(DESTDIR)$(toolexeclibdir)
+ $(INSTALL_DATA) .libs/libstdc++convenience.a $(DESTDIR)$(toolexeclibdir)/libstdc++_pic.a
-Index: libstdc++-v3/src/Makefile.in
+Index: b/src/libstdc++-v3/src/Makefile.in
===================================================================
---- a/src/libstdc++-v3/src/Makefile.in (revision 183664)
-+++ b/src/libstdc++-v3/src/Makefile.in (working copy)
-@@ -415,6 +415,8 @@
+--- a/src/libstdc++-v3/src/Makefile.in
++++ b/src/libstdc++-v3/src/Makefile.in
+@@ -443,6 +443,8 @@
@GLIBCXX_BUILD_DEBUG_TRUE@STAMP_INSTALL_DEBUG = install-debug
@GLIBCXX_BUILD_DEBUG_FALSE@CLEAN_DEBUG =
@GLIBCXX_BUILD_DEBUG_TRUE@CLEAN_DEBUG = debug
@@ -47,7 +47,7 @@ Index: libstdc++-v3/src/Makefile.in
# Build a debug variant.
# Take care to fix all possibly-relative paths.
-@@ -694,7 +696,7 @@
+@@ -732,7 +734,7 @@
install-dvi-am:
@@ -56,7 +56,7 @@ Index: libstdc++-v3/src/Makefile.in
install-html: install-html-recursive
-@@ -745,11 +747,11 @@
+@@ -783,11 +785,11 @@
distclean-libtool distclean-tags dvi dvi-am html html-am info \
info-am install install-am install-data install-data-am \
install-data-local install-dvi install-dvi-am install-exec \
@@ -73,7 +73,7 @@ Index: libstdc++-v3/src/Makefile.in
maintainer-clean-generic mostlyclean mostlyclean-compile \
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
tags tags-recursive uninstall uninstall-am \
-@@ -845,6 +847,7 @@
+@@ -914,6 +916,7 @@
mv Makefile Makefile.tmp; \
sed -e 's,all-local: all-once,all-local:,' \
-e 's,install-data-local: install-data-once,install-data-local:,' \
@@ -81,7 +81,7 @@ Index: libstdc++-v3/src/Makefile.in
-e '/vpath/!s,src/c,src/debug/c,' \
< Makefile.tmp > Makefile ; \
$(MAKE) CXXFLAGS='$(DEBUG_FLAGS)' \
-@@ -855,6 +858,11 @@
+@@ -924,6 +927,11 @@
(cd ${debugdir} && $(MAKE) CXXFLAGS='$(DEBUG_FLAGS)' \
toolexeclibdir=$(glibcxx_toolexeclibdir)/debug install) ;
diff --git a/debian/patches/libstdc++-test-installed.diff b/debian/patches/libstdc++-test-installed.diff
index b671fce..7784cfc 100644
--- a/debian/patches/libstdc++-test-installed.diff
+++ b/debian/patches/libstdc++-test-installed.diff
@@ -1,9 +1,11 @@
# DP: Add support to run the libstdc++-v3 testsuite using the
# DP: installed shared libraries.
+Index: b/src/libstdc++-v3/testsuite/lib/libstdc++.exp
+===================================================================
--- a/src/libstdc++-v3/testsuite/lib/libstdc++.exp
+++ b/src/libstdc++-v3/testsuite/lib/libstdc++.exp
-@@ -38,6 +38,12 @@
+@@ -39,6 +39,12 @@
# the last thing before testing begins. This can be defined in, e.g.,
# ~/.dejagnurc or $DEJAGNU.
@@ -16,7 +18,7 @@
proc load_gcc_lib { filename } {
global srcdir
load_file $srcdir/../../gcc/testsuite/lib/$filename
-@@ -94,6 +100,7 @@
+@@ -95,6 +101,7 @@
global tool_timeout
global DEFAULT_CXXFLAGS
global STATIC_LIBCXXFLAGS
@@ -24,7 +26,7 @@
# We set LC_ALL and LANG to C so that we get the same error
# messages as expected.
-@@ -109,6 +116,9 @@
+@@ -110,6 +117,9 @@
set blddir [lookfor_file [get_multilibs] libstdc++-v3]
set flags_file "${blddir}/scripts/testsuite_flags"
@@ -34,7 +36,7 @@
set shlib_ext [get_shlib_extension]
v3track flags_file 2
-@@ -140,7 +150,11 @@
+@@ -141,7 +151,11 @@
# Locate libgcc.a so we don't need to account for different values of
# SHLIB_EXT on different platforms
@@ -47,7 +49,7 @@
if {$gccdir != ""} {
set gccdir [file dirname $gccdir]
append ld_library_path_tmp ":${gccdir}"
-@@ -149,7 +163,11 @@
+@@ -150,7 +164,11 @@
# Locate libgomp. This is only required for parallel mode.
set v3-libgomp 0
@@ -60,7 +62,7 @@
if {$libgompdir != ""} {
set v3-libgomp 1
set libgompdir [file dirname $libgompdir]
-@@ -160,7 +178,12 @@
+@@ -161,7 +179,12 @@
# Locate libstdc++ shared library. (ie libstdc++.so.)
set v3-sharedlib 0
diff --git a/debian/patches/pr24619.diff b/debian/patches/pr24619.diff
index 2f20205..39acb41 100644
--- a/debian/patches/pr24619.diff
+++ b/debian/patches/pr24619.diff
@@ -1,8 +1,10 @@
# DP: Proposed patch for PR mudflap/24619 (instrumentation of dlopen)
+Index: b/src/libmudflap/mf-hooks2.c
+===================================================================
--- a/src/libmudflap/mf-hooks2.c
+++ b/src/libmudflap/mf-hooks2.c
-@@ -1674,8 +1674,10 @@
+@@ -1677,8 +1677,10 @@
size_t n;
TRACE ("%s\n", __PRETTY_FUNCTION__);
n = strlen (path);
diff --git a/debian/patches/pr26155.diff b/debian/patches/pr26155.diff
index 99a0c9e..95d97fe 100644
--- a/debian/patches/pr26155.diff
+++ b/debian/patches/pr26155.diff
@@ -14,10 +14,10 @@ gcc/testsuite/
PR c++/26155
* g++.dg/parse/namespace-alias-1.C: New.
-Index: gcc/testsuite/g++.dg/parse/namespace-alias-1.C
+Index: b/src/gcc/testsuite/g++.dg/parse/namespace-alias-1.C
===================================================================
---- a/src/gcc/testsuite/g++.dg/parse/namespace-alias-1.C (revision 0)
-+++ b/src/gcc/testsuite/g++.dg/parse/namespace-alias-1.C (revision 188113)
+--- /dev/null
++++ b/src/gcc/testsuite/g++.dg/parse/namespace-alias-1.C
@@ -0,0 +1,7 @@
+// PR c++/26155
+
@@ -26,11 +26,11 @@ Index: gcc/testsuite/g++.dg/parse/namespace-alias-1.C
+ namespace M = N; // { dg-error "previous declaration" }
+ namespace M {} // { dg-error "declaration of namespace" }
+}
-Index: gcc/cp/name-lookup.c
+Index: b/src/gcc/cp/name-lookup.c
===================================================================
---- a/src/gcc/cp/name-lookup.c (revision 188112)
-+++ b/src/gcc/cp/name-lookup.c (revision 188113)
-@@ -3518,8 +3518,8 @@
+--- a/src/gcc/cp/name-lookup.c
++++ b/src/gcc/cp/name-lookup.c
+@@ -3523,8 +3523,8 @@
push_namespace (tree name)
{
tree d = NULL_TREE;
@@ -41,7 +41,7 @@ Index: gcc/cp/name-lookup.c
bool anon = !name;
bool subtime = timevar_cond_start (TV_NAME_LOOKUP);
-@@ -3535,8 +3535,8 @@
+@@ -3540,8 +3540,8 @@
d = IDENTIFIER_NAMESPACE_VALUE (name);
if (d)
/* Reopening anonymous namespace. */
@@ -52,7 +52,7 @@ Index: gcc/cp/name-lookup.c
}
else
{
-@@ -3544,13 +3544,36 @@
+@@ -3549,13 +3549,36 @@
d = IDENTIFIER_NAMESPACE_VALUE (name);
if (d != NULL_TREE && TREE_CODE (d) == NAMESPACE_DECL)
{
diff --git a/debian/patches/pr45078.diff b/debian/patches/pr45078.diff
index bdf80f1..d530748 100644
--- a/debian/patches/pr45078.diff
+++ b/debian/patches/pr45078.diff
@@ -12,7 +12,7 @@ Index: b/src/gcc/Makefile.in
===================================================================
--- a/src/gcc/Makefile.in
+++ b/src/gcc/Makefile.in
-@@ -4547,6 +4547,7 @@
+@@ -4554,6 +4554,7 @@
$(C_PRAGMA_H) $(CPPLIB_H) $(FUNCTION_H) \
cppdefault.h flags.h $(MD5_H) params.def params.h prefix.h tree-inline.h \
gimple-pretty-print.h tree-pretty-print.h realmpfr.h \
@@ -24,7 +24,7 @@ Index: b/src/gcc/config.gcc
===================================================================
--- a/src/gcc/config.gcc
+++ b/src/gcc/config.gcc
-@@ -486,6 +486,9 @@
+@@ -540,6 +540,9 @@
fi
tm_file="vxworks-dummy.h ${tm_file}"
;;
diff --git a/debian/patches/pr47818.diff b/debian/patches/pr47818.diff
index 04cfbf4..cc931d2 100644
--- a/debian/patches/pr47818.diff
+++ b/debian/patches/pr47818.diff
@@ -1,10 +1,10 @@
# DP: Fix PR ada/47818: Pragma Assert is rejected with No_Implementation_Pragmas restriction.
-diff --git a/gcc/ada/sem_prag.adb b/gcc/ada/sem_prag.adb
-index fd509c4..b5bae50 100644
+Index: b/src/gcc/ada/sem_prag.adb
+===================================================================
--- a/src/gcc/ada/sem_prag.adb
+++ b/src/gcc/ada/sem_prag.adb
-@@ -6477,7 +6477,16 @@ package body Sem_Prag is
+@@ -7186,7 +7186,16 @@
-- Set True if category of assertions referenced by Name enabled
begin
diff --git a/debian/patches/pr49944.diff b/debian/patches/pr49944.diff
index de41501..c28b09d 100644
--- a/debian/patches/pr49944.diff
+++ b/debian/patches/pr49944.diff
@@ -183,7 +183,7 @@ Index: b/src/gcc/ada/gcc-interface/Makefile.in
===================================================================
--- a/src/gcc/ada/gcc-interface/Makefile.in
+++ b/src/gcc/ada/gcc-interface/Makefile.in
-@@ -1145,9 +1145,7 @@
+@@ -1160,9 +1160,7 @@
s-osinte.adb<s-osinte-posix.adb \
s-osinte.ads<s-osinte-kfreebsd-gnu.ads \
s-osprim.adb<s-osprim-posix.adb \
@@ -194,7 +194,7 @@ Index: b/src/gcc/ada/gcc-interface/Makefile.in
s-taspri.ads<s-taspri-posix.ads \
s-tpopsp.adb<s-tpopsp-posix-foreign.adb \
$(ATOMICS_TARGET_PAIRS) \
-@@ -1176,9 +1174,7 @@
+@@ -1191,9 +1189,7 @@
s-osinte.adb<s-osinte-posix.adb \
s-osinte.ads<s-osinte-kfreebsd-gnu.ads \
s-osprim.adb<s-osprim-posix.adb \
diff --git a/debian/patches/sparc-force-cpu.diff b/debian/patches/sparc-force-cpu.diff
index f7447e4..9c4c73f 100644
--- a/debian/patches/sparc-force-cpu.diff
+++ b/debian/patches/sparc-force-cpu.diff
@@ -1,8 +1,10 @@
# DP: On sparc default to ultrasparc (v9a) in 32bit mode
+Index: b/src/gcc/config.gcc
+===================================================================
--- a/src/gcc/config.gcc
+++ b/src/gcc/config.gcc
-@@ -3736,6 +3736,13 @@
+@@ -3813,6 +3813,13 @@
;;
esac