Re: Dealing with default recursive procedures in Fortran

2018-04-16 Thread Michael Matz
Hi, On Thu, 12 Apr 2018, Thomas König wrote: > with Fortran 2018, recursive is becoming the default. This will likely > have a serious impact on many user codes, which often declare large > arrays which could then overflow stacks, leading to segfaults without > further explanation. -fopenmp

style of code examples in changes.html

2018-04-16 Thread Martin Sebor
Hi David & Gerald, I noticed that the coding examples in the updates I committed to changes.html use a different formatting style than David's. I just copied mine from GCC 7 changes.html, and those I copied from David's for that version :) Should we make an effort to make them all look the

[Bug ipa/85329] [8 Regression] ICE in add_to_same_comdat_group, at symtab.c:460

2018-04-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85329 --- Comment #7 from Martin Liška --- Author: marxin Date: Tue Apr 17 05:40:39 2018 New Revision: 259428 URL: https://gcc.gnu.org/viewcvs?rev=259428=gcc=rev Log: Make redirection only for target_clones: V3 (PR ipa/85329). 2018-04-17 Martin

[Bug lto/85405] [6/7 Regression] ICE in odr_types_equivalent_p, at ipa-devirt.c:1581

2018-04-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85405 Martin Liška changed: What|Removed |Added Known to work||8.0.1 Known to fail|8.0.1

[Bug ipa/85329] [8 Regression] ICE in add_to_same_comdat_group, at symtab.c:460

2018-04-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85329 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug lto/85405] [6/7 Regression] ICE in odr_types_equivalent_p, at ipa-devirt.c:1581

2018-04-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85405 --- Comment #2 from Martin Liška --- Author: marxin Date: Tue Apr 17 05:41:40 2018 New Revision: 259429 URL: https://gcc.gnu.org/viewcvs?rev=259429=gcc=rev Log: Support bitfields in Wodr machinery (PR lto/85405). 2018-04-17 Jan Hubicka

[Bug c/85427] New: internal compiler error: in constant_lower_bound, at poly-int.h:1527

2018-04-16 Thread shlei930 at gmail dot com
/suhua/compilers/trunk/root-gcc --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix gcc version 8.0.1 20180416 (experimental) [trunk revision 259396] (GCC) $ gcc-trunk abc.c during RTL pass: expand abc.c: In function ‘fn1’: abc.c:3:13: internal compiler error

[PATCH] Support bitfields in Wodr machinery (PR lto/85405).

2018-04-16 Thread Martin Liška
Hi. This is Honza's ODR warning patch that I've just tested. He approved that. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Martin gcc/ChangeLog: 2018-04-16 Jan Hubicka PR lto/85405 * ipa-devirt.c (odr_types_equivalent_p): Handle bit

Re: [PATCH] Improve IPA-CP handling of self-recursive calls

2018-04-16 Thread H.J. Lu
On Wed, Apr 11, 2018 at 2:20 AM, Jan Hubicka wrote: >> >> 2018-04-08 Martin Jambor >> >> PR ipa/84149 >> * ipa-cp.c (propagate_vals_across_pass_through): Expand comment. >> (cgraph_edge_brings_value_p): New parameter dest_val, check if it

[Bug rtl-optimization/85423] New: [8 Regression] ICE in code_motion_process_successors, at sel-sched.c:6403

2018-04-16 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85423 Bug ID: 85423 Summary: [8 Regression] ICE in code_motion_process_successors, at sel-sched.c:6403 Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords:

[Bug tree-optimization/85420] missing -Wrestrict with -fsanitize=undefined

2018-04-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85420 --- Comment #7 from Martin Sebor --- Whether that's a good or bad decision is a matter of opinion. Most coding guidelines advise against using strcpy even between distinct objects. I happen to think that's unnecessarily restrictive when the

[Bug web/82686] Debian sid powerpc64-unknown-linux-gnu 4.13.0-1-powerpc64 bootstrap breaks in stage3 with unexpected requirement for bdw-gc

2018-04-16 Thread dclarke at blastwave dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82686 --- Comment #13 from Dennis Clarke --- Finally managed to get a decent looking three stage bootstrap to complete without bizarre errors. Thanks to Matthias Klose for the suggestion to get away from that gc issue entirely. Testsuite is running

[Bug c++/85421] [8 regression] internal compiler error: in ipa_propagate_frequency, at ipa-profile.c:405

2018-04-16 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85421 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/85420] missing -Wrestrict with -fsanitize=undefined

2018-04-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85420 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

Re: [PATCH] Make redirection only for target_clones: V2 (PR ipa/85329).

2018-04-16 Thread Jakub Jelinek
On Mon, Apr 16, 2018 at 04:01:18PM +0200, Martin Liška wrote: > >From 77b48cfad59dd24a5c068bfb32b1059535ae1f75 Mon Sep 17 00:00:00 2001 > From: marxin > Date: Sat, 14 Apr 2018 09:55:35 +0200 > Subject: [PATCH] Make redirection only for target_clones: V3 (PR ipa/85329). > >

[Bug rtl-optimization/85423] [8 Regression] ICE in code_motion_process_successors, at sel-sched.c:6403

2018-04-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85423 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

Re: [PATCH] PR 85075, Fix PowerPC __float182/__ibm128 types and mangling

2018-04-16 Thread Segher Boessenkool
Hi! Thank you for working on this. On Sun, Apr 15, 2018 at 03:50:44PM -0400, Michael Meissner wrote: > PR target/85075 shows that there are some problems with the types for the 3 > 128-bit floating point types on the PowerPC: > > __float128 (and _Float128 in C, IEEE 128-bit) >

[Bug c++/85421] [8 regression] internal compiler error: in ipa_propagate_frequency, at ipa-profile.c:405

2018-04-16 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85421 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org --- Comment

Re: [PATCH] Handle empty infinite loops in OpenACC for PR84955

2018-04-16 Thread Tom de Vries
On 04/12/2018 08:58 PM, Jakub Jelinek wrote: On Thu, Apr 12, 2018 at 11:39:43AM -0700, Cesar Philippidis wrote: Strange. I didn't observe any regressions when I tested it. But, then again, I was testing against revision r259092 | jason | 2018-04-04 09:42:55 -0700 (Wed, 04 Apr 2018) | 4 lines

[Bug target/85080] [8 regression] gcc.dg/vect/costmodel/ppc/costmodel-pr37194.c fails starting with r248678

2018-04-16 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85080 --- Comment #5 from Bill Schmidt --- Author: wschmidt Date: Mon Apr 16 18:18:42 2018 New Revision: 259407 URL: https://gcc.gnu.org/viewcvs?rev=259407=gcc=rev Log: [gcc/testsuite] 2018-04-16 Bill Schmidt PR

[Bug target/85080] [8 regression] gcc.dg/vect/costmodel/ppc/costmodel-pr37194.c fails starting with r248678

2018-04-16 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85080 Bill Schmidt changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/85417] -fcf-protection should provide CET protection on x86

2018-04-16 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85417 H.J. Lu changed: What|Removed |Added Target Milestone|--- |8.0 Summary|Extra test failures

Re: PING^3: [GCC 6] PATCH: Backport -mindirect-branch= patches

2018-04-16 Thread Jan Hubicka
> On Mon, Apr 2, 2018 at 5:06 AM, H.J. Lu wrote: > > On Mon, Mar 26, 2018 at 4:04 AM, H.J. Lu wrote: > >> On Mon, Mar 19, 2018 at 10:04 AM, H.J. Lu wrote: > > Here are GCC 6 patches to backport all -mindirect-branch=

Re: [PATCH] PR 83402 Fix ICE for vec_splat_s8, vec_splat_s16, vec_splat_s32 builtins

2018-04-16 Thread Carl Love
On Fri, 2018-04-13 at 17:53 -0500, Segher Boessenkool wrote: > Hi! > > On Fri, Apr 13, 2018 at 03:27:40PM -0700, Carl Love wrote: > > On Fri, 2018-04-13 at 16:54 -0500, Segher Boessenkool wrote: > > > On Fri, Apr 13, 2018 at 09:49:25AM -0700, Carl Love wrote: > > > > diff --git

PING^3: [GCC 6] PATCH: Backport -mindirect-branch= patches

2018-04-16 Thread H.J. Lu
On Mon, Apr 2, 2018 at 5:06 AM, H.J. Lu wrote: > On Mon, Mar 26, 2018 at 4:04 AM, H.J. Lu wrote: >> On Mon, Mar 19, 2018 at 10:04 AM, H.J. Lu wrote: Here are GCC 6 patches to backport all -mindirect-branch= patches.

[Bug tree-optimization/85420] missing -Wrestrict with -fsanitize=undefined

2018-04-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85420 --- Comment #6 from Jakub Jelinek --- (In reply to Martin Sebor from comment #5) > The warning for attachment 43950 [details] is intended and the bug is > actually in failing to issue it without -fsanitize=undefined. Unlike for > raw memory

[PATCH], PR target/85358, Fix __ibm128 being converter to __float128 on PowerPC ISA 3.0 (power9)

2018-04-16 Thread Michael Meissner
As I was working on PR target/85075 (to flesh some bugs with IEEE 128-bit support on the PowerPC, particularly with switching the default of long double), I noticed that for explicit IBM extended double, the compiler was converting the __ibm128 type to an IEEE 128-bit type, because those types had

[Bug middle-end/84955] [7/8 Regression] Incorrect OpenACC tile expansion

2018-04-16 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84955 --- Comment #8 from Tom de Vries --- Author: vries Date: Mon Apr 16 18:01:09 2018 New Revision: 259406 URL: https://gcc.gnu.org/viewcvs?rev=259406=gcc=rev Log: [openacc] Fix ICE when compiling tile loop containing infinite loop 2018-04-16

[Bug target/83660] ICE with vec_extract inside expression statement

2018-04-16 Thread acsawdey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83660 acsawdey at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug c++/84463] [6/7/8 Regression] Supposedly-incompliant "error: '* key0' is not a constant expression"

2018-04-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84463 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P2 Target Milestone|---

[Bug middle-end/85420] More -Wrestrict false positives with -fsanitize=undefined

2018-04-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85420 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug middle-end/84955] [7/8 Regression] Incorrect OpenACC tile expansion

2018-04-16 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84955 --- Comment #7 from Tom de Vries --- (In reply to cesar from comment #6) > It should be noted that GCC also chokes with any empty OpenACC loop in > general. Filed as PR85422 - [openacc] ICE at cfgloop.c:468: segfault in flow_loops_find

[Bug lto/85422] [openacc] ICE at cfgloop.c:468: segfault in flow_loops_find

2018-04-16 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85422 Tom de Vries changed: What|Removed |Added Keywords||openacc --- Comment #1 from Tom de Vries

[PATCH] Fix libgcc/config/i386/cpuinfo.c warnings (PR target/84945)

2018-04-16 Thread Jakub Jelinek
On Mon, Apr 16, 2018 at 12:50:29PM +0200, Thomas Schwinge wrote: > > +#define set_feature(f) \ > > + if (f < 32) features |= (1U << f); else features2 |= (1U << (f - 32)) > >if (edx & bit_CMOV) > > -features |= (1 << FEATURE_CMOV); > > +set_feature (FEATURE_CMOV); > >

[Bug c++/84463] [6/7/8 Regression] Supposedly-incompliant "error: '* key0' is not a constant expression"

2018-04-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84463 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c/85419] New: Incorrect determination of null pointer constant

2018-04-16 Thread terra at gnome dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85419 Bug ID: 85419 Summary: Incorrect determination of null pointer constant Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

Re: [PATCH, openacc, PR85411] Move GOMP_OPENACC_DIM parsing out of nvptx plugin

2018-04-16 Thread Jakub Jelinek
On Mon, Apr 16, 2018 at 11:41:35AM +0200, Tom de Vries wrote: > Hi, > > this patch moves the parsing of the GOMP_OPENACC_DIM environment variable > from the nvptx target plugin to the libgomp library. > > The variable is not part of the OpenACC standard, but it is specific for the > gcc

[PATCH] Fix ICE with single element vector

2018-04-16 Thread Andreas Krebbel
I did run into an ICE with a single element vector triggered by dividing the number of elements by 2 with exact_div here: tree-vect-data-refs.c:5132 else { /* If length is not equal to 3 then only power of 2 is supported. */ gcc_assert (pow2p_hwi (count));

[Bug middle-end/85420] More -Wrestrict false positives with -fsanitize=undefined

2018-04-16 Thread sirl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85420 --- Comment #1 from Franz Sirl --- Created attachment 43951 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43951=edit C++ testcase

[Bug c++/85421] New: [8 regression] internal compiler error: in ipa_propagate_frequency, at ipa-profile.c:405

2018-04-16 Thread skpgkp1 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85421 Bug ID: 85421 Summary: [8 regression] internal compiler error: in ipa_propagate_frequency, at ipa-profile.c:405 Product: gcc Version: 8.0.1 Status: UNCONFIRMED

Re: [PATCH, rs6000] Fix PR85080

2018-04-16 Thread Segher Boessenkool
Hi Bill, On Sun, Apr 15, 2018 at 09:41:04PM -0500, Bill Schmidt wrote: > PR85080 identifies a test case that started failing last year when > an improvement was made to the vectorizer. The failure turns out to > be appropriate. The test used to not expect the loop in the first > function to be

[Bug target/83660] ICE with vec_extract inside expression statement

2018-04-16 Thread acsawdey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83660 --- Comment #14 from acsawdey at gcc dot gnu.org --- Author: acsawdey Date: Mon Apr 16 14:50:06 2018 New Revision: 259403 URL: https://gcc.gnu.org/viewcvs?rev=259403=gcc=rev Log: 2018-04-16 Aaron Sawdey PR

[Bug lto/85422] New: [openacc] ICE at cfgloop.c:468: segfault in flow_loops_find

2018-04-16 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85422 Bug ID: 85422 Summary: [openacc] ICE at cfgloop.c:468: segfault in flow_loops_find Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

Re: [PATCH] [PR c++/80290] recycle tinst garbage sooner

2018-04-16 Thread Jason Merrill
On Fri, Apr 13, 2018, 5:19 PM Alexandre Oliva wrote: > tinst_level objects are created during template instantiation, and > they're most often quite short-lived, but since there's no intervening > garbage collection, they accumulate throughout the pass while most by > far

[Bug middle-end/85420] More -Wrestrict false positives with -fsanitize=undefined

2018-04-16 Thread sirl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85420 --- Comment #3 from Franz Sirl --- Hmm, this maybe creduce'd too much, the original source reads more like strcpy(b, b + a + 10); which would be only UB for sure if strlen(b + a + 10) >= 9, or?

[Bug middle-end/85420] More -Wrestrict false positives with -fsanitize=undefined

2018-04-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85420 --- Comment #4 from Jakub Jelinek --- (In reply to Franz Sirl from comment #3) > Hmm, this maybe creduce'd too much, the original source reads more like > >strcpy(b, b + a + 10); > > which would be only UB for sure if strlen(b + a + 10) >=

[Bug c/85418] New: -Wformat-truncation on inlinned function

2018-04-16 Thread Azim.Khan at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85418 Bug ID: 85418 Summary: -Wformat-truncation on inlinned function Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug middle-end/85420] New: More -Wrestrict false positives with -fsanitize=undefined

2018-04-16 Thread sirl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85420 Bug ID: 85420 Summary: More -Wrestrict false positives with -fsanitize=undefined Product: gcc Version: 8.0.1 Status: UNCONFIRMED Keywords: diagnostic

[Bug rtl-optimization/84842] [7/8 Regression] ICE in verify_target_availability, at sel-sched.c:1569

2018-04-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84842 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P2 CC|

[Bug target/83660] ICE with vec_extract inside expression statement

2018-04-16 Thread acsawdey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83660 acsawdey at gcc dot gnu.org changed: What|Removed |Added Status|RESOLVED|REOPENED

[Bug rtl-optimization/84842] ICE in verify_target_availability, at sel-sched.c:1569

2018-04-16 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84842 --- Comment #7 from Alexander Monakov --- The testcase is not easily reproducible because the rs6000 backend has some implicit dependencies on capabilities of configure-time binutils, and they are not visible as 'gcc -v' flags. So, to reproduce

Re: [PATCH] Make redirection only for target_clones: V2 (PR ipa/85329).

2018-04-16 Thread Jan Hubicka
> 2018-04-16 Martin Liska > > * multiple_target.c (create_dispatcher_calls): Set apostrophes > for target_clone error message. Make default implementation > clone to be a local declaration. > (separate_attrs): Add new argument and check for an emptry

Re: [PATCH] Make redirection only for target_clones: V2 (PR ipa/85329).

2018-04-16 Thread Martin Liška
Hi. I'm sending V3 which we did with Honza. It's similar to V2, but properly makes FUNCTION_DECL local for default implementation. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Tests on ppc64le are running. Ready to be installed? Martin >From

[Bug libgomp/85129] [openacc] Document GOMP_OPENACC_DIM

2018-04-16 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85129 --- Comment #5 from Tom de Vries --- (In reply to Tom de Vries from comment #0) > I. trunk > > The GOMP_OPENACC_DIM environment variable is not documented (it should have > an entry in libgomp.texi at 'OpenACC Environment Variables'). Atm, in

[Bug tree-optimization/85416] New: Massive performance regression when switching on "-march=native"

2018-04-16 Thread mar...@mpa-garching.mpg.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85416 Bug ID: 85416 Summary: Massive performance regression when switching on "-march=native" Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug demangler/85304] Segmentation fault

2018-04-16 Thread matz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85304 Michael Matz changed: What|Removed |Added CC||matz at gcc dot gnu.org --- Comment #1

Re: [PATCH] Fix libgcc/config/i386/cpuinfo.c warnings (PR target/84945)

2018-04-16 Thread Uros Bizjak
On Mon, Apr 16, 2018 at 1:11 PM, Jakub Jelinek wrote: > On Mon, Apr 16, 2018 at 12:50:29PM +0200, Thomas Schwinge wrote: >> > +#define set_feature(f) \ >> > + if (f < 32) features |= (1U << f); else features2 |= (1U << (f - 32)) >> >if (edx & bit_CMOV) >> > -features |=

[Bug middle-end/85403] internal compiler error: ... config/i386/i386.c:32347

2018-04-16 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85403 --- Comment #1 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Apr 16 11:31:22 2018 New Revision: 259400 URL: https://gcc.gnu.org/viewcvs?rev=259400=gcc=rev Log: i386: Check error_mark_node in multiversioning Since CET is applied to the

[Bug rtl-optimization/84842] ICE in verify_target_availability, at sel-sched.c:1569

2018-04-16 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84842 --- Comment #8 from Alexander Monakov --- Or as Jakub (thanks!) noted on IRC, gcc/auto-host.h from the build tree may be also helpful and simpler for us to work with.

[Bug target/85417] Extra test failures with -fcf-protection -mcet

2018-04-16 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85417 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug lto/85405] [6/7 Regression] ICE in odr_types_equivalent_p, at ipa-devirt.c:1581

2018-04-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85405 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|2018-04-15

[Bug target/85414] [8 Regression] ICE: in ix86_expand_prologue, at config/i386/i386.c:13810 with -Og -fgcse

2018-04-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85414 --- Comment #2 from Jakub Jelinek --- The problem is likely with the caching of ix86_compute_frame_layout results, at least if I call this function at the beginning of ix86_expand_prologue, it doesn't ICE anymore. What changes in particular is

[Bug testsuite/85417] New: Extra test failures with -fcf-protection -mcet

2018-04-16 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85417 Bug ID: 85417 Summary: Extra test failures with -fcf-protection -mcet Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/85416] Massive performance regression when switching on "-march=native"

2018-04-16 Thread mar...@mpa-garching.mpg.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85416 --- Comment #1 from Martin Reinecke --- Just re-tested on an Intel Core i5-4570; on this CPU, there is no performance degradation.

[Bug c++/85415] New: internal compiler error: in finish_member_declaration, at cp/semantics.c:2984

2018-04-16 Thread frederik.engels24 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85415 Bug ID: 85415 Summary: internal compiler error: in finish_member_declaration, at cp/semantics.c:2984 Product: gcc Version: 7.3.1 Status: UNCONFIRMED Severity:

[Bug ipa/83983] FAIL: g++.dg/lto/pr83121 (test for LTO warnings, pr83121_0.C line 8)

2018-04-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83983 Martin Liška changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/84331] Execution failures on Skylake server with -march=native

2018-04-16 Thread jkoval at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84331 --- Comment #1 from Julia Koval --- Author: jkoval Date: Mon Apr 16 11:23:55 2018 New Revision: 259399 URL: https://gcc.gnu.org/viewcvs?rev=259399=gcc=rev Log: Fixed g++.dg/ext/mv16.C with -march=native. gcc/ PR target/84331 *

[Bug target/84945] [8 Regression] UBSAN: gcc/config/i386/i386.c:33312:22: runtime error: shift exponent 32 is too large for 32-bit type 'int'

2018-04-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84945 --- Comment #11 from Jakub Jelinek --- Author: jakub Date: Mon Apr 16 11:22:40 2018 New Revision: 259398 URL: https://gcc.gnu.org/viewcvs?rev=259398=gcc=rev Log: PR target/84945 * config/i386/cpuinfo.c (set_feature): Wrap into

[Bug lto/85391] [8 Regression] ICE in add_type_duplicate, at ipa-devirt.c:1887

2018-04-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85391 Martin Liška changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/84463] [6/7/8 Regression] Supposedly-incompliant "error: '* key0' is not a constant expression"

2018-04-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84463 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

RE: [wwwdocs] [COMMITTED] ARC gcc8 changes entry

2018-04-16 Thread Claudiu Zissulescu
Done. Thank you, Claudiu > -Original Message- > From: Bernhard Reutner-Fischer [mailto:rep.dot@gmail.com] > Sent: Thursday, April 12, 2018 8:40 PM > To: gcc-patches@gcc.gnu.org; Claudiu Zissulescu > ; gcc-patches@gcc.gnu.org > Cc: Gerald Pfeifer

[Bug middle-end/85414] [8 Regression] ICE: in ix86_expand_prologue, at config/i386/i386.c:13810 with -Og -fgcse

2018-04-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85414 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug lto/85391] [8 Regression] ICE in add_type_duplicate, at ipa-devirt.c:1887

2018-04-16 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85391 --- Comment #14 from Jan Hubicka --- Created attachment 43947 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43947=edit Proposed fix We looked into this with Maritn todday. There are two bugs: one is the fact that lto.c forgets to

[Bug target/82499] x86: small stack initial adjustments could use push

2018-04-16 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82499 --- Comment #6 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Apr 16 18:42:57 2018 New Revision: 259408 URL: https://gcc.gnu.org/viewcvs?rev=259408=gcc=rev Log: i386: Move struct ix86_frame to machine_function Make ix86_frame available

[Bug web/82686] Debian sid powerpc64-unknown-linux-gnu 4.13.0-1-powerpc64 bootstrap breaks in stage3 with unexpected requirement for bdw-gc

2018-04-16 Thread dclarke at blastwave dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82686 --- Comment #14 from Dennis Clarke --- Since this bug was a "bootstrap" issue I think I should close it as simply an issue related to the garbage collector libs needed.

[Bug target/85424] New: The __builtin_packlongdouble function might have issues with the output overlapping the inputs

2018-04-16 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85424 Bug ID: 85424 Summary: The __builtin_packlongdouble function might have issues with the output overlapping the inputs Product: gcc Version: 7.0 Status: UNCONFIRMED

[Bug target/84574] Function return thunks shouldn't be aliased to indirect branch thunks

2018-04-16 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84574 --- Comment #4 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Apr 16 19:11:13 2018 New Revision: 259422 URL: https://gcc.gnu.org/viewcvs?rev=259422=gcc=rev Log: i386: Don't generate alias for function return thunk Function return thunks

Re: [C++ PATCH] Fix constexpr handling of >y (PR c++/84463)

2018-04-16 Thread Jakub Jelinek
On Mon, Apr 16, 2018 at 09:28:43PM +0200, Jakub Jelinek wrote: > On the following new testcase we emit 2 different constexpr errors > because of premature folding, where the PR44100 hack which is supposed > to fold expressions like &((S *)0)->f or > &((S *)24)->f folds all the >y expressions if x

[Bug c++/59960] accepts ill-formed 'auto a1 = t1, a2 = t2;' where t1 and t2 have different template types

2018-04-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59960 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/79009] Missing 'inconsistent deduction for ‘auto’' error when having a dependent initializer and a nondependent one in the same declaration

2018-04-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79009 Jonathan Wakely changed: What|Removed |Added CC||gcc at abeckmann dot de --- Comment

[PATCH], Fix PR target/85424, PowerPC __builtin_packlongdouble bug discovered in PR target/85075

2018-04-16 Thread Michael Meissner
With the code changes in the patch for PR target/85075, I noticed that the PowerPC big-endian build stopped in building big endian, 32-bit libgcc when configured for power8. The issue was this latent bug. Segher asked me to re-submit the bug separately, and I'm doing this for PR target/85424.

[Bug c/85419] Incorrect determination of null pointer constant

2018-04-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85419 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/79009] Missing 'inconsistent deduction for ‘auto’' error when having a dependent initializer and a nondependent one in the same declaration

2018-04-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79009 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/83905] ix86_expand_epilogue modifies the copy of cfun->machine->frame

2018-04-16 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83905 --- Comment #5 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Apr 16 18:44:43 2018 New Revision: 259411 URL: https://gcc.gnu.org/viewcvs?rev=259411=gcc=rev Log: i386: Use const reference of struct ix86_frame to avoid copy We can use

[Bug target/84530] -mfunction-return=thunk does not work for simple_return_pop_internal insn

2018-04-16 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84530 --- Comment #6 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Apr 16 19:06:32 2018 New Revision: 259420 URL: https://gcc.gnu.org/viewcvs?rev=259420=gcc=rev Log: i386: Update -mfunction-return= for return with pop When -mfunction-return=

[PATCH] Fix gen_lowpart_if_possible (PR middle-end/85414)

2018-04-16 Thread Jakub Jelinek
Hi! The following testcase FAILs, because cse_local sees (zero_extend:TI (subreg/s/v:DI (reg:TI ...) 0)) inside of REG_EQUAL note, and simplify-rtx.c attempts to optimize it. case ZERO_EXTEND: /* Check for a zero extension of a subreg of a promoted variable, where the promotion

[Bug c++/79009] Missing 'inconsistent deduction for ‘auto’' error when having a dependent initializer and a nondependent one in the same declaration

2018-04-16 Thread sasha2048 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79009 Sasha Unknown changed: What|Removed |Added CC||sasha2048 at gmail dot com --- Comment

[Bug c/85418] -Wformat-truncation on inlinned function

2018-04-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85418 Martin Sebor changed: What|Removed |Added Keywords||diagnostic

[Bug c/85425] gcc 6.2.1 fails to catch error in function calling arguments

2018-04-16 Thread gerhard.heinzel at aei dot mpg.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85425 --- Comment #2 from Gerhard Heinzel --- (In reply to Jonathan Wakely from comment #1) Many thanks for your quick response. I normally don't use -Wconversion because it floods me with uninteresting errors about size_t, floor(), and code from

[Bug lto/85391] [8 Regression] ICE in add_type_duplicate, at ipa-devirt.c:1887

2018-04-16 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85391 --- Comment #15 from Eric Botcazou --- > We looked into this with Martin todday. There are two bugs: one is the fact > that lto.c forgets to register the type in case it was within strongly > connected component after its outer type. The order

[Bug target/85424] The __builtin_packlongdouble function might have issues with the output overlapping the inputs

2018-04-16 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85424 Michael Meissner changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c/85425] New: gcc 6.2.1 fails to catch error in function calling arguments

2018-04-16 Thread gerhard.heinzel at aei dot mpg.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85425 Bug ID: 85425 Summary: gcc 6.2.1 fails to catch error in function calling arguments Product: gcc Version: 6.2.1 Status: UNCONFIRMED Severity: normal

Protect from comma operator overload

2018-04-16 Thread François Dumont
Hi     While working on something else on libstdc++ I started having a test failing because of the missing comma overload protection in deque.tcc. So I looked for other similar places in the code and here is a patch to fix the places I found.     Let me know if it is still time to commit.

Re: [PATCH], PR target/85358, Fix __ibm128 being converter to __float128 on PowerPC ISA 3.0 (power9)

2018-04-16 Thread Segher Boessenkool
Hi! On Mon, Apr 16, 2018 at 01:41:29PM -0400, Michael Meissner wrote: > As I was working on PR target/85075 (to flesh some bugs with IEEE 128-bit > support on the PowerPC, particularly with switching the default of long > double), I noticed that for explicit IBM extended double, the compiler was

Re: Protect from comma operator overload

2018-04-16 Thread Jonathan Wakely
On 16 April 2018 at 21:08, Jonathan Wakely wrote: > On 16 April 2018 at 20:52, François Dumont wrote: >> Hi >> >> While working on something else on libstdc++ I started having a test >> failing because of the missing comma overload protection in deque.tcc. So I >> looked for other similar

[Bug bootstrap/83839] [8 Regression] bootstrap fails in gcc/config/i386/i386.c on darwin

2018-04-16 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83839 --- Comment #10 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Apr 16 18:55:04 2018 New Revision: 259414 URL: https://gcc.gnu.org/viewcvs?rev=259414=gcc=rev Log: x86: Add -mfunction-return= Add -mfunction-return= option to convert

[Bug target/84039] x86 retpolines and CFI

2018-04-16 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84039 --- Comment #5 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Apr 16 19:08:14 2018 New Revision: 259421 URL: https://gcc.gnu.org/viewcvs?rev=259421=gcc=rev Log: i386: Add TARGET_INDIRECT_BRANCH_REGISTER For --- struct C { virtual

Re: [PATCH] PR 85075, Fix PowerPC __float182/__ibm128 types and mangling

2018-04-16 Thread Michael Meissner
On Mon, Apr 16, 2018 at 11:53:13AM -0500, Segher Boessenkool wrote: > Hi! > > Thank you for working on this. > > On Sun, Apr 15, 2018 at 03:50:44PM -0400, Michael Meissner wrote: > > PR target/85075 shows that there are some problems with the types for the 3 > > 128-bit floating point types on

[Bug c/85425] gcc 6.2.1 fails to catch error in function calling arguments

2018-04-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85425 --- Comment #1 from Jonathan Wakely --- The example can be reduced to: void ghhrobust_search (double ay, int type) { } void f(int i, double d) { ghhrobust_search(i, d); } This must not produce an error, because it is 100% valid according to

[libgomp, testsuite] Use dg-set-target-env-var instead of setenv

2018-04-16 Thread Tom de Vries
Hi, given the stage1 approval for "[openacc, PR85411] Move GOMP_OPENACC_DIM parsing out of nvptx plugin", setenv for GOMP_OPENACC_DIM won't work on trunk anymore, so there's no sense in using it on the og7 branch. Committed as attached. [ We may want to commit that patch to og7 as well, but

  1   2   >