Re: [wwwdocs] Add GCC 7.3 section

2018-01-21 Thread Sebastian Huber
Ping. On 08/01/18 14:43, Sebastian Huber wrote: Index: htdocs/gcc-7/changes.html === RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-7/changes.html,v retrieving revision 1.96 diff -u -r1.96 changes.html --- htdocs/gcc-7/changes.html   4 Aug 2

Re: [PATCH, rev2], Fix PR target/pr83862: Fix PowerPC long double signbit with -mabi=ieeelongdouble

2018-01-21 Thread Michael Meissner
I've reworked the patch for PR83864. This bug is due to the compiler issuing an internal error for code of the form on a little endian system: int sb (_Float128 *p, unsigned long n) { return __builtin_signbit (p[n]); } The problem is that the memory optimization wants to load the high double

[PATCH, gotools]: Fix TestCrashDumpsAllThreads testcase failure

2018-01-21 Thread Uros Bizjak
Hello! The default "go build" compile options over-optimize the auxiliary executable, built in TestCrashDumpsAllThreads testcase (libgo/go/runtime/crash_unix_test.go). This over-optimization results in removal of the trivial summing loop and in the inlining of the main.loop function into main.$thu

Re: [PATCH, rs6000] Skip safe-indirect-jump-8.c for AIX

2018-01-21 Thread Segher Boessenkool
Hi! On Sun, Jan 21, 2018 at 07:46:26AM -0600, Bill Schmidt wrote: > Segher discovered that one of the new safe-indirect-jump tests fails on AIX > because of a difference between AIX_V4 and AIX_ABI for 32-bit code. The > former generates sibcalls for nonlocal function calls, but the latter does >

Re: [PATCH, rs6000] Skip safe-indirect-jump-8.c for AIX

2018-01-21 Thread Segher Boessenkool
Hi David, On Sun, Jan 21, 2018 at 09:27:42AM -0500, David Edelsohn wrote: > On Sun, Jan 21, 2018 at 8:46 AM, Bill Schmidt > wrote: > > Segher discovered that one of the new safe-indirect-jump tests fails on AIX > > because of a difference between AIX_V4 and AIX_ABI for 32-bit code. The > > forme

Re: [committed] hppa: Switch hppa-linux to caller copies ABI

2018-01-21 Thread John David Anglin
On 2018-01-17 3:26 AM, Richard Biener wrote: That deserves a warning in gcc-8/changes.html Done. https://gcc.gnu.org/gcc-8/changes.html Dave -- John David Anglin dave.ang...@bell.net

Re: [PATCH] PR 78534, 83704 Large character lengths

2018-01-21 Thread Steve Kargl
On Sun, Jan 21, 2018 at 09:49:47PM +0200, Janne Blomqvist wrote: > On Sun, Jan 21, 2018 at 8:30 PM, Steve Kargl > wrote: > > On Sun, Jan 21, 2018 at 01:11:28PM +0200, Janne Blomqvist wrote: > >> PING > >> > > > > Janne, > > > > I didn't see anything wrong with the patch. Other than Dominiq's > >

Re: [PATCH] PR 78534, 83704 Large character lengths

2018-01-21 Thread Janne Blomqvist
On Sun, Jan 21, 2018 at 8:30 PM, Steve Kargl wrote: > On Sun, Jan 21, 2018 at 01:11:28PM +0200, Janne Blomqvist wrote: >> PING >> > > Janne, > > I didn't see anything wrong with the patch. Other than Dominiq's > concerns about slow downs with -m32, I think it is fine. Thanks, I guess that's an O

[committed] hppa: Fix alignment test failures on hppa-hpux

2018-01-21 Thread John David Anglin
The following patch fixes a few test failures on hpux due to the limited alignment of common. Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2018-01-21 John David Anglin * gcc.dg/pr83621.c: Add -fno-common additional option on h

[committed] hppa: Use targetm.binds_local_p to check local binding in pa_function_ok_for_sibcall

2018-01-21 Thread John David Anglin
The attached change fixes the failure of gcc.dg/plugin/must-tail-call-1.c on hppa-linux. Using targetm.binds_local_p is less restrictive than TREE_PUBLIC in determining what binds local. Tested on hppa-unknown-linux-gnu. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2

[committed] hppa: Add gnu_lto_v1 stub

2018-01-21 Thread John David Anglin
The HP linker for the hppa64-*-hpux* target lacks support for weak undefined symbols. So, we have a stub archive library to resolve various weak undefined symbols. The attached change adds a stub for the gnu_lto_v1 symbol. It is now needed for lto. Tested on hppa64-hp-hpux11.11. Committed t

Re: [PATCH] PR 78534, 83704 Large character lengths

2018-01-21 Thread Steve Kargl
On Sun, Jan 21, 2018 at 01:11:28PM +0200, Janne Blomqvist wrote: > PING > Janne, I didn't see anything wrong with the patch. Other than Dominiq's concerns about slow downs with -m32, I think it is fine. I do wonder why you use gfc_charlen_t in some place and HOST_WIDE_INT in other places as g

Re: Compilation warning in simple-object-xcoff.c

2018-01-21 Thread Eli Zaretskii
> From: Ian Lance Taylor > Date: Sat, 20 Jan 2018 21:01:09 -0800 > Cc: DJ Delorie , gcc-patches , > gdb-patches > > On Sat, Jan 20, 2018 at 4:47 AM, Eli Zaretskii wrote: > >> Date: Thu, 18 Jan 2018 05:25:20 +0200 > >> From: Eli Zaretskii > >> CC: sch...@linux-m68k.org, gcc-patches@gcc.g

Re: [PATCH v3] Ability to remap file names in __FILE__, etc (PR other/70268)

2018-01-21 Thread Boris Kolpackov
Ximin Luo writes: > -I to an absolute path is not that common for system / distro-built > stuff. Ok, thanks for clarifying. > In the cases that it occurs, indeed it could and should be fixed > by the package buildsystem, e.g. by stripping a prefix when they > add -I flags to CFLAGS. But that's

Re: [PATCH, rs6000] Skip safe-indirect-jump-8.c for AIX

2018-01-21 Thread David Edelsohn
On Sun, Jan 21, 2018 at 8:46 AM, Bill Schmidt wrote: > Hi, > > Segher discovered that one of the new safe-indirect-jump tests fails on AIX > because of a difference between AIX_V4 and AIX_ABI for 32-bit code. The > former generates sibcalls for nonlocal function calls, but the latter does > not.

[C++ PATCH] PR c++/83895

2018-01-21 Thread Ville Voutilainen
Finishing testing the attached, OK for trunk? 2018-01-21 Ville Voutilainen PR c++/83895 cp/ * decl.c (grokdeclarator): Don't diagnose extra parens on typedefs. testsuite/ * g++.dg/warn/83895.C: New. diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 039ddd9..230e7dd 1

Re: [PATCH] PR 78534, 83704 Large character lengths

2018-01-21 Thread Dominique d'Humières
I use x86_64-apple-darwin17 and I run the test with -m32. Without the patch, a plain compilation leads to four errors and a timing 0.011u 0.008s 0:00.02 50.0% 0+0k 0+0io 13pf+0w With the patch I get the four errors plus "Result of LEN overflows its kind » and a timing much slower 12.454u 2

[PATCH, rs6000] Skip safe-indirect-jump-8.c for AIX

2018-01-21 Thread Bill Schmidt
Hi, Segher discovered that one of the new safe-indirect-jump tests fails on AIX because of a difference between AIX_V4 and AIX_ABI for 32-bit code. The former generates sibcalls for nonlocal function calls, but the latter does not. Thus this test should be skipped for AIX. Okay for trunk and po

[SH][committed] Fix PR 81485

2018-01-21 Thread Oleg Endo
Hi, The following fixes PR 81485. Tested with make -k check RUNTESTFLAGS="--target_board=sh-sim\{-m2/- ml,-m2/-mb,-m2a/-mb,-m4/-ml,-m4/-mb,-m4a/-ml,-m4a/-mb}" Committed as r256930. Cheers, Oleg gcc/ChangeLog: PR target/81485 * config/sh/sh-protos.h (sh_find_set_of_reg): Remove a

Re: [wwwdocs][committed] Mention GCC 7 changes for SH and RX

2018-01-21 Thread Gerald Pfeifer
On Sun, 21 Jan 2018, Oleg Endo wrote: > Somehow I never managed to commit the attached patch. > Better late than never. Indeed! (And it looks nice, by the way.) Gerald PS: This is one reason why I usually recommend to add changes as things make it into the tree, not wait until the end of stage

Re: [PATCH] PR 78534, 83704 Large character lengths

2018-01-21 Thread Janne Blomqvist
PING On Sun, Jan 14, 2018 at 2:33 PM, Janne Blomqvist wrote: > On Sun, Jan 14, 2018 at 12:45 PM, Janne Blomqvist > wrote: >> On Sat, Jan 13, 2018 at 7:35 PM, Dominique d'Humières >> wrote: >>> I have finally bootstrapped gfortran with the two patches applied and the >>> spurious warnings with