Re: [PATCH] Add a warning for invalid function casts

2017-10-21 Thread Bernd Edlinger
Ping... for the latest version of my patch which can be found here: https://gcc.gnu.org/ml/gcc-patches/2017-10/msg00559.html Thanks Bernd. On 10/10/17 00:30, Bernd Edlinger wrote: > On 10/09/17 20:34, Martin Sebor wrote: >> On 10/09/2017 11:50 AM, Bernd Edlinger wrote: >>> On 10/09/17 18:44, M

[Ada] Fix ICE on discriminated record type with -O

2017-10-21 Thread Eric Botcazou
The compiler aborts on an aggregate of a record type which contains a private discriminated record type with default as a subcomponent, when the unit is compiled with optimization. Tested on x86_64-suse-linux, applied on the mainline. 2017-10-21 Eric Botcazou * gcc-interface/utils.

Re: [RFA] Zen tuning part 9: Add support for scatter/gather in vectorizer costmodel

2017-10-21 Thread Jan Hubicka
> Please look at the testsuite fallout in detail. Note that only > testcases that do not disable the cost model should be affected > (all vect.exp testcases disable the cost model for example). > > The patch itself looks mostly good, I suppose if we also have > separate costs for float vs. double

[PATCH], Enable IBM/IEEE long double format to overriden more easily

2017-10-21 Thread Michael Meissner
As Segher and I were discussing off-line, I have some problems with the current -mabi={ieee,ibm}longdouble switches as we start to planning to modify GCC 9 and GLIBC 2.27/2.28 to support __float128 as the default long double format for power server systems. My gripes are: 1) Using Warn() in

Re: [RFA] Zen tuning part 9: Add support for scatter/gather in vectorizer costmodel

2017-10-21 Thread Toon Moene
On 10/17/2017 07:22 PM, Jan Hubicka wrote: According to Agner's tables, gathers range from 12 ops (vgatherdpd) to 66 ops (vpgatherdd). I assume that CPU needs to do following: In our code, it is basically don't" care" how much work it is for a gather instruction to do its work. Without gat

Re: [Patch] Edit contrib/ files to download gfortran prerequisites

2017-10-21 Thread Bernhard Reutner-Fischer
On 21 October 2017 at 02:26, Damian Rouson wrote: > > Hi Richard, > > Attached is a revised patch that makes the downloading of Fortran > prerequisites optional via a new --no-fortran flag that can be passed to > contrib/download_prerequisites as requested in your reply below. > > As Jerry menti

Re: [patch 2/5] add hook to track when splitting is complete

2017-10-21 Thread Sandra Loosemore
On 10/20/2017 02:24 AM, Richard Biener wrote: On Fri, Oct 20, 2017 at 4:09 AM, Sandra Loosemore wrote: This patch adds a function to indicate whether the split1 pass has run yet. This is used in part 3 of the patch set to decide whether 32-bit symbolic constant expressions are permitted, e.g.