Re: [PATCH] make RTL/TREE/IPA dump kind an index

2017-05-13 Thread Nathan Sidwell
On 05/13/2017 03:58 AM, Bernhard Reutner-Fischer wrote: Specifically https://gcc.gnu.org/ml/fortran/2012-03/msg00094.html dejagnu-1.5.2 contains the libdirs tweak and was released 2015-01-30 Mike, can we please bump the required dejagnu version for GCC-8? Thanks There's also the version of

Re: [PATCH, rs6000] Add x86 instrinsic headers to GCC PPC64LE taget

2017-05-13 Thread David Edelsohn
On Thu, May 11, 2017 at 12:22 PM, Steven Munroe wrote: > On Thu, 2017-05-11 at 09:39 -0500, Segher Boessenkool wrote: >> On Wed, May 10, 2017 at 12:59:28PM -0500, Steven Munroe wrote: >> > > That is just for the testsuite; I meant what happens if a user tries >> > >

Re: [PATCH, rs6000] Fold vector logicals in GIMPLE

2017-05-13 Thread David Edelsohn
On Thu, May 11, 2017 at 3:09 PM, Segher Boessenkool wrote: > On Thu, May 11, 2017 at 02:36:26PM -0500, Will Schmidt wrote: >> On Thu, 2017-05-11 at 14:15 -0500, Segher Boessenkool wrote: >> > Hi! >> > >> > On Thu, May 11, 2017 at 10:53:33AM -0500, Will Schmidt wrote:

[Bug sanitizer/80659] [7/8 Regression] -fsanitize=address evokes ICE in in gimplify_switch_expr

2017-05-13 Thread jim at meyering dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80659 --- Comment #5 from jim at meyering dot net --- FYI, for a little more context around how I found it, here's the thread on emacs-devel: https://lists.gnu.org/archive/html/emacs-devel/2017-05/msg00182.html

[PING] Re: [New file] Add testcase to ensure that #pragma GCC diagnostic push/pop works with -Wtraditional.

2017-05-13 Thread Eric Gallager
Pinging this again: https://gcc.gnu.org/ml/gcc-patches/2017-05/msg00131.html On 3/25/17, Martin Sebor wrote: > On 03/24/2017 01:41 PM, Eric Gallager wrote: >> On 3/24/17, David Malcolm wrote: >>> On Fri, 2017-03-24 at 14:10 -0400, Eric Gallager wrote:

[Bug sanitizer/80659] [7/8 Regression] -fsanitize=address evokes ICE in in gimplify_switch_expr

2017-05-13 Thread jim at meyering dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80659 --- Comment #4 from jim at meyering dot net --- Created attachment 41351 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41351=edit process.i.xz Thanks for the quick work. Here's the original process.i file. Had to compress it, because it

Re: [Patch, fortran] PR80442 Handle DATA statement with iteration var in array slice

2017-05-13 Thread Nicolas Koenig
Hello Jerry, Thanks for the review. Committed as r248012. Nicolas On 05/13/2017 06:30 PM, Jerry DeLisle wrote: On 05/13/2017 04:56 AM, Nicolas Koenig wrote: Ping Also, attached is a better test case. On 05/09/2017 10:49 PM, Nicolas Koenig wrote: Hello everyone, since everybody seems to

[Bug fortran/80442] Rejects DATA statement with array slice

2017-05-13 Thread koenigni at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80442 --- Comment #2 from Nicolas Koenig --- Author: koenigni Date: Sat May 13 23:38:36 2017 New Revision: 248012 URL: https://gcc.gnu.org/viewcvs?rev=248012=gcc=rev Log: 2017-05-09 Nicolas Koenig PR

Re: [PING] [PATCH v4 0/12] [i386] Improve 64-bit Microsoft to System V ABI pro/epilogues

2017-05-13 Thread Daniel Santos
On 05/13/2017 11:52 AM, Uros Bizjak wrote: On Sat, May 13, 2017 at 1:01 AM, Daniel Santos wrote: Ping? I have posted revisions of the following in patch set: 05/12 - https://gcc.gnu.org/ml/gcc-patches/2017-04/msg01442.html 09/12 -

Re: [PATCH, rs6000] Avoid vectorizing versioned copy loops with vectorization factor 2

2017-05-13 Thread Bill Schmidt
Thanks! This was committed to trunk last week as r247671. As we discussed offline, I've also backported to GCC 7 (r248010) and GCC 6 (r248011). Bill > On May 5, 2017, at 10:30 AM, Segher Boessenkool > wrote: > > Hi Bill, > > On Wed, May 03, 2017 at 02:43:09PM

[PATCH, RTL opt]: Ensure that equivalent_reg_at_start rejects registers with mismatched mode

2017-05-13 Thread Uros Bizjak
Hello! -mtune=intel is able to copy SFmode value through general registers, resulting in the following sequence: (insn 288 1008 1009 29 (parallel [ (set (reg:DI 4 si [687]) (lshiftrt:DI (reg:DI 4 si [687]) (const_int 32 [0x20])))

Re: dejagnu version update?

2017-05-13 Thread Jeff Law
On 05/13/2017 04:38 AM, Jakub Jelinek wrote: On Sat, May 13, 2017 at 12:24:12PM +0200, Bernhard Reutner-Fischer wrote: I guess neither redhat (https://access.redhat.com/downloads/content/dejagnu/ redirects to a login page but there seem to be 1.5.1 packages) nor SuSE did update dejagnu in the

Re: dejagnu version update?

2017-05-13 Thread Jeff Law
On 05/13/2017 04:38 AM, Jakub Jelinek wrote: On Sat, May 13, 2017 at 12:24:12PM +0200, Bernhard Reutner-Fischer wrote: I guess neither redhat (https://access.redhat.com/downloads/content/dejagnu/ redirects to a login page but there seem to be 1.5.1 packages) nor SuSE did update dejagnu in the

Re: [PATCH, rs6000] Fix vec_xl and vec_xst intrinsics for P8

2017-05-13 Thread Bill Schmidt
On May 12, 2017, at 9:17 PM, Bill Schmidt wrote: > > >> On May 9, 2017, at 5:28 PM, Segher Boessenkool >> wrote: >> >> On Tue, May 09, 2017 at 01:44:35PM -0500, Bill Schmidt wrote: >>> I forgot to ask -- this fix is needed for GCC 6

[Bug ada/80590] [8 regression] non-bootstrap build failure of Ada runtime

2017-05-13 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80590 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/80737] variant as class member resulting to compile errors

2017-05-13 Thread timshen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80737 --- Comment #4 from Tim Shen --- (In reply to Tim Shen from comment #3) > (In reply to TC from comment #1) > > Looks like the constraint on the convert-everything constructor needs to > > check for is_same, variant> first and short

[Bug libstdc++/80737] variant as class member resulting to compile errors

2017-05-13 Thread timshen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80737 --- Comment #3 from Tim Shen --- (In reply to TC from comment #1) > Looks like the constraint on the convert-everything constructor needs to > check for is_same, variant> first and short circuit if that's > true. I'm not quite sure

[Bug libstdc++/80737] variant as class member resulting to compile errors

2017-05-13 Thread timshen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80737 Tim Shen changed: What|Removed |Added CC||timshen at gcc dot gnu.org --- Comment #2

[Bug libstdc++/80737] variant as class member resulting to compile errors

2017-05-13 Thread rs2740 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80737 TC changed: What|Removed |Added CC||rs2740 at gmail dot com --- Comment #1 from TC

Re: [RFC PATCH, i386]: Enable post-reload compare elimination pass

2017-05-13 Thread Uros Bizjak
On Sat, May 13, 2017 at 2:47 PM, Markus Trippelsdorf wrote: >> 2017-05-12 Uros Bizjak >> >> * compare-elim.c (try_eliminate_compare): Canonicalize >> operation with embedded compare to >> [(set (reg:CCM) (compare:CCM (operation)

Re: [PING] [PATCH v4 0/12] [i386] Improve 64-bit Microsoft to System V ABI pro/epilogues

2017-05-13 Thread Uros Bizjak
On Sat, May 13, 2017 at 1:01 AM, Daniel Santos wrote: > Ping? I have posted revisions of the following in patch set: > > 05/12 - https://gcc.gnu.org/ml/gcc-patches/2017-04/msg01442.html > 09/12 - https://gcc.gnu.org/ml/gcc-patches/2017-05/msg00348.html > 11/12 -

Re: [Patch, fortran] PR80442 Handle DATA statement with iteration var in array slice

2017-05-13 Thread Jerry DeLisle
On 05/13/2017 04:56 AM, Nicolas Koenig wrote: > Ping > Also, attached is a better test case. > > > On 05/09/2017 10:49 PM, Nicolas Koenig wrote: >> Hello everyone, >> >> since everybody seems to be submitting patches the last few days, I thought I >> might as well :) >> Attached is a patch that

Re: PATCH ATTACHED Re: [PATCH, Fortran] PR78659 Spurious "requires DTIO" reported against namelist statement

2017-05-13 Thread Jerry DeLisle
On 05/13/2017 04:06 AM, Dominique d'Humières wrote: > Dear Jerry, > >> And the actual patch ... > > Are you sure this the right patch? It seems mostly applied on trunk. > > TIA > > Dominique > > PS I saw some ‘return 1;’ which should probably ‘return true;’ > > When I moved the checks

Port fixes for recent compare-elim changes

2017-05-13 Thread Jeff Law
Here's the promised fixes for the mn103, rx and visium ports. Verified by comparing the generated code before the compare-elim changes with the code generated after this change is identical for newlib. Committed to the trunk. Jeff commit e3b9355843ab2b8061d297afd91082b1f9e5f937 Author: law

[Bug fortran/80674] trunk/gcc/fortran/trans-stmt.c:2578]: (style) Redundant condition

2017-05-13 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80674 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/80722] gfortran can not compile omp clause with default(none) when there is a type bind method

2017-05-13 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80722 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

Re: [RFC PATCH, i386]: Enable post-reload compare elimination pass

2017-05-13 Thread Markus Trippelsdorf
On 2017.05.12 at 21:09 +0200, Uros Bizjak wrote: > On Fri, May 12, 2017 at 8:34 PM, Jeff Law wrote: > > On 05/10/2017 01:05 PM, Uros Bizjak wrote: > >> > >> On Wed, May 10, 2017 at 5:18 PM, Uros Bizjak wrote: > >>> > >>> On Wed, May 10, 2017 at 4:27 PM, Jakub

[Bug libstdc++/80737] New: variant as class member resulting to compile errors

2017-05-13 Thread z-1st at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80737 Bug ID: 80737 Summary: variant as class member resulting to compile errors Product: gcc Version: 7.1.0 Status: UNCONFIRMED Severity: normal Priority:

BRIG FE: fix for lda and private arrays

2017-05-13 Thread Pekka Jääskeläinen
Hi, I committed in r248006 the attached fix for an assertion when doing an 'lda' of a private array offset. BR, -- Pekka Jääskeläinen Parmance Index: gcc/brig/ChangeLog === --- gcc/brig/ChangeLog (revision 248005) +++

Re: [Patch, fortran] PR80442 Handle DATA statement with iteration var in array slice

2017-05-13 Thread Nicolas Koenig
Ping Also, attached is a better test case. On 05/09/2017 10:49 PM, Nicolas Koenig wrote: Hello everyone, since everybody seems to be submitting patches the last few days, I thought I might as well :) Attached is a patch that makes the compiler capable of dealing with implied do variables in

Re: PATCH ATTACHED Re: [PATCH, Fortran] PR78659 Spurious "requires DTIO" reported against namelist statement

2017-05-13 Thread Dominique d'Humières
Dear Jerry, > And the actual patch ... Are you sure this the right patch? It seems mostly applied on trunk. TIA Dominique PS I saw some ‘return 1;’ which should probably ‘return true;’

Re: dejagnu version update?

2017-05-13 Thread Jakub Jelinek
On Sat, May 13, 2017 at 12:24:12PM +0200, Bernhard Reutner-Fischer wrote: > I guess neither redhat > (https://access.redhat.com/downloads/content/dejagnu/ redirects to a > login page but there seem to be 1.5.1 packages) nor SuSE did update dejagnu > in the meantime. Fedora has dejagnu-1.6 in

Re: dejagnu version update?

2017-05-13 Thread Jakub Jelinek
On Sat, May 13, 2017 at 12:24:12PM +0200, Bernhard Reutner-Fischer wrote: > I guess neither redhat > (https://access.redhat.com/downloads/content/dejagnu/ redirects to a > login page but there seem to be 1.5.1 packages) nor SuSE did update dejagnu > in the meantime. Fedora has dejagnu-1.6 in

Re: dejagnu version update?

2017-05-13 Thread Bernhard Reutner-Fischer
On Tue, Sep 15, 2015 at 10:50:12PM +0200, Bernhard Reutner-Fischer wrote: > On September 15, 2015 10:05:27 PM GMT+02:00, Jeff Law wrote: > >On 09/15/2015 01:21 PM, David Malcolm wrote: > >> On Tue, 2015-09-15 at 10:39 -0700, Mike Stump wrote: > >>> On Sep 14, 2015, at 3:37 PM,

Re: dejagnu version update?

2017-05-13 Thread Bernhard Reutner-Fischer
On Tue, Sep 15, 2015 at 10:50:12PM +0200, Bernhard Reutner-Fischer wrote: > On September 15, 2015 10:05:27 PM GMT+02:00, Jeff Law wrote: > >On 09/15/2015 01:21 PM, David Malcolm wrote: > >> On Tue, 2015-09-15 at 10:39 -0700, Mike Stump wrote: > >>> On Sep 14, 2015, at 3:37 PM,

[Bug ipa/80597] [8 Regression] internal compiler error: in compute_inline_parameters, at ipa-inline-analysis.c:3126

2017-05-13 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80597 --- Comment #8 from Martin Liška --- (In reply to Pat Haugen from comment #7) > (In reply to Pat Haugen from comment #6) > > > > I just ran into the same ICE and the proposed patch fixes the problem. > > Unfortunately the patch introduces the

[Bug middle-end/80222] may_alias folded away

2017-05-13 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80222 Eric Botcazou changed: What|Removed |Added Status|RESOLVED|REOPENED CC|

Re: [PATCH] Fix PR80222

2017-05-13 Thread Eric Botcazou
> Does this happen on the GCC7 branch as well? The patch just guards an > indirect ref folding (I refrained from trying to make it correct given I > think it's premature optimization). No, mainline and GCC 7 branch are fine. It appears that the folding (probably to BIT_FIELD_REF) is necessary

[Bug c++/80736] New: Wrong overload picked with uniform initialization

2017-05-13 Thread d.frey at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80736 Bug ID: 80736 Summary: Wrong overload picked with uniform initialization Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug fortran/80666] character length parameter fails if declaration order incorrect

2017-05-13 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80666 --- Comment #4 from Dominique d'Humieres --- The change in behavior is likely due to revision r238904 (pr71730). Note that compiling the first test in comment 0 with -std=f95 before this revision gives % /opt/gcc/gcc7p-238848p2/bin/gfortran

Re: [PATCH] Fix PR80222

2017-05-13 Thread Richard Biener
On May 13, 2017 10:49:31 AM GMT+02:00, Eric Botcazou wrote: >> Bootstrapped and tested on x86_64-unknown-linux-gnu, applied to >trunk. >> >> Richard. >> >> 2017-03-28 Richard Biener >> >> PR middle-end/80222 >> * gimple-fold.c

[Bug tree-optimization/79920] [6 Regression] Incorrect floating point results when compiling with -O3

2017-05-13 Thread mikpelinux at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79920 Mikael Pettersson changed: What|Removed |Added CC||mikpelinux at gmail dot com ---

Re: [PATCH] Fix PR80222

2017-05-13 Thread Eric Botcazou
> Bootstrapped and tested on x86_64-unknown-linux-gnu, applied to trunk. > > Richard. > > 2017-03-28 Richard Biener > > PR middle-end/80222 > * gimple-fold.c (gimple_fold_indirect_ref): Do not touch > TYPE_REF_CAN_ALIAS_ALL references. > *

Re: [PATCH] make RTL/TREE/IPA dump kind an index

2017-05-13 Thread Bernhard Reutner-Fischer
On 12 May 2017 01:10:19 CEST, Bernhard Reutner-Fischer wrote: >On 12 May 2017 00:57:58 CEST, Rainer Orth >wrote: >>Bernhard Reutner-Fischer writes: >> >>> On 11 May 2017 15:10:36 CEST, Nathan Sidwell

[Bug c/80734] GCC 6.3.1 errors compiling GCC 4.8.5 - error: ‘const char* libc_name_p(const char*, unsigned int)’ redeclared inline with ‘gnu_inline’ attribute

2017-05-13 Thread eric.parker at inventati dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80734 --- Comment #2 from Eric Parker --- Okay, that works for me. Thanks Jakub.

Re: C PATCH to kill c_save_expr or towards delayed folding for the C FE

2017-05-13 Thread Jakub Jelinek
On Fri, May 12, 2017 at 08:28:38PM +, Joseph Myers wrote: > On Fri, 12 May 2017, Marek Polacek wrote: > > > In the effort of reducing early folding, we should avoid calling > > c_fully_fold > > blithely, except when needed for e.g. initializers. This is a teeny tiny > > step > > Note

[Bug c/80734] GCC 6.3.1 errors compiling GCC 4.8.5 - error: ‘const char* libc_name_p(const char*, unsigned int)’ redeclared inline with ‘gnu_inline’ attribute

2017-05-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80734 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

Re: Duplicating loops and virtual phis

2017-05-13 Thread Richard Biener
On May 12, 2017 10:42:34 PM GMT+02:00, Steve Ellcey wrote: >(Short version of this email, is there a way to recalculate/rebuild >virtual >phi nodes after modifying the CFG.) > >I have a question about duplicating loops and virtual phi nodes. >I am trying to implement the

Re: [PATCH] decl lang hooks

2017-05-13 Thread Richard Biener
On May 13, 2017 2:01:11 AM GMT+02:00, Nathan Sidwell wrote: >On 05/12/2017 03:26 AM, Richard Biener wrote: >> On Thu, May 11, 2017 at 7:58 PM, Nathan Sidwell >wrote: >>> On 05/11/2017 01:50 PM, Rainer Orth wrote: >>> however, it breaks bootstrap with

[Bug middle-end/80735] New: IPA: SRA inhibits constant propagation of structs across multiple function calls

2017-05-13 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80735 Bug ID: 80735 Summary: IPA: SRA inhibits constant propagation of structs across multiple function calls Product: gcc Version: 7.1.0 Status: UNCONFIRMED