Commit 3ad6b1a5 authored by Jeff Chapman's avatar Jeff Chapman

update to current svn

parent 8c6e8430
2019-04-21 Iain Sandoe <iain@sandoe.co.uk>
* MAINTAINERS: Add myself as co-maintainer for Darwin.
2019-04-18 Iain Sandoe <iain@sandoe.co.uk>
* MAINTAINERS: Update my email address.
2019-04-14 Johannes Pfau <johannespfau@gmail.com>
* configure.ac: Remove d from unsupported languages on mingw and cygwin.
* configure: Regenerate.
2019-04-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* configure.ac (enable_libphobos): Check LIBPHOBOS_SUPPORTED.
* configure: Regenerate.
2019-04-12 Iain Buclaw <ibuclaw@gdcproject.org>
* configure.ac: Add target-zlib to target_libraries.
* configure: Regenerate.
2019-04-09 Martin Liska <mliska@suse.cz>
* Makefile.in: Regenerate.
* Makefile.tpl: Pass GENERATOR_CFLAGS
in all stages.
2019-03-28 Martin Liska <mliska@suse.cz>
PR bootstrap/89829
......
......@@ -126,6 +126,7 @@ xtensa port Sterling Augustine <augustine.sterling@gmail.com>
aix David Edelsohn <dje.gcc@gmail.com>
Android sub-port Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
darwin port Iain Sandoe <iain@sandoe.co.uk>
darwin port Mike Stump <mikestump@comcast.net>
DJGPP DJ Delorie <dj@delorie.com>
freebsd Andreas Tobler <andreast@gcc.gnu.org>
......@@ -156,7 +157,7 @@ c++ Nathan Sidwell <nathan@acm.org>
D front end Iain Buclaw <ibuclaw@gdcproject.org>
go Ian Lance Taylor <ian@airs.com>
objective-c/c++ Mike Stump <mikestump@comcast.net>
objective-c/c++ Iain Sandoe <iain@codesourcery.com>
objective-c/c++ Iain Sandoe <iain@sandoe.co.uk>
Various Maintainers
......
This diff is collapsed.
......@@ -624,6 +624,7 @@ BASE_FLAGS_TO_PASS =[+ FOR flags_to_pass +][+ IF optional +] \
"[+flag+]=$([+flag+])"[+ ENDIF optional+][+ ENDFOR flags_to_pass +][+ FOR bootstrap-stage +] \
"STAGE[+id+]_CFLAGS=$(STAGE[+id+]_CFLAGS)" \
"STAGE[+id+]_CXXFLAGS=$(STAGE[+id+]_CXXFLAGS)" \
"STAGE[+id+]_GENERATOR_CFLAGS=$(STAGE[+id+]_GENERATOR_CFLAGS)" \
"STAGE[+id+]_TFLAGS=$(STAGE[+id+]_TFLAGS)"[+ ENDFOR bootstrap-stage +] \
$(CXX_FOR_TARGET_FLAG_TO_PASS) \
"TFLAGS=$(TFLAGS)" \
......@@ -1193,6 +1194,7 @@ all-stage[+id+]-[+prefix+][+module+]: configure-stage[+id+]-[+prefix+][+module+]
CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"[+ ELSE prefix +] \
CFLAGS="$(STAGE[+id+]_CFLAGS)" \
GENERATOR_CFLAGS="$(STAGE[+id+]_GENERATOR_CFLAGS)" \
CXXFLAGS="$(STAGE[+id+]_CXXFLAGS)"[+ IF prev +] \
LIBCFLAGS="$(STAGE[+id+]_CFLAGS)"[+ ELSE prev +] \
LIBCFLAGS="$(LIBCFLAGS)"[+ ENDIF prev +][+ ENDIF prefix +] \
......
2019-04-16 Martin Liska <mliska@suse.cz>
* bootstrap-lto-lean.mk: Filter out -flto in STAGEtrain_CFLAGS.
2019-04-09 Martin Liska <mliska@suse.cz>
* bootstrap-lto-lean.mk: New file.
2019-03-02 Johannes Pfau <johannespfau@gmail.com>
* mh-mingw: Also set __USE_MINGW_ACCESS flag for C++ code.
......
# This option enables LTO for stage4 and LTO for generators in stage3 with profiledbootstrap.
# Otherwise, LTO is used in only stage3.
STAGE3_CFLAGS += -flto=jobserver
override STAGEtrain_CFLAGS := $(filter-out -flto=jobserver,$(STAGEtrain_CFLAGS))
STAGEtrain_GENERATOR_CFLAGS += -flto=jobserver
STAGEfeedback_CFLAGS += -flto=jobserver
# assumes the host supports the linker plugin
LTO_AR = $$r/$(HOST_SUBDIR)/prev-gcc/gcc-ar$(exeext) -B$$r/$(HOST_SUBDIR)/prev-gcc/
LTO_RANLIB = $$r/$(HOST_SUBDIR)/prev-gcc/gcc-ranlib$(exeext) -B$$r/$(HOST_SUBDIR)/prev-gcc/
LTO_EXPORTS = AR="$(LTO_AR)"; export AR; \
RANLIB="$(LTO_RANLIB)"; export RANLIB;
LTO_FLAGS_TO_PASS = AR="$(LTO_AR)" RANLIB="$(LTO_RANLIB)"
do-compare = /bin/true
......@@ -2813,7 +2813,8 @@ target_libraries="target-libgcc \
target-libobjc \
target-libada \
target-libgo \
target-libphobos"
target-libphobos \
target-zlib"
# these tools are built using the target libraries, and are intended to
# run only in the target environment
......@@ -3395,7 +3396,7 @@ case ,${enable_languages}, in
;;
*)
case "${target}" in
*-*-darwin* | *-*-cygwin* | *-*-mingw*)
*-*-darwin*)
unsupported_languages="$unsupported_languages d"
;;
esac
......@@ -3410,7 +3411,7 @@ if test -d ${srcdir}/libphobos; then
$as_echo_n "checking for libphobos support... " >&6; }
if (srcdir=${srcdir}/libphobos; \
. ${srcdir}/configure.tgt; \
test -n "$UNSUPPORTED")
test "$LIBPHOBOS_SUPPORTED" != "yes")
then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
......
......@@ -163,7 +163,8 @@ target_libraries="target-libgcc \
target-libobjc \
target-libada \
target-libgo \
target-libphobos"
target-libphobos \
target-zlib"
# these tools are built using the target libraries, and are intended to
# run only in the target environment
......@@ -680,7 +681,7 @@ case ,${enable_languages}, in
;;
*)
case "${target}" in
*-*-darwin* | *-*-cygwin* | *-*-mingw*)
*-*-darwin*)
unsupported_languages="$unsupported_languages d"
;;
esac
......@@ -694,7 +695,7 @@ if test -d ${srcdir}/libphobos; then
AC_MSG_CHECKING([for libphobos support])
if (srcdir=${srcdir}/libphobos; \
. ${srcdir}/configure.tgt; \
test -n "$UNSUPPORTED")
test "$LIBPHOBOS_SUPPORTED" != "yes")
then
AC_MSG_RESULT([no])
noconfigdirs="$noconfigdirs target-libphobos"
......
2019-04-19 Christophe Lyon <christophe.lyon@linaro.org>
PR translation/90118
* check-internal-format-escaping.py: Check that %< is not next to
a word.
2019-04-17 Jakub Jelinek <jakub@redhat.com>
* dg-extract-results.sh: Only handle WARNING: program timed out
lines specially in "$MODE" == "sum". Restore previous behavior
for "$MODE" != "sum". Clear has_timeout and timeout_cnt if in
a different variant or curfile is empty.
* dg-extract-results.py: Fix a typo.
2019-04-05 Martin Liska <mliska@suse.cz>
PR translation/89936
* check-internal-format-escaping.py: Properly detect wrong
apostrophes.
2019-03-11 Martin Liska <mliska@suse.cz>
* check-internal-format-escaping.py: Uncomment apostrophes
......
......@@ -56,7 +56,11 @@ for i, l in enumerate(lines):
print('%s: %s' % (origin, text))
elif p.startswith('__builtin_'):
print('%s: %s' % (origin, text))
if re.search("[a-zA-Z]'[a-zA-Z]", p):
if re.search("[^%]'", p):
print('%s: %s' % (origin, text))
# %< should not be preceded by a non-punctuation
# %character.
if re.search("[a-zA-Z0-9]%<", p):
print('%s: %s' % (origin, text))
j += 1
......
......@@ -296,7 +296,7 @@ class Prog:
# If we have a time out warning, make sure it appears
# before the following testcase diagnostic: we insert
# the testname before 'program' so that sort faces a
# list of testhanes.
# list of testnames.
if line.startswith ('WARNING: program timed out'):
has_warning = 1
else:
......
......@@ -331,13 +331,15 @@ BEGIN {
# Ugly hack for gfortran.dg/dg.exp
if ("$TOOL" == "gfortran" && testname ~ /^gfortran.dg\/g77\//)
testname="h"testname
if (\$1 == "WARNING:" && \$2 == "program" && \$3 == "timed" && (\$4 == "out" || \$4 == "out.")) {
has_timeout=1
timeout_cnt=cnt
} else {
# Prepare timeout replacement message in case it's needed
timeout_msg=\$0
sub(\$1, "WARNING:", timeout_msg)
if ("$MODE" == "sum") {
if (\$0 ~ /^WARNING: program timed out/) {
has_timeout=1
timeout_cnt=cnt+1
} else {
# Prepare timeout replacement message in case it's needed
timeout_msg=\$0
sub(\$1, "WARNING:", timeout_msg)
}
}
}
/^$/ { if ("$MODE" == "sum") next }
......@@ -345,25 +347,30 @@ BEGIN {
if ("$MODE" == "sum") {
# Do not print anything if the current line is a timeout
if (has_timeout == 0) {
# If the previous line was a timeout,
# insert the full current message without keyword
if (timeout_cnt != 0) {
printf "%s %08d|%s program timed out.\n", testname, timeout_cnt, timeout_msg >> curfile
timeout_cnt = 0
cnt = cnt + 1
}
printf "%s %08d|", testname, cnt >> curfile
cnt = cnt + 1
filewritten[curfile]=1
need_close=1
if (timeout_cnt == 0)
print >> curfile
# If the previous line was a timeout,
# insert the full current message without keyword
if (timeout_cnt != 0) {
printf "%s %08d|%s program timed out.\n", testname, timeout_cnt-1, timeout_msg >> curfile
timeout_cnt = 0
cnt = cnt + 1
}
printf "%s %08d|", testname, cnt >> curfile
cnt = cnt + 1
filewritten[curfile]=1
need_close=1
print >> curfile
}
has_timeout=0
} else {
filewritten[curfile]=1
need_close=1
print >> curfile
}
} else
} else {
has_timeout=0
timeout_cnt=0
next
}
}
END {
n=1
......
2019-04-18 Erik Schnetter <schnetter@gmail.com>
Jakub Jelinek <jakub@redhat.com>
Iain Sandoe <iain@sandoe.co.uk>
PR bootstrap/89864
* inclhack.def (darwin_ucred__Atomic): New, work around _Atomic keyword
use in headers included by C++.
* fixincl.x: Regenerated.
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
......
......@@ -2,11 +2,11 @@
*
* DO NOT EDIT THIS FILE (fixincl.x)
*
* It has been AutoGen-ed October 16, 2018 at 11:38:39 AM by AutoGen 5.18.7
* It has been AutoGen-ed April 16, 2019 at 09:32:25 AM by AutoGen 5.17.4
* From the definitions inclhack.def
* and the template file fixincl
*/
/* DO NOT SVN-MERGE THIS FILE, EITHER Tue Oct 16 11:38:39 CEST 2018
/* DO NOT SVN-MERGE THIS FILE, EITHER Tue Apr 16 09:32:25 IST 2019
*
* You must regenerate it. Use the ./genfixes script.
*
......@@ -15,7 +15,7 @@
* certain ANSI-incompatible system header files which are fixed to work
* correctly with ANSI C and placed in a directory that GNU C will search.
*
* This file contains 251 fixup descriptions.
* This file contains 252 fixup descriptions.
*
* See README for more information.
*
......@@ -3272,6 +3272,48 @@ static const char* apzDarwin_Stdint_7Patch[] = {
#endif",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Darwin_Ucred__Atomic fix
*/
tSCC zDarwin_Ucred__AtomicName[] =
"darwin_ucred__Atomic";
/*
* File name selection pattern
*/
tSCC zDarwin_Ucred__AtomicList[] =
"sys/ucred.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzDarwin_Ucred__AtomicMachs[] = {
"*-*-darwin*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zDarwin_Ucred__AtomicSelect0[] =
"_Atomic";
#define DARWIN_UCRED__ATOMIC_TEST_CT 1
static tTestDesc aDarwin_Ucred__AtomicTests[] = {
{ TT_EGREP, zDarwin_Ucred__AtomicSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Darwin_Ucred__Atomic
*/
static const char* apzDarwin_Ucred__AtomicPatch[] = {
"wrap",
"#if (__STDC_VERSION__ < 201112L) || defined(__cplusplus)\n\
# define _Atomic volatile\n\
#endif\n",
"#if (__STDC_VERSION__ < 201112L) || defined(__cplusplus)\n\
# undef _Atomic\n\
#endif\n",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Dec_Intern_Asm fix
......@@ -10188,9 +10230,9 @@ static const char* apzX11_SprintfPatch[] = {
*
* List of all fixes
*/
#define REGEX_COUNT 289
#define REGEX_COUNT 290
#define MACH_LIST_SIZE_LIMIT 187
#define FIX_COUNT 251
#define FIX_COUNT 252
/*
* Enumerate the fixes
......@@ -10273,6 +10315,7 @@ typedef enum {
DARWIN_STDINT_5_FIXIDX,
DARWIN_STDINT_6_FIXIDX,
DARWIN_STDINT_7_FIXIDX,
DARWIN_UCRED__ATOMIC_FIXIDX,
DEC_INTERN_ASM_FIXIDX,
DJGPP_WCHAR_H_FIXIDX,
ECD_CURSOR_FIXIDX,
......@@ -10835,6 +10878,11 @@ tFixDesc fixDescList[ FIX_COUNT ] = {
DARWIN_STDINT_7_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
aDarwin_Stdint_7Tests, apzDarwin_Stdint_7Patch, 0 },
{ zDarwin_Ucred__AtomicName, zDarwin_Ucred__AtomicList,
apzDarwin_Ucred__AtomicMachs,
DARWIN_UCRED__ATOMIC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
aDarwin_Ucred__AtomicTests, apzDarwin_Ucred__AtomicPatch, 0 },
{ zDec_Intern_AsmName, zDec_Intern_AsmList,
apzDec_Intern_AsmMachs,
DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
......
......@@ -1622,6 +1622,25 @@ fix = {
"#define UINTMAX_C(v) (v ## ULL)";
};
/* The SDK included with XCode 10.2 has the file <sys/ucred.h> that uses the
C11 _Atomic keyword (exposing it to C++ code). The work-around here follows
the header in declaring the entity volatile when _Atomic is not available.
*/
fix = {
hackname = darwin_ucred__Atomic;
mach = "*-*-darwin*";
files = sys/ucred.h;
select = "_Atomic";
c_fix = wrap;
c_fix_arg = "#if (__STDC_VERSION__ < 201112L) || defined(__cplusplus)\n"
"# define _Atomic volatile\n"
"#endif\n";
c_fix_arg = "#if (__STDC_VERSION__ < 201112L) || defined(__cplusplus)\n"
"# undef _Atomic\n"
"#endif\n";
test_text = "_Atomic";
};
/*
* Fix <c_asm.h> on Digital UNIX V4.0:
* It contains a prototype for a DEC C internal asm() function,
......
This diff is collapsed.
......@@ -785,8 +785,8 @@ CC_FOR_BUILD = @CC_FOR_BUILD@
CXX_FOR_BUILD = @CXX_FOR_BUILD@
NO_PIE_CFLAGS_FOR_BUILD = @NO_PIE_CFLAGS_FOR_BUILD@
NO_PIE_FLAG_FOR_BUILD = @NO_PIE_FLAG_FOR_BUILD@
BUILD_CFLAGS= @BUILD_CFLAGS@ -DGENERATOR_FILE
BUILD_CXXFLAGS = @BUILD_CXXFLAGS@ -DGENERATOR_FILE
BUILD_CFLAGS= @BUILD_CFLAGS@ $(GENERATOR_CFLAGS) -DGENERATOR_FILE
BUILD_CXXFLAGS = @BUILD_CXXFLAGS@ $(GENERATOR_CFLAGS) -DGENERATOR_FILE
BUILD_NO_PIE_CFLAGS = @BUILD_NO_PIE_CFLAGS@
BUILD_CFLAGS += $(BUILD_NO_PIE_CFLAGS)
BUILD_CXXFLAGS += $(BUILD_NO_PIE_CFLAGS)
......
2019-04-07 Eric Botcazou <ebotcazou@adacore.com>
* libgnat/i-cexten.ads (CFloat_128): New type.
2019-03-22 Dmitriy Anisimkov <anisimko@adacore.com>
PR ada/89583
......
......@@ -74,7 +74,7 @@ package Interfaces.C.Extensions is