[Committed/AARCH64] Fix rdma for -mcpu=native

2017-08-12 Thread Andrew Pinski
I noticed that rdma is turned off when using -mcpu=native on ThunderX2 CN99xx which is incorrect. The main reason it does that is because rdma is incorrectly recorded as rdma rather than simdrdma as the feature string in aarch64-option-extensions.def. This patch fixes and fixes the problem I was

[testsuite, i386] Require -static support in gcc.dg/pie-static-[12].c (PR testsuite/81793)

2017-08-12 Thread Rainer Orth
The new gcc.dg/pie-static-[12].c testcases FAIL on several systems: * Solaris 11.4 has PIE support, but lacks static libc, libm * Linux without the static libc, libm installed The following patch fixes this by requiring both PIE and -static support. Tested with the appropriate runtest invocatio

Re: [PATCH] [i386,testsuite] [PR 71958] Error on -mx32 with -mabi=ms

2017-08-12 Thread Rainer Orth
Hi Daniel, > We currently error when -mx32 -mabi=sysv and we encounter a function > with attribute ms_abi, but we are not erroring on -mx32 and -mabi=ms > (either explicitly or when it is the default on Windows). In fact, it > generates code that runs, but is of an undfined ABI. > > I'm running -

[patch, fortran, docs] Document sequential unformatted file structure

2017-08-12 Thread Thomas Koenig
Hello world, seems like we never got around to documenting the structure of our unformatted sequential files. Well, here is a patch for that. Regards Thomas 2017-08-12 Thomas Koenig * gfortran.texi: Document format of unformatted sequential files. Index: gfortran.texi

Re: PING^2: [PATCH] PR driver/81523: Make -static override -pie

2017-08-12 Thread Alan Modra
On Tue, Aug 08, 2017 at 09:45:49PM +, Joseph Myers wrote: > On Mon, 7 Aug 2017, H.J. Lu wrote: > > https://gcc.gnu.org/ml/gcc-patches/2017-08/msg00011.html > > This patch is OK. Is this OK for gcc-7 and gcc-6 too? I'm asking not just to fix "-static -pie" on x86 but because I'd like to fix -

Re: [PATCH] [PR79542][Ada] Fix ICE in dwarf2out.c with nested func. inlining

2017-08-12 Thread Pierre-Marie de Rodat
On 08/11/2017 11:29 PM, Jason Merrill wrote: OK. Committed. Thank you for your sustained review effort, Jason. :-) -- Pierre-Marie de Rodat

Re: [PATCH] i386: Replace frame pointer with stack pointer in debug insns

2017-08-12 Thread Uros Bizjak
On Sat, Aug 12, 2017 at 3:32 AM, H.J. Lu wrote: > When we eliminate frame pointer, we should also replace frame pointer > with stack pointer - UNITS_PER_WORD in debug insns. This patch fixed: > > FAIL: gcc.dg/guality/pr58791-5.c -Os line pr58791-5.c:20 b1 == 9 > FAIL: gcc.dg/guality/pr58791-5.

Re: [PATCH] [i386,testsuite] [PR 71958] Error on -mx32 with -mabi=ms

2017-08-12 Thread Uros Bizjak
On Fri, Aug 11, 2017 at 11:27 PM, Daniel Santos wrote: > We currently error when -mx32 -mabi=sysv and we encounter a function > with attribute ms_abi, but we are not erroring on -mx32 and -mabi=ms > (either explicitly or when it is the default on Windows). In fact, it > generates code that runs,