Hi Arnaud,
Currently Ada bootstrap is broken for bootstrap compiler == gcc-trunk, and
platform == powerpc-darwin9 (although it is possible to bootstrap with gcc-4.9).
The reason is that generations of sinfo.h appears now to _require_ support for
atomics (I assume that's intended).
In fact, w.r.t atomics there's no need to treat powerpc-darwin any differently
from other ppc platform.
The patch below enables them which restores bootstrap and fixes 15 acts and 8
gnat regressions (which essentially, leaves GCC trunk on parity with gcc-4.9
for Ada on the powerpc-darwin9 platform).
This is a bootstrap fail, albeit for an unmentioned target - however, it is
entirely local to the platform, so
OK for trunk?
Iain
Tested on powerpc-darwin9, x86_86-darwin12 and x86_64-darwin12 X
powerpc-darwin9 (and by Dominique too, thanks!).
gcc/ada:
* gcc-interface/Makefile.in (darwin, powerpc): Enable atomics.
diff --git a/gcc/ada/gcc-interface/Makefile.in
b/gcc/ada/gcc-interface/Makefile.in
index 60c1b5b..ecc443e 100644
--- a/gcc/ada/gcc-interface/Makefile.in
+++ b/gcc/ada/gcc-interface/Makefile.in
@@ -2321,7 +2321,9 @@ ifeq ($(strip $(filter-out darwin%,$(target_os))),)
s-intman.adb<s-intman-posix.adb \
s-osprim.adb<s-osprim-posix.adb \
a-numaux.ads<a-numaux-darwin.ads \
- a-numaux.adb<a-numaux-darwin.adb
+ a-numaux.adb<a-numaux-darwin.adb \
+ $(ATOMICS_TARGET_PAIRS) \
+ $(ATOMICS_BUILTINS_TARGET_PAIRS)
ifeq ($(strip $(MULTISUBDIR)),/ppc64)
LIBGNAT_TARGET_PAIRS += \