Skip to content

Commit

Permalink
Merge tag 'gcc-5_3_0-release' into or1k
Browse files Browse the repository at this point in the history
  • Loading branch information
wallento committed Mar 20, 2016
2 parents ce290dc + 2bc376d commit d1f710c
Show file tree
Hide file tree
Showing 795 changed files with 162,198 additions and 87,773 deletions.
12 changes: 12 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
2015-12-04 Release Manager

* GCC 5.3.0 released.

2015-11-26 David Edelsohn <dje.gcc@gmail.com>

Backport from mainline
2015-11-26 David Edelsohn <dje.gcc@gmail.com>

* m4/libtool.m4 (export_symbols_cmds) [AIX]: Add global TLS "L"
symbols.

2015-07-16 Release Manager

* GCC 5.2.0 released.
Expand Down
12 changes: 12 additions & 0 deletions boehm-gc/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
2015-12-04 Release Manager

* GCC 5.3.0 released.

2015-09-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>

Backport from mainline
2015-08-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>

* os_dep.c [GC_SOLARIS_THREADS] (GC_dirty_init): Use
/proc/<pid>/pagedata instead of PIOCOPENPD.

2015-07-16 Release Manager

* GCC 5.2.0 released.
Expand Down
8 changes: 3 additions & 5 deletions boehm-gc/os_dep.c
Original file line number Diff line number Diff line change
Expand Up @@ -3184,13 +3184,11 @@ void GC_dirty_init()
(GC_words_allocd + GC_words_allocd_before_gc));
# endif
}
sprintf(buf, "/proc/%d", getpid());
fd = open(buf, O_RDONLY);
if (fd < 0) {
sprintf(buf, "/proc/%d/pagedata", getpid());
GC_proc_fd = open(buf, O_RDONLY);
if (GC_proc_fd < 0) {
ABORT("/proc open failed");
}
GC_proc_fd = syscall(SYS_ioctl, fd, PIOCOPENPD, 0);
close(fd);
syscall(SYS_fcntl, GC_proc_fd, F_SETFD, FD_CLOEXEC);
if (GC_proc_fd < 0) {
ABORT("/proc ioctl failed");
Expand Down
4 changes: 4 additions & 0 deletions config/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2015-12-04 Release Manager

* GCC 5.3.0 released.

2015-07-16 Release Manager

* GCC 5.2.0 released.
Expand Down
9 changes: 9 additions & 0 deletions contrib/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
2015-12-04 Release Manager

* GCC 5.3.0 released.

2015-09-11 Markus Trippelsdorf <markus@trippelsdorf.de>

* download_prerequisites: Make sure that script is run from
top level source directory.

2015-07-16 Release Manager

* GCC 5.2.0 released.
Expand Down
5 changes: 5 additions & 0 deletions contrib/download_prerequisites
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
# be downloaded.
GRAPHITE_LOOP_OPT=yes

if [ ! -e gcc/BASE-VER ] ; then
echo "You must run this script in the top level GCC source directory."
exit 1
fi

# Necessary to build GCC.
MPFR=mpfr-2.4.2
GMP=gmp-4.3.2
Expand Down
4 changes: 4 additions & 0 deletions contrib/reghunt/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2015-12-04 Release Manager

* GCC 5.3.0 released.

2015-07-16 Release Manager

* GCC 5.2.0 released.
Expand Down
4 changes: 4 additions & 0 deletions contrib/regression/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2015-12-04 Release Manager

* GCC 5.3.0 released.

2015-07-16 Release Manager

* GCC 5.2.0 released.
Expand Down
17 changes: 17 additions & 0 deletions fixincludes/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
2015-12-04 Release Manager

* GCC 5.3.0 released.

2015-08-14 David Edelsohn <dje.gcc@gmail.com>

Backport from mainline.
2015-08-14 David Edelsohn <dje.gcc@gmail.com>

* inclhack.def (aix_stdio_inline): New fix.
(aix_strtof_const): Limit to *-*-aix*.
(aix_sysmachine): Same.
(aix_syswait_2): Same.
(aix_volatile): Same.
* fixincl.x: Regenerated.
* test/base/stdio.h [AIX_STDIO_INLINE]: New test.

2015-07-16 Release Manager

* GCC 5.2.0 released.
Expand Down
86 changes: 72 additions & 14 deletions fixincludes/fixincl.x
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/* -*- buffer-read-only: t -*- vi: set ro:
*
* DO NOT EDIT THIS FILE (fixincl.x)
*
* It has been AutoGen-ed May 21, 2015 at 02:48:12 AM by AutoGen 5.18.3
* From the definitions inclhack.def
* and the template file fixincl
*
*DO NOT EDIT THIS FILE (fixincl.x)
*
*It has been AutoGen-ed August 13, 2015 at 05:25:50 PM by AutoGen 5.18.3
*From the definitions inclhack.def
*and the template file fixincl
*/
/* DO NOT SVN-MERGE THIS FILE, EITHER Thu May 21 02:48:12 UTC 2015
/* DO NOT SVN-MERGE THIS FILE, EITHER Thu Aug 13 17:25:50 UTC 2015
*
* You must regenerate it. Use the ./genfixes script.
*
Expand All @@ -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 229 fixup descriptions.
* This file contains 230 fixup descriptions.
*
* See README for more information.
*
Expand Down Expand Up @@ -1501,6 +1501,50 @@ static const char* apzAix_Stdint_5Patch[] = {
#define UINT16_C(c)\tc",
(char*)NULL };

/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aix_Stdio_Inline fix
*/
tSCC zAix_Stdio_InlineName[] =
"aix_stdio_inline";

/*
* File name selection pattern
*/
tSCC zAix_Stdio_InlineList[] =
"stdio.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAix_Stdio_InlineMachs[] = {
"*-*-aix*",
(const char*)NULL };

/*
* content selection pattern - do fix if pattern found
*/
tSCC zAix_Stdio_InlineSelect0[] =
"#ifdef __cplusplus\\\n\
}\\\n\
\\\n\
#ifdef ferror\\\n";

#define AIX_STDIO_INLINE_TEST_CT 1
static tTestDesc aAix_Stdio_InlineTests[] = {
{ TT_EGREP, zAix_Stdio_InlineSelect0, (regex_t*)NULL }, };

/*
* Fix Command Arguments for Aix_Stdio_Inline
*/
static const char* apzAix_Stdio_InlinePatch[] = {
"format",
"#ifdef __cplusplus\n\
}\n\
#endif\n\n\
#if (defined(__cplusplus) && defined(__IBMCPP__))\n\
#ifdef ferror\n",
(char*)NULL };

/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aix_Strtof_Const fix
Expand All @@ -1516,7 +1560,9 @@ tSCC zAix_Strtof_ConstList[] =
/*
* Machine/OS name selection pattern
*/
#define apzAix_Strtof_ConstMachs (const char**)NULL
tSCC* apzAix_Strtof_ConstMachs[] = {
"*-*-aix*",
(const char*)NULL };

/*
* content selection pattern - do fix if pattern found
Expand Down Expand Up @@ -1551,7 +1597,9 @@ tSCC zAix_SysmachineList[] =
/*
* Machine/OS name selection pattern
*/
#define apzAix_SysmachineMachs (const char**)NULL
tSCC* apzAix_SysmachineMachs[] = {
"*-*-aix*",
(const char*)NULL };

/*
* content selection pattern - do fix if pattern found
Expand Down Expand Up @@ -1586,7 +1634,9 @@ tSCC zAix_Syswait_2List[] =
/*
* Machine/OS name selection pattern
*/
#define apzAix_Syswait_2Machs (const char**)NULL
tSCC* apzAix_Syswait_2Machs[] = {
"*-*-aix*",
(const char*)NULL };

/*
* content selection pattern - do fix if pattern found
Expand Down Expand Up @@ -1621,7 +1671,9 @@ tSCC zAix_VolatileList[] =
/*
* Machine/OS name selection pattern
*/
#define apzAix_VolatileMachs (const char**)NULL
tSCC* apzAix_VolatileMachs[] = {
"*-*-aix*",
(const char*)NULL };

/*
* content selection pattern - do fix if pattern found
Expand Down Expand Up @@ -9396,9 +9448,9 @@ static const char* apzX11_SprintfPatch[] = {
*
* List of all fixes
*/
#define REGEX_COUNT 266
#define REGEX_COUNT 267
#define MACH_LIST_SIZE_LIMIT 187
#define FIX_COUNT 229
#define FIX_COUNT 230

/*
* Enumerate the fixes
Expand Down Expand Up @@ -9435,6 +9487,7 @@ typedef enum {
AIX_STDINT_3_FIXIDX,
AIX_STDINT_4_FIXIDX,
AIX_STDINT_5_FIXIDX,
AIX_STDIO_INLINE_FIXIDX,
AIX_STRTOF_CONST_FIXIDX,
AIX_SYSMACHINE_FIXIDX,
AIX_SYSWAIT_2_FIXIDX,
Expand Down Expand Up @@ -9791,6 +9844,11 @@ tFixDesc fixDescList[ FIX_COUNT ] = {
AIX_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
aAix_Stdint_5Tests, apzAix_Stdint_5Patch, 0 },

{ zAix_Stdio_InlineName, zAix_Stdio_InlineList,
apzAix_Stdio_InlineMachs,
AIX_STDIO_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
aAix_Stdio_InlineTests, apzAix_Stdio_InlinePatch, 0 },

{ zAix_Strtof_ConstName, zAix_Strtof_ConstList,
apzAix_Strtof_ConstMachs,
AIX_STRTOF_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
Expand Down
25 changes: 25 additions & 0 deletions fixincludes/inclhack.def
Original file line number Diff line number Diff line change
Expand Up @@ -891,11 +891,33 @@ fix = {
"#define UINT16_C(c) __CONCAT__(c,U)";
};

/*
* stdio.h on AIX defines ferror, clearerr and feof as C++ inline, which
produces wrong code with G++.
*/
fix = {
hackname = aix_stdio_inline;
mach = "*-*-aix*";
files = stdio.h;
select = "#ifdef __cplusplus\\\n"
"}\\\n\\\n"
"#ifdef ferror\\\n";
c_fix = format;
c_fix_arg = "#ifdef __cplusplus\n"
"}\n"
"#endif\n\n"
"#if (defined(__cplusplus) && defined(__IBMCPP__))\n"
"#ifdef ferror\n";
test_text = "#ifdef __cplusplus\n}\n\n#ifdef ferror";
};


/*
* stdlib.h on AIX 4.3 declares strtof() with a non-const first argument.
*/
fix = {
hackname = aix_strtof_const;
mach = "*-*-aix*";
files = stdlib.h;
select = "((extern[ \t]+)?float[ \t]+strtof)\\(char \\*, char \\*\\*\\);";
c_fix = format;
Expand All @@ -909,6 +931,7 @@ fix = {
*/
fix = {
hackname = aix_sysmachine;
mach = "*-*-aix*";
files = sys/machine.h;
select = "\\\\ +\n";
c_fix = format;
Expand All @@ -923,6 +946,7 @@ fix = {
*/
fix = {
hackname = aix_syswait_2;
mach = "*-*-aix*";
files = sys/wait.h;
select = '\? (\(\(\(\(unsigned[^)]*\)[^)]*\) >> [^)]*\) \& 0xff\) : -1)';
c_fix = format;
Expand All @@ -939,6 +963,7 @@ fix = {
*/
fix = {
hackname = aix_volatile;
mach = "*-*-aix*";
files = sys/signal.h;
select = "typedef volatile int sig_atomic_t";
c_fix = format;
Expand Down
10 changes: 10 additions & 0 deletions fixincludes/tests/base/stdio.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@
#endif /* AAB_AIX_STDIO_CHECK */


#if defined( AIX_STDIO_INLINE_CHECK )
#ifdef __cplusplus
}
#endif

#if (defined(__cplusplus) && defined(__IBMCPP__))
#ifdef ferror
#endif /* AIX_STDIO_INLINE_CHECK */


#if defined( ALPHA_GETOPT_CHECK )
extern int getopt(int, char *const[], const char *);
#endif /* ALPHA_GETOPT_CHECK */
Expand Down
2 changes: 1 addition & 1 deletion gcc/BASE-VER
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.2.0
5.3.0
Loading

0 comments on commit d1f710c

Please sign in to comment.