Re: [PING] [PATCH] [MSP430] PR79242: Implement Complex Partial Integers

2018-02-13 Thread Jeff Law
On 02/08/2018 09:54 AM, Jozef Lawrynowicz wrote: > ping x1 > > Complex Partial Integers are unimplemented, resulting in an ICE when > attempting to use them. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79242 > This results in GCC7/8 for msp430-elf failing to build. > > typedef _Complex __int20

[Bug target/79242] [7/8 Regression] ICE in simplify_subreg, at simplify-rtx.c:6029

2018-02-13 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79242 --- Comment #9 from Jeffrey A. Law --- Author: law Date: Wed Feb 14 07:21:11 2018 New Revision: 257653 URL: https://gcc.gnu.org/viewcvs?rev=257653=gcc=rev Log: 2018-02-14 Jozef Lawrynowicz PR target/79242

[Bug other/82368] [8 regression] with r253275 several new test cases in libbacktrace fail

2018-02-13 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82368 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #10

Re: [PATCH] avoid warning for members declared both aligned and packed (PR 84108)

2018-02-13 Thread Jeff Law
On 02/02/2018 11:58 AM, Martin Sebor wrote: > The design of the attribute exclusion framework includes > support for different exclusions applying to different > kinds of declarations (functions, types, and variables > or fields), but the support is incomplete -- the logic > to consider these 

Re: PR84239, Reimplement CET intrinsics for rdssp/incssp insn

2018-02-13 Thread Jeff Law
On 02/12/2018 07:16 AM, Tsimbalist, Igor V wrote: >> -Original Message- >> From: Sandra Loosemore [mailto:san...@codesourcery.com] >> Sent: Friday, February 9, 2018 7:42 PM >> To: Tsimbalist, Igor V ; gcc- >> patc...@gcc.gnu.org >> Cc: Uros Bizjak

Re: [PATCH] correct -Wrestrict handling of arrays of arrays (PR 84095)

2018-02-13 Thread Jeff Law
On 02/01/2018 04:45 PM, Martin Sebor wrote: > The previous patch didn't resolve all the false positives > in the Linux kernel.  The attached is an update that fixes > the remaining one having to do with multidimensional array > members: > >   struct S { char a[2][4]; }; > >   void f (struct S 

[Bug fortran/68746] FAIL: gfortran.dg/read_dir.f90 -O0 execution test

2018-02-13 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68746 Thomas Koenig changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [PATCH] make -Wrestrict for strcat more meaningful (PR 83698)

2018-02-13 Thread Jeff Law
On 01/16/2018 01:36 PM, Martin Sebor wrote: > PR 83698 - bogus offset in -Wrestrict messages for strcat of > unknown strings, points out that the offsets printed by > -Wrestrict for possibly overlapping strcat calls with unknown > strings don't look meaningful in some cases.  The root cause > of 

Re: [PATCH] make -Wrestrict for strcat more meaningful (PR 83698)

2018-02-13 Thread Jeff Law
On 01/16/2018 05:35 PM, Martin Sebor wrote: > On 01/16/2018 02:32 PM, Jakub Jelinek wrote: >> On Tue, Jan 16, 2018 at 01:36:26PM -0700, Martin Sebor wrote: >>> --- gcc/gimple-ssa-warn-restrict.c    (revision 256752) >>> +++ gcc/gimple-ssa-warn-restrict.c    (working copy) >>> @@ -384,6 +384,12 @@

Re: [PATCH] diagnose specializations of deprecated templates (PR c++/84318)

2018-02-13 Thread Jason Merrill
On Tue, Feb 13, 2018 at 5:20 PM, Martin Sebor wrote: > On 02/13/2018 01:09 PM, Jason Merrill wrote: >> >> On Tue, Feb 13, 2018 at 2:59 PM, Martin Sebor wrote: >>> >>> On 02/13/2018 12:15 PM, Jason Merrill wrote: On Tue, Feb 13, 2018 at 1:31 PM,

Re: [PATCH] Fix PR84101, account for function ABI details in vectorization costs

2018-02-13 Thread Jeff Law
On 01/30/2018 02:59 AM, Richard Biener wrote: > > This patch tries to deal with the "easy" part of a function ABI, > the return value location, in vectorization costing. The testcase > shows that if we vectorize the returned value but the function > doesn't return in memory or in a vector

Re: [PR81611] improve auto-inc

2018-02-13 Thread Jeff Law
On 01/23/2018 08:42 PM, Alexandre Oliva wrote: > These two patches fix PR81611. > > The first one improves forwprop so that we avoid adding SSA conflicting > by forwpropping the iv increment, which may cause both the incremented > and the original value to be live, even when the iv is copied

PING^2: [PATCH] i386: Add __x86_indirect_thunk_nt_reg for -fcf-protection -mcet

2018-02-13 Thread H.J. Lu
On Thu, Feb 8, 2018 at 10:09 AM, H.J. Lu wrote: > On Fri, Feb 2, 2018 at 8:54 AM, H.J. Lu wrote: >> nocf_check attribute can be used with -fcf-protection -mcet to disable >> control-flow check by adding NOTRACK prefix before indirect branch. >> When

PING^2: [PATCH] i386: Add TARGET_INDIRECT_BRANCH_REGISTER

2018-02-13 Thread H.J. Lu
On Thu, Feb 8, 2018 at 10:05 AM, H.J. Lu wrote: > On Sun, Jan 28, 2018 at 11:56 AM, H.J. Lu wrote: >> On Sat, Jan 27, 2018 at 2:12 PM, H.J. Lu wrote: >>> For >>> >>> --- >>> struct C { >>> virtual ~C(); >>> virtual void f();

[Bug target/83789] __builtin_altivec_lvx fails for powerpc for altivec-4.c

2018-02-13 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83789 Peter Bergner changed: What|Removed |Added CC||bergner at gcc dot gnu.org --- Comment

[Bug tree-optimization/83776] [6/7/8 Regression] missing -Warray-bounds indexing past the end of a string literal

2018-02-13 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83776 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com Target

Re: [PATCH] FIx endless match.pd recursion on cst1 + cst2 + cst3 (PR tree-optimization/84334)

2018-02-13 Thread Jakub Jelinek
On Tue, Feb 13, 2018 at 03:28:25PM -0400, Marc Glisse wrote: > On Tue, 13 Feb 2018, Richard Biener wrote: > > > On February 13, 2018 6:51:29 PM GMT+01:00, Jakub Jelinek > > wrote: > > > Hi! > > > > > > On the following testcase, we recurse infinitely, because > > > we have

[Bug bootstrap/84326] [8 Regression] build fails on powerpc64-linux-gnu when configured wth --with-cpu-32=power7 --with-cpu-64=power7

2018-02-13 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84326 --- Comment #5 from Peter Bergner --- (In reply to Matthias Klose from comment #0) > cc1: warning: will not generate 'power7' instructions because assembler > lacks 'power7' support > cc1: error: '-msecure-plt' not supported by your assembler

[Bug target/84279] [8 Regression] powerpc64le ICE on cvc4

2018-02-13 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84279 Peter Bergner changed: What|Removed |Added Target Milestone|8.0 |7.4

Re: [PATCH, rs6000] Fix PR84279, powerpc64le ICE on cvc4

2018-02-13 Thread Peter Bergner
On 2/13/18 5:51 PM, Segher Boessenkool wrote: > On Tue, Feb 13, 2018 at 05:07:26PM -0600, Peter Bergner wrote: >> It's up to you whether you want the backport because you don't trust >> me being able to create a failing test case. :-) > > We can backport without having a failing testcase. Let's

[Bug tree-optimization/66013] Missed optimization after inlining va_list parameter, -m32 case

2018-02-13 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66013 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug tree-optimization/84047] [6/7/8 Regression] missing -Warray-bounds on an out-of-bounds index into an array

2018-02-13 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84047 Eric Gallager changed: What|Removed |Added Keywords||patch CC|

[Bug bootstrap/84326] [8 Regression] build fails on powerpc64-linux-gnu when configured wth --with-cpu-32=power7 --with-cpu-64=power7

2018-02-13 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84326 Peter Bergner changed: What|Removed |Added Status|WAITING |ASSIGNED Assignee|unassigned

Re: [PATCH, rs6000] Fix PR84279, powerpc64le ICE on cvc4

2018-02-13 Thread Segher Boessenkool
On Tue, Feb 13, 2018 at 05:07:26PM -0600, Peter Bergner wrote: > On 2/13/18 4:34 PM, Segher Boessenkool wrote: > >> This patch passed bootstrap and retesting on powerpc64le-linux with > >> no regressions. Ok for mainline? > > > > Okay, thanks! Does this need backports? > > Committed with your

[Bug c/84377] New: gcc-7.3.0 miscompiles truncf128@@GLIBC_2.26 in libm.so

2018-02-13 Thread dilfridge at gentoo dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84377 Bug ID: 84377 Summary: gcc-7.3.0 miscompiles truncf128@@GLIBC_2.26 in libm.so Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Priority: P3

[PATCH, rs6000] (v2) PR84220 remove RS6000_BTI_NOT_OPAQUE refs from builtins table

2018-02-13 Thread Will Schmidt
Hi, This is (v2), which is notably more comprehensive than (v1). Some of our builtin definitions were allowing invalid parameters, and a subsequent ICE (on invalid code) were the result. This is due to the use of RS6000_BTI_NOT_OPAQUE (which allowed vector arguments), where a RS6000_BTI_INTSI

[Bug target/84372] test case gcc.target/powerpc/lvsl-lvsr.c fails on power9

2018-02-13 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84372 Peter Bergner changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #5 from Peter

[Bug target/84372] test case gcc.target/powerpc/lvsl-lvsr.c fails on power9

2018-02-13 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84372 Peter Bergner changed: What|Removed |Added Status|ASSIGNED|RESOLVED URL|

Re: [PATCH, rs6000] Begin deprecation of -maltivec=be

2018-02-13 Thread Segher Boessenkool
On Tue, Feb 13, 2018 at 04:11:36PM -0600, Kelvin Nilsen wrote: > PR 78303 was recently marked RESOLVED, WONTFIX. The resolution was to > deprecate the troublesome command-line option. > > This patch begins the process of deprecation by issuing a warning > message when this command-line option is

Re: [PATCH] adjust warning_n() to take uhwi (PR 84207)

2018-02-13 Thread Martin Sebor
On 02/13/2018 04:05 PM, David Malcolm wrote: On Tue, 2018-02-13 at 15:37 -0700, Martin Sebor wrote: On 02/13/2018 01:59 PM, Manuel López-Ibáñez wrote: On 13 Feb 2018 5:58 pm, "Martin Sebor" > wrote: I wanted to make the _n() functions like

[PATCH, rs6000, committed] Fix PR84372: test case gcc.target/powerpc/lvsl-lvsr.c fails on power9

2018-02-13 Thread Peter Bergner
Same problem as PR84365 and same fix. Committed as obvious. Peter PR target/84372 * gcc.target/powerpc/lvsl-lvsr.c: Also match lxv when compiling with -mcpu=power9. Index: gcc/testsuite/gcc.target/powerpc/lvsl-lvsr.c

[Bug target/84372] test case gcc.target/powerpc/lvsl-lvsr.c fails on power9

2018-02-13 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84372 --- Comment #3 from Peter Bergner --- Author: bergner Date: Tue Feb 13 23:29:38 2018 New Revision: 257648 URL: https://gcc.gnu.org/viewcvs?rev=257648=gcc=rev Log: PR target/84372 * gcc.target/powerpc/lvsl-lvsr.c: Also match lxv

Re: [PATCH, rs6000] PR84220 fix altivec_vec_sld and vec_sldw intrinsic definitions

2018-02-13 Thread Will Schmidt
On Thu, 2018-02-08 at 17:48 -0600, Segher Boessenkool wrote: > Hi! > > On Wed, Feb 07, 2018 at 09:14:59AM -0600, Will Schmidt wrote: > > Our VEC_SLD definitions were mistakenly allowing the third argument to be > > of an invalid type, triggering an ICE (on invalid code) later in the build > >

[Bug rtl-optimization/84169] [8 Regression] wrong code with u128 multiplication result at aarch64 -O

2018-02-13 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84169 --- Comment #7 from Segher Boessenkool --- Yeah, not planning to do backports, although the core problem is ancient.

[Bug target/84372] test case gcc.target/powerpc/lvsl-lvsr.c fails on power9

2018-02-13 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84372 Peter Bergner changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/84372] test case gcc.target/powerpc/lvsl-lvsr.c fails on power9

2018-02-13 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84372 Peter Bergner changed: What|Removed |Added CC||bergner at gcc dot gnu.org --- Comment

[Bug tree-optimization/46029] -ftree-loop-if-convert-stores causes FAIL: libstdc++-v3/testsuite/ext/pb_ds/example/tree_intervals.cc

2018-02-13 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46029 Eric Gallager changed: What|Removed |Added Keywords||patch CC|

[Bug target/84279] [8 Regression] powerpc64le ICE on cvc4

2018-02-13 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84279 Peter Bergner changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

Re: [PATCH, rs6000] Fix PR84279, powerpc64le ICE on cvc4

2018-02-13 Thread Peter Bergner
On 2/13/18 4:34 PM, Segher Boessenkool wrote: >> This patch passed bootstrap and retesting on powerpc64le-linux with >> no regressions. Ok for mainline? > > Okay, thanks! Does this need backports? Committed with your suggested change below. Thanks! It'd be easy to backport and should be

[Bug target/84279] [8 Regression] powerpc64le ICE on cvc4

2018-02-13 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84279 --- Comment #7 from Peter Bergner --- Author: bergner Date: Tue Feb 13 23:05:59 2018 New Revision: 257647 URL: https://gcc.gnu.org/viewcvs?rev=257647=gcc=rev Log: gcc/ PR target/84279 * config/rs6000/rs6000.c (mem_operand_gpr):

Re: [PATCH] adjust warning_n() to take uhwi (PR 84207)

2018-02-13 Thread David Malcolm
On Tue, 2018-02-13 at 15:37 -0700, Martin Sebor wrote: > On 02/13/2018 01:59 PM, Manuel López-Ibáñez wrote: > > > > > > On 13 Feb 2018 5:58 pm, "Martin Sebor" > > wrote: > > > > > > I wanted to make the _n() functions like warning_n() more > >

[Bug tree-optimization/84047] [6/7/8 Regression] missing -Warray-bounds on an out-of-bounds index into an array

2018-02-13 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84047 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com Target

[Bug tree-optimization/84050] [6/7/8 Regression] missing -Warray-bounds accessing a struct array member

2018-02-13 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84050 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com Target

[Bug tree-optimization/84051] [6/7/8 Regression] missing -Warray-bounds on an out-of-bounds access via an array pointer

2018-02-13 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84051 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com Target

[Bug tree-optimization/84053] [6/7/8 Regression] missing -Warray-bounds accessing a local array across inlined function boundaries

2018-02-13 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84053 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com Target

Re: [PR tree-optimization/84047] missing -Warray-bounds on an out-of-bounds index

2018-02-13 Thread Jeff Law
On 02/08/2018 03:38 AM, Richard Biener wrote: > On Thu, Feb 1, 2018 at 6:42 PM, Aldy Hernandez wrote: >> Since my patch isn't the easy one liner I wanted it to be, perhaps we >> should concentrate on Martin's patch, which is more robust, and has >> testcases to boot! His patch

[Bug testsuite/84243] [8 Regression] gcc.target/i386/cet-intrin-4.c at r257414

2018-02-13 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84243 Jeffrey A. Law changed: What|Removed |Added Status|REOPENED|RESOLVED CC|

Re: [RFC][AARCH64] Machine reorg pass for aarch64/Falkor to handle prefetcher tag collision

2018-02-13 Thread Kugan Vivekanandarajah
Hi Kyrill, On 13 February 2018 at 20:47, Kyrill Tkachov wrote: > Hi Kugan, > > On 12/02/18 23:58, Kugan Vivekanandarajah wrote: >> >> Implements a machine reorg pass for aarch64/Falkor to handle >> prefetcher tag collision. This is strictly not part of the loop >>

[Bug debug/84319] [8 regression] Location views break bootstrap with Solaris/SPARC as

2018-02-13 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84319 Jeffrey A. Law changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC|

[Bug target/84366] gcc.dg/torture/float128-cmp-invalid.c fails when run on power9

2018-02-13 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84366 Michael Meissner changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/84321] [8 Regression] ice in intersect_range_with_nonzero_bits, at tree-vrp.c:213

2018-02-13 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84321 Jeffrey A. Law changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC|

[Bug debug/84342] [8 Regression] Location views breaks cross builds of arm including gnueabihf

2018-02-13 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84342 Jeffrey A. Law changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC|

Re: [PATCH] adjust warning_n() to take uhwi (PR 84207)

2018-02-13 Thread Martin Sebor
On 02/13/2018 01:59 PM, Manuel López-Ibáñez wrote: On 13 Feb 2018 5:58 pm, "Martin Sebor" > wrote: I wanted to make the _n() functions like warning_n() more robust by letting them accept a tree argument (as well as offset_int and

[Bug testsuite/84370] Invalid option used in test case gcc.target/powerpc/builtins-3-p9-runnable.c

2018-02-13 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84370 Peter Bergner changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #5 from Peter

[Bug testsuite/84370] Invalid option used in test case gcc.target/powerpc/builtins-3-p9-runnable.c

2018-02-13 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84370 Peter Bergner changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED URL|

Re: [PATCH, rs6000] Fix PR84279, powerpc64le ICE on cvc4

2018-02-13 Thread Segher Boessenkool
Hi! On Mon, Feb 12, 2018 at 09:34:30PM -0600, Peter Bergner wrote: > PR84279 is a similar problem to PR83399, in that we generate an altivec > load/store through an explicit call to the altivec_{l,st}vx_v4si_2op > pattern and then due to spilling, we end up calling recog() and we match > an

[PATCH, rs6000, committed] Fix PR80370: Invalid option used in test case gcc.target/powerpc/builtins-3-p9-runnable.c

2018-02-13 Thread Peter Bergner
This patch removes an undocumented option that has since been deprecated and removed and was causing this test case to FAIL. The obvious patch below was approved by Segher offline. Committed. Peter PR target/84370 * gcc.target/powerpc/builtins-3-p9-runnable.c: Remove deprecated

Re: [RFC] Adds a target hook

2018-02-13 Thread Kugan Vivekanandarajah
Hi Kyrill, Thanks for the review. On 13 February 2018 at 20:58, Kyrill Tkachov wrote: > Hi Kugan, > > On 12/02/18 23:53, Kugan Vivekanandarajah wrote: >> >> Adds a target hook TARGET_HW_MAX_MEM_READ_STREAMS. Loop unroller, if >> defined, will try to limit the

[Bug rtl-optimization/84169] [8 Regression] wrong code with u128 multiplication result at aarch64 -O

2018-02-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84169 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug fortran/82065] gfortran rejects redundant use of intrinsic module constant

2018-02-13 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82065 Harald Anlauf changed: What|Removed |Added CC||anlauf at gmx dot de --- Comment #3

Re: [PATCH] diagnose specializations of deprecated templates (PR c++/84318)

2018-02-13 Thread Martin Sebor
On 02/13/2018 01:09 PM, Jason Merrill wrote: On Tue, Feb 13, 2018 at 2:59 PM, Martin Sebor wrote: On 02/13/2018 12:15 PM, Jason Merrill wrote: On Tue, Feb 13, 2018 at 1:31 PM, Martin Sebor wrote: On 02/13/2018 09:24 AM, Martin Sebor wrote: On

[Bug target/84365] gcc.target/powerpc/altivec-7-le.c fails on power9

2018-02-13 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84365 --- Comment #5 from Peter Bergner --- Closing as fixed.

Re: [PATCH] combine: Update links correctly for new I2 (PR84169)

2018-02-13 Thread Segher Boessenkool
On Mon, Feb 12, 2018 at 05:12:20PM +0100, Jakub Jelinek wrote: > On Mon, Feb 12, 2018 at 03:59:05PM +, Segher Boessenkool wrote: > > If there is a LOG_LINK between two insns, this means those two insns > > can be combined, as far as dataflow is concerned. There never should > > be a LOG_LINK

[Bug target/84365] gcc.target/powerpc/altivec-7-le.c fails on power9

2018-02-13 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84365 Peter Bergner changed: What|Removed |Added Status|ASSIGNED|RESOLVED URL|

[Bug rtl-optimization/84169] [8 Regression] wrong code with u128 multiplication result at aarch64 -O

2018-02-13 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84169 --- Comment #5 from Segher Boessenkool --- Author: segher Date: Tue Feb 13 22:12:55 2018 New Revision: 257644 URL: https://gcc.gnu.org/viewcvs?rev=257644=gcc=rev Log: combine: Update links correctly for new I2 (PR84169) If there is a LOG_LINK

[PATCH, rs6000] Begin deprecation of -maltivec=be

2018-02-13 Thread Kelvin Nilsen
PR 78303 was recently marked RESOLVED, WONTFIX. The resolution was to deprecate the troublesome command-line option. This patch begins the process of deprecation by issuing a warning message when this command-line option is specified. The patch has bootstrapped and tested without regressions

[PATCH, rs6000, committed] Fix PR84365: gcc.target/powerpc/altivec-7-le.c fails on power9

2018-02-13 Thread Peter Bergner
The following patch was approved offline by Segher to fix PR84365. The problem is when compiling with -mcpu=power9, we don't generate the LE unfriendly lxvd2x and instead emit an LE friendly lxv insn. Peter PR target/84365 * gcc.target/powerpc/altivec-7-le.c: Also match lxv when

[Bug libgomp/65904] Memory corruption with acc_shutdown, nvptx offloading, libgomp.oacc-c-c++-common/asyncwait-1.c

2018-02-13 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65904 Eric Gallager changed: What|Removed |Added Keywords||patch CC|

Re: Merge from trunk to gccgo branch

2018-02-13 Thread Ian Lance Taylor
I merged trunk revision 257637 to the gccgo branch. Ian

[Bug testsuite/84370] Invalid option used in test case gcc.target/powerpc/builtins-3-p9-runnable.c

2018-02-13 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84370 --- Comment #3 from Peter Bergner --- Author: bergner Date: Tue Feb 13 22:04:00 2018 New Revision: 257642 URL: https://gcc.gnu.org/viewcvs?rev=257642=gcc=rev Log: PR target/84370 * gcc.target/powerpc/builtins-3-p9-runnable.c:

[Bug c++/84364] [8 Regression] -Weffc++ warns on "return *this" in template after r253599

2018-02-13 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84364 David Malcolm changed: What|Removed |Added CC||victor at paleologue dot fr --- Comment

[Bug c++/77984] Invalid warning on templated operator= with -Weffc++

2018-02-13 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77984 David Malcolm changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/81930] [meta-bug] Issues with -Weffc++

2018-02-13 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81930 Bug 81930 depends on bug 77984, which changed state. Bug 77984 Summary: Invalid warning on templated operator= with -Weffc++ https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77984 What|Removed |Added

[Bug target/84365] gcc.target/powerpc/altivec-7-le.c fails on power9

2018-02-13 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84365 --- Comment #3 from Peter Bergner --- Author: bergner Date: Tue Feb 13 21:52:12 2018 New Revision: 257641 URL: https://gcc.gnu.org/viewcvs?rev=257641=gcc=rev Log: PR target/84365 * gcc.target/powerpc/altivec-7-le.c: Also match

[Bug c++/84376] [7/8 Regression] ICE with missing template parameter

2018-02-13 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84376 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[C++ PATCH] Fix -Weffc++ warning on return in assignment op in templates (PR c++/84364)

2018-02-13 Thread Jakub Jelinek
Hi! Before r253599 check_return_expr would: if (WILDCARD_TYPE_P (TREE_TYPE (DECL_RESULT (current_function_decl))) || (retval != NULL_TREE && type_dependent_expression_p (retval))) return retval; when processing_template_decl, and thus not issue the warning,

[PATCH] Fix a brown paper bag bug in my recent match.pd change (PR middle-end/84309)

2018-02-13 Thread Jakub Jelinek
Hi! When changing my recent match.pd fix to defer the -> exp2 (log2 (C) * x) optimization until later, I've swapped the two patterns and changed the first one to use exps and logs, but forgot to change the second one to use exp2s and log2s. For the testcase in the patch it actually didn't make a

[Bug c++/81930] [meta-bug] Issues with -Weffc++

2018-02-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81930 Bug 81930 depends on bug 84364, which changed state. Bug 84364 Summary: [8 Regression] -Weffc++ warns on "return *this" in template after r253599 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84364 What|Removed

[Bug c++/84364] [8 Regression] -Weffc++ warns on "return *this" in template after r253599

2018-02-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84364 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/84364] [8 Regression] -Weffc++ warns on "return *this" in template after r253599

2018-02-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84364 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Tue Feb 13 21:40:35 2018 New Revision: 257640 URL: https://gcc.gnu.org/viewcvs?rev=257640=gcc=rev Log: PR c++/84364 * typeck.c (check_return_expr): Don't emit -Weffc++

[Bug jit/84288] Support jit on Solaris

2018-02-13 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84288 --- Comment #1 from David Malcolm --- Candidate patch for the linker issue: https://gcc.gnu.org/ml/gcc-patches/2018-02/msg00776.html

[Bug jit/64089] libgccjit.so.0.0.1 linkage failure on darwin

2018-02-13 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64089 --- Comment #15 from David Malcolm --- Candidate patch for the linker issue: https://gcc.gnu.org/ml/gcc-patches/2018-02/msg00776.html

[Bug testsuite/62234] warnings/errors from LTO cannot be tested

2018-02-13 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62234 --- Comment #8 from David Malcolm --- Maybe keep it open until tests have been added for the various bugs referred to here?

[Bug c++/84333] [6/7 Regression] ICE with ternary operator in template function

2018-02-13 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84333 Paolo Carlini changed: What|Removed |Added Summary|[6/7/8 Regression] ICE with |[6/7 Regression] ICE with

[Bug testsuite/62234] warnings/errors from LTO cannot be tested

2018-02-13 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62234 --- Comment #7 from Eric Gallager --- (In reply to David Malcolm from comment #6) > I added support for this in r256801: > dg-lto-warning and dg-lto-message > https://gcc.gnu.org/ml/gcc-patches/2018-01/msg00257.html So can this be closed

[Bug middle-end/46786] ICE: verify_stmts failed: statement marked for throw, but doesn't with -fopenmp -fnon-call-exceptions

2018-02-13 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46786 Volker Reichelt changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug testsuite/84094] several correctness issues in gfortran.dg

2018-02-13 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84094 Bug 84094 depends on bug 84313, which changed state. Bug 84313 Summary: [F08] reject procedure pointers in COMMON blocks https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84313 What|Removed |Added

[Bug fortran/84313] [F08] reject procedure pointers in COMMON blocks

2018-02-13 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84313 janus at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

Re: [C++ PATCH] Fix -Weffc++ warning on return in assignment op in templates (PR c++/84364)

2018-02-13 Thread Jason Merrill
OK.

[Bug c/82210] [6/7 Regression] Having _Alignas in a struct with VLAs causes writing to one array to overwrite another

2018-02-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82210 Jakub Jelinek changed: What|Removed |Added Summary|[6/7/8 Regression] Having |[6/7 Regression] Having

Re: [PATCH] jit: fix link on OS X and Solaris (PR jit/64089 and PR jit/84288)

2018-02-13 Thread Rainer Orth
Hi David, > libgccjit fails to link on OS X and Solaris due to jit/Make-lang.in, > due to the assumption there that the linker is GNU ld. Specifically, > jit/Make-lang.in hardcodes the use of two options: --version-script > and -soname. > > * on Darwin, --version-script doesn't seem to exist in

[Bug testsuite/62234] warnings/errors from LTO cannot be tested

2018-02-13 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62234 David Malcolm changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug c++/84333] [6/7/8 Regression] ICE with ternary operator in template function

2018-02-13 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84333 --- Comment #2 from paolo at gcc dot gnu.org --- Author: paolo Date: Tue Feb 13 21:23:22 2018 New Revision: 257638 URL: https://gcc.gnu.org/viewcvs?rev=257638=gcc=rev Log: /cp 2018-02-13 Paolo Carlini PR

[Bug c++/84376] New: [7/8 Regression] ICE with missing template parameter

2018-02-13 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84376 Bug ID: 84376 Summary: [7/8 Regression] ICE with missing template parameter Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal

[Bug fortran/80945] Invalid code with allocatable character array in READ/WRITE statement

2018-02-13 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80945 --- Comment #7 from Thomas Koenig --- Still fails with current trunk. Code from comment#1, somewhat simplified: program main implicit none integer:: i integer, parameter:: N = 10 character(len=:), dimension(:),allocatable:: ca

Re: [Patch, Fortran, F08] PR 84313: reject procedure pointers in COMMON blocks

2018-02-13 Thread Janus Weil
2018-02-13 20:55 GMT+01:00 Richard Biener : > On February 13, 2018 8:14:33 PM GMT+01:00, Steve Kargl > wrote: >>On Tue, Feb 13, 2018 at 07:24:35PM +0100, Janus Weil wrote: >>> >>> As my last submission, this fixes fallout from >>>

Go patch committed: Don't export function descriptors for unexported names

2018-02-13 Thread Ian Lance Taylor
The patch changes the Go frontend to not export function descriptors for unexported names. They aren't needed, and could potentially cause unlikely symbol name collisions. Also, the runtime package's reference to main could cause the runtime package to define main.main..f, which could also be

[PATCH] jit: fix link on OS X and Solaris (PR jit/64089 and PR jit/84288)

2018-02-13 Thread David Malcolm
libgccjit fails to link on OS X and Solaris due to jit/Make-lang.in, due to the assumption there that the linker is GNU ld. Specifically, jit/Make-lang.in hardcodes the use of two options: --version-script and -soname. * on Darwin, --version-script doesn't seem to exist in the linker, and it

Re: [PATCH] adjust warning_n() to take uhwi (PR 84207)

2018-02-13 Thread Joseph Myers
On Mon, 12 Feb 2018, Martin Sebor wrote: > Bug 84207 - Hard coded plural in gimple-fold.c points out one > of a number of warning_at() calls where warning_n() should have > been used. The attached patch both replaces the calls and also > changes the signatures of the warning_n(), error_n(), and

[Bug c++/84375] [8 Regression] ICE with friend in local class

2018-02-13 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84375 Nathan Sidwell changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

  1   2   3   4   >