This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./b2 --prefix=/opt/iains/x86_64-apple-darwin19/boost-1-78 --build-dir=gcc-13-cxx17 toolset=gcc-13 cxxflags="-std=c++17 -fno-visibility-inlines-hidden" variant=release visibility=global link=static threading=multi install | |
799 /src-local/openssl-1.1.1l/Configure --prefix=/opt/iains/x86_64-apple-darwin19/folly-deps-gcc13-cxx17 no-shared darwin64-x86_64-cc >conf.txt | |
801 time nice make -j6 >b.txt 2>e.yxy | |
803 time nice make install >ins.txt 2>ine.txt | |
807 cmake -DCMAKE_INSTALL_PREFIX=/opt/iains/x86_64-apple-darwin19/folly-deps-gcc13-cxx17 -DCMAKE_CXX_COMPILER=/opt/iains/x86_64-apple-darwin19/gcc-13-0-0-coro/bin/g++ -DCMAKE_CXX_STANDARD=17 -DBUILD_SHARED_LIBS=OFF -DBUILD_STATIC_LIBS=ON -DCMAKE_PREFIX_PATH=/opt/iains/x86_64-apple-darwin19/folly-deps-gcc13-cxx17 /src-local/double-conversion-3.1.4 >conf.txt | |
808 time nice make -j6 >b.txt 2>e.txt | |
810 time nice make install >ins.txt 2>ine.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for this (and three other) functions in this test Darwin's port is producing very different code from linux (and it's not especially obvious to me why it would, since I've not [at least inentionally] modified any vector stuff): | |
EDIT: explanation is that the Linux long double is 128 bit, where the Darwin ABI has long double same as double. | |
long double | |
check_l_pos (long double x, long double y) | |
{ | |
return x * __builtin_copysignl (1.0, y); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Closure type that runs the original function with the supplied args. | |
auto __callable = [&] { | |
std::__invoke(std::forward<_Callable>(__f), | |
std::forward<_Args>(__args)...); | |
}; | |
// Trampoline to call the actual fn; we will pass in the closure address. | |
void (*__oc_tramp)(void*) | |
= [] (void *ca) { (*static_cast<decltype(__callable)*>(ca))(); }; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Makefile.def b/Makefile.def | |
index 067d70a8e02..fbbcc3865e2 100644 | |
--- a/Makefile.def | |
+++ b/Makefile.def | |
@@ -345,7 +345,7 @@ dependencies = { module=all-build-fixincludes; on=all-build-libiberty; }; | |
dependencies = { module=all-build-libcpp; on=all-build-libiberty; }; | |
// Host modules specific to gcc. | |
-dependencies = { module=configure-gcc; on=configure-gettext-runtime; }; | |
+dependencies = { module=configure-gcc; on=configure-gettext; }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
these two files are in my dejagnu-boards/ | |
I then use --target_board=dummy in my RUNTESTFLAGS | |
no-exe.exp: | |
proc no_exe_load { dest prog args } { | |
verbose -log "no_exe_load $prog $args " | |
return [list "xfail" $prog $args] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 0123fb126ce7817222aecb9545a3f26e6fc297b2 Mon Sep 17 00:00:00 2001 | |
From: Iain Sandoe <iain@sandoe.co.uk> | |
Date: Tue, 10 Jan 2023 09:10:25 +0000 | |
Subject: [PATCH] modula-2, driver: Try to fix up specs and command line v3.1 | |
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk> | |
gcc/ChangeLog: | |
* gcc.cc (fe_add_spec_function): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/gcc/cp/coroutines.cc b/gcc/cp/coroutines.cc | |
index 3f23317a315..c1a0d6c2283 100644 | |
--- a/gcc/cp/coroutines.cc | |
+++ b/gcc/cp/coroutines.cc | |
@@ -32,6 +32,7 @@ along with GCC; see the file COPYING3. If not see | |
#include "tree.h" | |
#include "gcc-rich-location.h" | |
#include "hash-map.h" | |
+#include "cgraph.h" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ================= Debug. ================= */ | |
#include "cxx-pretty-print.h" | |
extern void debug_tree (tree); | |
void | |
coro_dump_frame (tree fr) | |
{ | |
gcc_checking_assert (TREE_CODE (fr) == RECORD_TYPE); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/gcc/ada/Makefile.rtl b/gcc/ada/Makefile.rtl | |
index 59db72834dc..9e0c545a7be 100644 | |
--- a/gcc/ada/Makefile.rtl | |
+++ b/gcc/ada/Makefile.rtl | |
@@ -2856,7 +2856,7 @@ LIBGNAT_TARGET_PAIRS += \ | |
# LIBGNAT_SRCS is the list of all C files (including headers) of the runtime | |
# library. LIBGNAT_OBJS is the list of object files for libgnat. | |
-# thread.cc is special as put into GNATRTL_TASKING_OBJS | |
+# thread.c is special as put into GNATRTL_TASKING_OBJS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/libstdc++-v3/include/c_compatibility/fenv.h b/libstdc++-v3/include/c_compatibility/fenv.h | |
index 0413e3b7c25..6b491ecf003 100644 | |
--- a/libstdc++-v3/include/c_compatibility/fenv.h | |
+++ b/libstdc++-v3/include/c_compatibility/fenv.h | |
@@ -26,6 +26,10 @@ | |
* This is a Standard C++ Library header. | |
*/ | |
+#if !defined __cplusplus || defined _GLIBCXX_INCLUDE_NEXT_C_HEADERS | |
+# include_next <fenv.h> |
NewerOlder