Re: [PATCH] avoid using types wider than int for width and precision (PR 80364)

2017-04-09 Thread Jakub Jelinek
On Sun, Apr 09, 2017 at 05:06:58PM -0600, Martin Sebor wrote: > PR middle-end/80364 - sanitizer detects signed integer overflow in > gimple-ssa-sprintf.c > > gcc/ChangeLog: > > PR middle-end/80364 > * gimple-ssa-sprintf.c (get_int_range): Use the specified type when > recursing

Re: [PATCH] Add _mm512_{,mask_}reduce_*_* intrinsics (PR target/80324)

2017-04-09 Thread Kirill Yukhin
Hi Jakib, On 07 Apr 16:52, Jakub Jelinek wrote: > Hi! > > This patch is slightly larger, so I haven't included it in the patch I've > sent a few minutes ago. > > I've looked at godbolt for what ICC generates for these and picked sequences > that generate approx. as good code as that. For > min_epi

Re: [wwwdocs] Document C++ null pointer constant changes in gcc-7/porting_to.html

2017-04-09 Thread Sandra Loosemore
On 04/07/2017 03:25 AM, Jonathan Wakely wrote: This issue caused a lot of build failures during the GCC mass rebuilds for Fedora, but isn't in the porting to guide yet. Is this accurate and clear enough for casual readers? Index: htdocs/gcc-7/porting_to.html ===

[PATCH] avoid using types wider than int for width and precision (PR 80364)

2017-04-09 Thread Martin Sebor
Bug 80364 - sanitizer detects signed integer overflow in gimple-ssa-sprintf.c, points out a runtime error (integer overflow when negating LONG_MIN) triggered by the undefined saniziter for an invalid test case recently added to the test suite. The test case passes an argument of type long as the

Re: [C++ PATCH] New warning for extra semicolons after in-class function definitions

2017-04-09 Thread Volker Reichelt
On 7 Apr, David Malcolm wrote: > On Fri, 2017-04-07 at 21:55 +0200, Volker Reichelt wrote: >> Hi, >> >> with the following patch I suggest to add a diagnostic for extra >> semicolons after in-class member function definitions: >> >> struct A >> { >> A() {}; >> void foo() {}; >> f

Re: [HSA, PATCH] Load an HSA runtime via dlopen mechanism

2017-04-09 Thread Martin Jambor
Hi, On Wed, Apr 05, 2017 at 10:11:34AM +0200, Thomas Schwinge wrote: > ... > > I ran into a case where the libgomp hsa plugin wouldn't load. The > following patch helped me to quickly diagnose and then fix that. OK for > trunk? Yes, thanks. Martin > > commit 54099202eb88464530dd3a55709c9afb8

Re: [hsa] Integrate into the existing accelerator framework, libgomp plugin

2017-04-09 Thread Martin Jambor
On Wed, Apr 05, 2017 at 09:36:44AM +0200, Thomas Schwinge wrote: > Hi! > > On Tue, 9 Jun 2015 16:43:57 +0200, Martin Jambor wrote: > > [hsa libgomp plugin] > > > I'm looking forward to any comments and suggestions, meanwhile I have > > committed the patch to the branch as r224284. > > Commentin

Re: [Patch, fortran] PR34360 (Comment 28) - ICE when assigning item of a derived-component to a pointer

2017-04-09 Thread Dominique d'Humières
The original test in pr51218 is also miscomputed with the patch: Before t: Program received signal SIGSEGV: Segmentation fault - invalid memory reference. Dominique > Le 9 avr. 2017 à 16:41, Dominique d'Humières a écrit : > > Dear Paul, > > Your patch fixes the tests in pr34640 comments 20

Re: [Patch, fortran] PR34360 (Comment 28) - ICE when assigning item of a derived-component to a pointer

2017-04-09 Thread Dominique d'Humières
Dear Paul, Your patch fixes the tests in pr34640 comments 20 and 28 (I didn’t test the variants in comment 27) and in pr57733. The tests in pr34640 in comments 0, 3, and 5, as well in all the other duplicates still fail. Thanks for working on the issue, Dominique

Re: [Patch, Fortran, F03] PR 80046: Explicit interface required: pointer argument

2017-04-09 Thread Paul Richard Thomas
Hi Janus, The patch is OK for trunk. Thanks Paul On 7 April 2017 at 17:51, Janus Weil wrote: > ping! > > 2017-03-29 22:25 GMT+02:00 Janus Weil : >> Hi all, >> >> here is a patch that enhances the diagnostics for procedure-pointer >> assignments, so that procedure-pointer components that need