Commit 8cd7c038 authored by Jeff Chapman II's avatar Jeff Chapman II

update to current devel/c++-modules

b27bcc6c8366309137ab2577870914829dcf94d2
parent 4c0a2e55

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

2020-05-28 Nicolas Bértolo <[email protected]>
* configure.ac: Don't require --enable-host-shared when building
for Mingw.
* configure: Regenerate.
2020-05-18 Jason Merrill <[email protected]>
* configure.ac: Update bootstrap dialect to -std=c++11.
......
2020-06-11 Nathan Sidwell <[email protected]>
Merge master b825a228907
2020-06-10 Nathan Sidwell <[email protected]>
Merge master ac9face8d26
PR c++/95263
gcc/cp/
* pt.c (lookup_template_class_1): Do not apply reversion
gcc/testsuite/
* g++.dg/template/pr95263.C: New (XFAIL)
Merge master 6c8e16aea85
2020-06-10 Iain Sandoe <[email protected]>
Fixes for darwin
gcc/cp/
* mapper-server.cc: Reorder includes.
(server): Block scope potentially empty if clause.
* module.cc (get_mapper): Don't use C++14.
gcc/testsuite/
* g++.dg/modules/bad-mapper-3: Adjust error.
2020-06-05 Nathan Sidwell <[email protected]>
Install V1 module protocol goop
gcc/cp/
* Make-lang.in: Remove mapper-server2 hack.
* mapper-client.cc: Add additional mechanisms to get a server.
* mapper-client.h: Delete.
* mapper-resolver.cc: Fix file reading bugs
* mapper-server.cc: Original deleted.
* mapper-server2.cc: Renamed to mapper-server.cc.
* mapper.h: Adjust.
* module.cc: Adjust.
gcc/testsuite/
* g++.dg/modules/bad-mapper-1.C: Adjust expected errors.
* g++.dg/modules/bad-mapper-2.C: Likewise.
* g++.dg/modules/bad-mapper-3.C: Likewise.
* g++.dg/modules/map-2.C: Likewise.
Add libcody as an external library
* libcody: Delete
* Makefile.def: Revert.
* configure.ac: Revert. Add --with-libcody.
* Makefile.tpl: Add CODYLIB, CODYLIBINC, HOST_CODYLIB, HOST_CODYLIBINC.
* Makefile.in: Rebuilt.
* configure: Rebuilt.
gcc/
* Makefile.in: Revert. Add CODYLIB, CODYLIBINC.
* configure.ac: Add CODYLIB, CODYLIBINC.
* configure: Rebuilt.
gcc/cp
* Make-lang.in: Revert.
2020-06-02 Nathan Sidwell <[email protected]>
Add libcody with stub users
* libcody: New. Currently a symlink to cody repo.
* Makefile.def: Add libcody.
* configure.ac: Add libcody.
* Makefile.in: Rebuilt.
* configure: Rebuilt.
gcc/
* Makefile.in: Add libcody.
gcc/cp/
* Make-lang.in: Add libcody
* mapper.h: New stub/
* mapper-resolver.cc: New stub.
* mapper-server2.cc: New stub.
2020-05-21 Nathan Sidwell <[email protected]>
Merge master 149c8c7c27a
......
......@@ -226,6 +226,8 @@ HOST_EXPORTS = \
GMPINC="$(HOST_GMPINC)"; export GMPINC; \
ISLLIBS="$(HOST_ISLLIBS)"; export ISLLIBS; \
ISLINC="$(HOST_ISLINC)"; export ISLINC; \
CODYLIB="$(HOST_CODYLIB)"; export CODYLIB; \
CODYLIBINC="$(HOST_CODYLIBINC)"; export CODYLIBINC; \
LIBELFLIBS="$(HOST_LIBELFLIBS)"; export LIBELFLIBS; \
LIBELFINC="$(HOST_LIBELFINC)"; export LIBELFINC; \
XGCC_FLAGS_FOR_TARGET="$(XGCC_FLAGS_FOR_TARGET)"; export XGCC_FLAGS_FOR_TARGET; \
......@@ -329,6 +331,10 @@ HOST_GMPINC = @[email protected]
HOST_ISLLIBS = @[email protected]
HOST_ISLINC = @[email protected]
# Where to find libcody
HOST_CODYLIB = @[email protected]
HOST_CODYLIBINC = @[email protected]
# Where to find libelf
HOST_LIBELFLIBS = @[email protected]
HOST_LIBELFINC = @[email protected]
......@@ -229,6 +229,8 @@ HOST_EXPORTS = \
GMPINC="$(HOST_GMPINC)"; export GMPINC; \
ISLLIBS="$(HOST_ISLLIBS)"; export ISLLIBS; \
ISLINC="$(HOST_ISLINC)"; export ISLINC; \
CODYLIB="$(HOST_CODYLIB)"; export CODYLIB; \
CODYLIBINC="$(HOST_CODYLIBINC)"; export CODYLIBINC; \
LIBELFLIBS="$(HOST_LIBELFLIBS)"; export LIBELFLIBS; \
LIBELFINC="$(HOST_LIBELFINC)"; export LIBELFINC; \
XGCC_FLAGS_FOR_TARGET="$(XGCC_FLAGS_FOR_TARGET)"; export XGCC_FLAGS_FOR_TARGET; \
......@@ -332,6 +334,10 @@ HOST_GMPINC = @[email protected]
HOST_ISLLIBS = @[email protected]
HOST_ISLINC = @[email protected]
# Where to find libcody
HOST_CODYLIB = @[email protected]
HOST_CODYLIBINC = @[email protected]
# Where to find libelf
HOST_LIBELFLIBS = @[email protected]
HOST_LIBELFINC = @[email protected]
......
2020-05-29 H.J. Lu <[email protected]>
PR bootstrap/95413
* cet.m4: Replace save_CFLAGS and save_LDFLAGS with
cet_save_CFLAGS and cet_save_LDFLAGS.
2020-05-18 Jason Merrill <[email protected]>
* ax_cxx_compile_stdcxx.m4: Import from autoconf archive with
......
......@@ -7,13 +7,14 @@ GCC_ENABLE(cet, auto, ,[enable Intel CET in target libraries],
permit yes|no|auto)
AC_MSG_CHECKING([for CET support])
# NB: Avoid nested save_CFLAGS and save_LDFLAGS.
case "$host" in
i[[34567]]86-*-linux* | x86_64-*-linux*)
case "$enable_cet" in
auto)
# Check if target supports multi-byte NOPs
# and if assembler supports CET insn.
save_CFLAGS="$CFLAGS"
cet_save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -fcf-protection"
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM(
......@@ -27,7 +28,7 @@ asm ("setssbsy");
])],
[enable_cet=yes],
[enable_cet=no])
CFLAGS="$save_CFLAGS"
CFLAGS="$cet_save_CFLAGS"
;;
yes)
# Check if assembler supports CET.
......@@ -64,7 +65,7 @@ AC_MSG_CHECKING([for CET support])
case "$host" in
i[[34567]]86-*-linux* | x86_64-*-linux*)
may_have_cet=yes
save_CFLAGS="$CFLAGS"
cet_save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -fcf-protection"
case "$enable_cet" in
auto)
......@@ -93,7 +94,7 @@ asm ("setssbsy");
[AC_MSG_ERROR([assembler with CET support is required for --enable-cet])])
;;
esac
CFLAGS="$save_CFLAGS"
CFLAGS="$cet_save_CFLAGS"
;;
*)
may_have_cet=no
......@@ -101,9 +102,9 @@ asm ("setssbsy");
;;
esac
save_CFLAGS="$CFLAGS"
cet_save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -fcf-protection=none"
save_LDFLAGS="$LDFLAGS"
cet_save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -Wl,-z,ibt,-z,shstk"
if test x$may_have_cet = xyes; then
# Check whether -fcf-protection=none -Wl,-z,ibt,-z,shstk work.
......@@ -159,6 +160,6 @@ if test x$enable_cet = xyes; then
else
AC_MSG_RESULT([no])
fi
CFLAGS="$save_CFLAGS"
LDFLAGS="$save_LDFLAGS"
CFLAGS="$cet_save_CFLAGS"
LDFLAGS="$cet_save_LDFLAGS"
])
......@@ -688,6 +688,8 @@ poststage1_ldflags
poststage1_libs
stage1_ldflags
stage1_libs
codylibinc
codylib
extra_isl_gmp_configure_flags
extra_mpc_mpfr_configure_flags
extra_mpc_gmp_configure_flags
......@@ -805,6 +807,9 @@ with_gmp_dir
with_gmp
with_gmp_include
with_gmp_lib
with_libcody
with_libcody_include
with_libcody_lib
with_stage1_libs
with_static_standard_libraries
with_stage1_ldflags
......@@ -1579,6 +1584,14 @@ Optional Packages:
--with-gmp-lib=PATH/lib
--with-gmp-include=PATH specify directory for installed GMP include files
--with-gmp-lib=PATH specify directory for the installed GMP library
--with-libcody=PATH specify prefix directory for installed libcody
package. Equivalent to
--with-libcody-include=PATH/include plus
--with-libcody-lib=PATH/lib
--with-libcody-include=PATH
specify directory for installed libcody include
files
--with-libcody-lib=PATH specify directory for the installed libcody library
--with-stage1-libs=LIBS libraries for stage1
--with-static-standard-libraries
use -static-libstdc++ and -static-libgcc
......@@ -5944,6 +5957,39 @@ fi
# Specify a location for libcody
# Check whether --with-libcody was given.
if test "${with_libcody+set}" = set; then :
withval=$with_libcody;
fi
# Check whether --with-libcody-include was given.
if test "${with_libcody_include+set}" = set; then :
withval=$with_libcody_include;
fi
# Check whether --with-libcody-lib was given.
if test "${with_libcody_lib+set}" = set; then :
withval=$with_libcody_lib;
fi
if test "x$with_libcody" != x; then
codylib="-L$with_libcody/lib"