Re: [patch, libgfortran] PR78351 comma not terminating READ of formatted input field

2018-11-03 Thread Andreas Schwab
On Nov 03 2018, Jerry DeLisle wrote: > + /* To support legacy code we have to scan the input string one byte > + at a time because we don't no where an early comma may be and the s/no/know/ Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510

[PATCH 2/3] Add a pass to automatically add ptwrite instrumentation

2018-11-03 Thread Andi Kleen
From: Andi Kleen Add a new pass to automatically instrument changes to variables with the new PTWRITE instruction on x86. PTWRITE writes a 4 or 8 byte field into an Processor Trace log, which allows log over head logging of informatin. This allows to reconstruct how values later, which can be us

[PATCH 1/3] Add PTWRITE builtins for x86

2018-11-03 Thread Andi Kleen
From: Andi Kleen Add builtins/intrinsics for PTWRITE. PTWRITE is a new instruction on Intel Gemini Lake/ Goldmont Plus that allows to write values into the Processor Trace log. This allows very light weight instrumentation of programs. The intrinsics are compatible to icc. Automatically enable

[PATCH 3/3] Add tests for the vartrace pass

2018-11-03 Thread Andi Kleen
From: Andi Kleen gcc/testsuite/: 2018-11-03 Andi Kleen * g++.dg/vartrace-3.C: New test. * g++.dg/vartrace-ret.C: New test. * g++.dg/vartrace-ret2.C: New test. * gcc.target/i386/vartrace-1.c: New test. * gcc.target/i386/vartrace-10.c: New test.

Re: [PATCH] Fix sanitizer frame unwind on 32-bit ABIs (again)

2018-11-03 Thread Jeff Law
On 10/31/18 4:08 PM, Segher Boessenkool wrote: > This re-applies r258525, and this time adds it to LOCAL_PATCHES. Is this > okay for trunk? > > > Segher > > > 2018-10-31 Segher Boessenkool > > libsanitizer/ > * LOCAL_PATCHES: Add r258525. > * sanitizer_common/sanitizer_stacktra

Re: [PATCH, testsuite] ignore some "conflicting types for built-in" messages

2018-11-03 Thread Jeff Law
On 11/1/18 1:13 PM, Paul Koning wrote: > A number of test cases contain declarations like: > void *memcpy(); > which currently are silently accepted on most platforms but not on all; pdp11 > (and possibly some others) generate a "conflicting types for built-in > function" warning. > > It was s

Re: [PATCH libquadmath/PR68686]

2018-11-03 Thread Jeff Law
On 10/23/18 7:45 PM, Ed Smith-Rowland wrote: > Greetings, > > This is an almost trivial patch to get the correct sign for tgammaq. > > I don't have a testcase as I don't know where to put one. > > OK? > > Ed Smith-Rowland > > > > tgammaq.CL > > 2018-10-24 Edward Smith-Rowland <3dw...@veri

Re: Fix D compilation on Solaris

2018-11-03 Thread Iain Buclaw
On Sat, 3 Nov 2018 at 23:23, Iain Buclaw wrote: > > On Wed, 31 Oct 2018 at 10:40, Rainer Orth > wrote: > > > > Hi Iain, > > > > > My first suspect here would be 'struct UnionExp', see d/dmd/expression.h > > > > > > Upstream dmd use a poor man's alignment, from what I recall to be > > > compatibl

[patch, libgfortran] PR78351 comma not terminating READ of formatted input field

2018-11-03 Thread Jerry DeLisle
Hi all, The attached patch adds code in read_sf_internal to handle early termination of reads in the presence of comma's. This is to support legacy codes which are not standard conforming as far as we can tell. The additions are executed only if -std=legacy is given at compile time. It does

Re: Fix D compilation on Solaris

2018-11-03 Thread Iain Buclaw
On Wed, 31 Oct 2018 at 10:40, Rainer Orth wrote: > > Hi Iain, > > > My first suspect here would be 'struct UnionExp', see d/dmd/expression.h > > > > Upstream dmd use a poor man's alignment, from what I recall to be > > compatible with the dmc compiler. > > > > // Ensure that the union is s

Re: [PATCH] Add myself to MAINTAINERS (not-committed)

2018-11-03 Thread Stafford Horne
On Sat, Nov 03, 2018 at 10:34:40AM -0500, Peter Bergner wrote: > On 11/3/18 1:01 AM, Stafford Horne wrote: > > Nevermind, I don not have write access. I will request to: > > > > overse...@gcc.gnu.org > > > > Use the following form to request write access: > > https://sourceware.org/cgi-bi

RE: [patch][x86_64]: AMD znver2 enablement

2018-11-03 Thread Kumar, Venkataramanan
Hi Uros, > -Original Message- > From: Uros Bizjak > Sent: Friday, November 2, 2018 9:06 PM > To: Kumar, Venkataramanan > Cc: gcc-patches@gcc.gnu.org; Jan Hubicka > Subject: Re: [patch][x86_64]: AMD znver2 enablement > > On Wed, Oct 31, 2018 at 6:25 AM Kumar, Venkataramanan > wrote: >

[nios2, committed] correct sidi3 costs

2018-11-03 Thread Sandra Loosemore
PR target/87079 reported that with -Os, the nios2 back end was emitting an inferior code sequence for widening multiply instead of using mulx. I tracked this down to the rtx costs hook not recognizing the RTL pattern for sidi3 so it would overestimate the cost. I've been aware for a while that

Re: GOOS updated: Port of gccgo to GNU/Hurd

2018-11-03 Thread Svante Signell
ping, no feedback so far, is anything missing/are the patches rejected? On Sat, 2018-10-27 at 20:43 +0200, Svante Signell wrote: > Hello, > > As advised by the Debian gcc maintainer Matthias Klose and golang > developer Ian Lance Taylor I'm (re-)submitting the patches for > the port of gccgo to G

Re: [PATCH] Add myself to MAINTAINERS (not-committed)

2018-11-03 Thread Peter Bergner
On 11/3/18 1:01 AM, Stafford Horne wrote: > Nevermind, I don not have write access. I will request to: > > overse...@gcc.gnu.org > Use the following form to request write access: https://sourceware.org/cgi-bin/pdw/ps_form.cgi Peter

Re: [build] Remove SPARC HAVE_AS_REGISTER_PSEUDO_OP

2018-11-03 Thread Rainer Orth
Hi Joseph, > On Thu, 1 Nov 2018, Rainer Orth wrote: > >> * One for ia64 in gcc_cv_as_ia64_ltoffx_ldxmov_relocs) ... >> >> $as_echo ' .text >> addl r15 = @ltoffx(x#), gp >> ;; >> ld8.mov r16 = [r15], x#'[] > conftest.s > > Thanks for pointing this out. I've applied this p