[Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):

2017-10-18 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797 --- Comment #28 from Marc Glisse --- I am also failing to see how this can happen without a bug in make or macos. The failing command is the recipe for ${pch1b_output}. That rule has ${allstamped} as a dependency, which includes stamp-bits-sup,

[Bug tree-optimization/82612] New: missing -Warray-bounds on a non-zero offset from the address of a non-array object

2017-10-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82612 Bug ID: 82612 Summary: missing -Warray-bounds on a non-zero offset from the address of a non-array object Product: gcc Version: 8.0 Status: UNCONFIRMED

[Bug tree-optimization/56456] [meta-bug] bogus/missing -Warray-bounds

2017-10-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org

[Bug tree-optimization/82585] missing -Warray-bounds calling strlen on a member at out-of-bounds offfset

2017-10-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82585 --- Comment #2 from Martin Sebor --- (In reply to Richard Biener from comment #1) > Probably one form is folded to [4] and p->a + 4 is not folded to >a[4]. That's right. (a + 4) is MEM_REF (char[3], ADDR_EXPR (char[3], VAR_DECL (a))) and (p->a

[Bug inline-asm/81890] asm memory constraints are difficult and not well documented

2017-10-18 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81890 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug lto/82575] [8 Regression] lto debugobj references __gnu_lto_slim, ld test liblto-17 fails

2017-10-18 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82575 --- Comment #3 from Alan Modra --- Patch now bootstrapped and regression tested powerpc64le-linux.

[Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):

2017-10-18 Thread chrisj at rtems dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797 --- Comment #27 from Chris Johns --- (In reply to Jack Howarth from comment #25) > (In reply to Chris Johns from comment #24) > Doesn't cross-compiles set GLIBCXX_HOSTED_FALSE such that install-data-local > is set to install-freestanding-headers

[Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):

2017-10-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797 --- Comment #26 from Jonathan Wakely --- No, cross-compiles are not automatically freestanding, and .NOTPARALLEL ignores any prerequisites, so it makes no difference whether you say .NOTPARALLEL: install-freestanding-headers or .NOTPARALLEL:

[Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):

2017-10-18 Thread howarth.at.gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797 --- Comment #25 from Jack Howarth --- (In reply to Chris Johns from comment #24) > I would welcome a patch attached to this ticket. > > My efforts with .NOTPARALLEL cannot get RTEMS's cross-compiled tools to > build. I have seen a build work

[Bug go/82607] SPARC Linux: go frontend runs infinitely on 5.4.0, 6.4.0 and 7.2.0

2017-10-18 Thread i at jsteward dot moe
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82607 --- Comment #1 from i at jsteward dot moe --- Seems like a simple Hello world directly compiled with gccgo will work as normal.

[Bug c++/55189] enable -Wreturn-type by default

2017-10-18 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55189 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org,

[Bug c/67629] bogus -Wreturn-type in a function with tautological if-else

2017-10-18 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67629 Eric Gallager changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment

[Bug c/60440] Bogus -Wreturn-type warning after error

2017-10-18 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60440 Eric Gallager changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment

[Bug lto/82575] [8 Regression] lto debugobj references __gnu_lto_slim, ld test liblto-17 fails

2017-10-18 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82575 --- Comment #2 from Alan Modra --- Created attachment 42397 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42397=edit proposed patch I hadn't debugged past grepping for "debugobj" when I created the bugzilla. Now that I've looked

[Bug c++/80955] Macros expanded in definition of user-defined literals

2017-10-18 Thread mukesh.kapoor at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80955 Mukesh Kapoor changed: What|Removed |Added CC||mukesh.kapoor at oracle dot com ---

[Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):

2017-10-18 Thread chrisj at rtems dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797 --- Comment #24 from Chris Johns --- I would welcome a patch attached to this ticket. My efforts with .NOTPARALLEL cannot get RTEMS's cross-compiled tools to build. I have seen a build work however most fail with a range of headers that can

[Bug c++/82611] New: Incorrect warning for redundant capture in lambda

2017-10-18 Thread jetanner at usc dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82611 Bug ID: 82611 Summary: Incorrect warning for redundant capture in lambda Product: gcc Version: 6.3.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug bootstrap/82610] New: Bootstrap fails on macOS 10.13 because of abort redefinition

2017-10-18 Thread fxcoudert at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82610 Bug ID: 82610 Summary: Bootstrap fails on macOS 10.13 because of abort redefinition Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/82567] [6/7/8] gfortran takes a long time to compile a simple implied-do with -Optimization.

2017-10-18 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82567 --- Comment #5 from Thomas Koenig --- Author: tkoenig Date: Wed Oct 18 21:29:37 2017 New Revision: 253872 URL: https://gcc.gnu.org/viewcvs?rev=253872=gcc=rev Log: 2017-10-18 Thomas Koenig PR fortran/82567

[Bug rtl-optimization/82602] IRA considers volatile asm to be moveable

2017-10-18 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82602 Segher Boessenkool changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/82602] IRA considers volatile asm to be moveable

2017-10-18 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82602 --- Comment #14 from Segher Boessenkool --- Author: segher Date: Wed Oct 18 21:15:24 2017 New Revision: 253871 URL: https://gcc.gnu.org/viewcvs?rev=253871=gcc=rev Log: ira: volatile asm's are not moveable (PR82602) A volatile asm statement can

[Bug rtl-optimization/82602] IRA considers volatile asm to be moveable

2017-10-18 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82602 --- Comment #13 from Segher Boessenkool --- Author: segher Date: Wed Oct 18 21:13:16 2017 New Revision: 253870 URL: https://gcc.gnu.org/viewcvs?rev=253870=gcc=rev Log: ira: volatile asm's are not moveable (PR82602) A volatile asm statement can

[Bug rtl-optimization/82602] IRA considers volatile asm to be moveable

2017-10-18 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82602 --- Comment #12 from Segher Boessenkool --- Author: segher Date: Wed Oct 18 21:08:18 2017 New Revision: 253869 URL: https://gcc.gnu.org/viewcvs?rev=253869=gcc=rev Log: ira: volatile asm's are not moveable (PR82602) A volatile asm statement can

[Bug fortran/82606] [PDT] ICE in gfc_extract_int, at fortran/expr.c:641

2017-10-18 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82606 G. Steinmetz changed: What|Removed |Added Blocks||82173

[Bug fortran/79795] [6/7/8 Regression] Fortran ICE in resolve_symbol starting with r163221

2017-10-18 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79795 --- Comment #3 from Thomas Koenig --- Author: tkoenig Date: Wed Oct 18 20:32:34 2017 New Revision: 253868 URL: https://gcc.gnu.org/viewcvs?rev=253868=gcc=rev Log: 2017-10-18 Thomas Koenig PR fortran/79795

[Bug c++/82609] missing -Warrray-bounds on an argument in parentheses

2017-10-18 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82609 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org ---

[Bug target/82580] Optimize comparisons for __int128 on x86-64

2017-10-18 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82580 --- Comment #12 from uros at gcc dot gnu.org --- Author: uros Date: Wed Oct 18 20:19:05 2017 New Revision: 253867 URL: https://gcc.gnu.org/viewcvs?rev=253867=gcc=rev Log: PR target/82580 * config/i386/i386-modes.def (CCGZ): New

[Bug c++/82307] unscoped enum-base incorrect cast

2017-10-18 Thread mukesh.kapoor at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82307 --- Comment #6 from Mukesh Kapoor --- Submitted fix: https://gcc.gnu.org/ml/gcc-patches/2017-10/msg00524.html

[Bug c++/82478] Rejects valid access to private member type that should be allowed by friend

2017-10-18 Thread eieio at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82478 --- Comment #5 from Corey Tabaka --- >From what I can tell the standard is not very explicit about the access rules in the argument list of a partial specialization specifically. However, there are examples in the spec that demonstrate friend

[Bug fortran/82605] ICE in insert_parameter_exprs, at fortran/decl.c:3154

2017-10-18 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82605 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug fortran/82606] ICE in gfc_extract_int, at fortran/expr.c:641

2017-10-18 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82606 --- Comment #5 from Paul Thomas --- (In reply to G. Steinmetz from comment #0) Mein lieber Steinmetz, Würden sie bitte die Überschriften dieser Problembenachrichtigungen mit "PDT" voranstellen und sie mit dem "Meta-Bug" PR82173 verknüpfen.

[Bug fortran/82606] ICE in gfc_extract_int, at fortran/expr.c:641

2017-10-18 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82606 --- Comment #4 from kargl at gcc dot gnu.org --- (In reply to G. Steinmetz from comment #1) > BTW, with an invalid modification (--> fortran/decl.c:3244) : > > > $ cat z4.f90 > program p >type t(a, b, *) > integer, kind :: a >

[Bug fortran/82606] ICE in gfc_extract_int, at fortran/expr.c:641

2017-10-18 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82606 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug c++/82609] New: missing -Warrray-bounds on an argument in parentheses

2017-10-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82609 Bug ID: 82609 Summary: missing -Warrray-bounds on an argument in parentheses Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug libfortran/82233] [6/7/8 Regression] execute_command_line causes program to stop when command fails (or does not exist)

2017-10-18 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82233 --- Comment #16 from Thomas Koenig --- (In reply to Christophe Lyon from comment #14) > Removing the last >call execute_command_line(command , wait=.false., exitstat=i) > or moving it before >call execute_command_line(command ,

[Bug libfortran/82233] [6/7/8 Regression] execute_command_line causes program to stop when command fails (or does not exist)

2017-10-18 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82233 --- Comment #15 from Thomas Koenig --- Author: tkoenig Date: Wed Oct 18 17:54:18 2017 New Revision: 253865 URL: https://gcc.gnu.org/viewcvs?rev=253865=gcc=rev Log: 2017-10-18 Thomas Koenig PR libfortran/82233

[Bug fortran/82606] ICE in gfc_extract_int, at fortran/expr.c:641

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

[Bug fortran/82605] ICE in insert_parameter_exprs, at fortran/decl.c:3154

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

[Bug tree-optimization/82608] New: missing -Warray-bounds on an out-of-bounds VLA index

2017-10-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82608 Bug ID: 82608 Summary: missing -Warray-bounds on an out-of-bounds VLA index Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug rtl-optimization/82602] IRA considers volatile asm to be moveable

2017-10-18 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82602 --- Comment #11 from Segher Boessenkool --- (In reply to Bernd Edlinger from comment #10) > Yes, and moreover foo() could access non-volatile memory. > And only a memory clobber can prevent the compiler from > using cached values. But you

[Bug middle-end/82556] [7/8 Regression] internal compiler error in curr_insn_transform, at lra-constraints.c:4307

2017-10-18 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82556 --- Comment #8 from Vladimir Makarov --- Author: vmakarov Date: Wed Oct 18 16:47:38 2017 New Revision: 253863 URL: https://gcc.gnu.org/viewcvs?rev=253863=gcc=rev Log: 2017-10-18 Vladimir Makarov PR

[Bug middle-end/82556] [7/8 Regression] internal compiler error in curr_insn_transform, at lra-constraints.c:4307

2017-10-18 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82556 --- Comment #7 from Vladimir Makarov --- Author: vmakarov Date: Wed Oct 18 16:44:27 2017 New Revision: 253862 URL: https://gcc.gnu.org/viewcvs?rev=253862=gcc=rev Log: 2017-10-18 Vladimir Makarov PR

[Bug go/82607] New: SPARC Linux: go frontend runs infinitely on 5.4.0, 6.4.0 and 7.2.0

2017-10-18 Thread i at jsteward dot moe
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82607 Bug ID: 82607 Summary: SPARC Linux: go frontend runs infinitely on 5.4.0, 6.4.0 and 7.2.0 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug fortran/82606] ICE in gfc_extract_int, at fortran/expr.c:641

2017-10-18 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82606 --- Comment #1 from G. Steinmetz --- BTW, with an invalid modification (--> fortran/decl.c:3244) : $ cat z4.f90 program p type t(a, b, *) integer, kind :: a integer, len :: b real(a) :: r(b) end type

[Bug fortran/82606] New: ICE in gfc_extract_int, at fortran/expr.c:641

2017-10-18 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82606 Bug ID: 82606 Summary: ICE in gfc_extract_int, at fortran/expr.c:641 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug rtl-optimization/82602] IRA considers volatile asm to be moveable

2017-10-18 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82602 --- Comment #10 from Bernd Edlinger --- Yes, and moreover foo() could access non-volatile memory. And only a memory clobber can prevent the compiler from using cached values.

[Bug fortran/82605] New: ICE in insert_parameter_exprs, at fortran/decl.c:3154

2017-10-18 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82605 Bug ID: 82605 Summary: ICE in insert_parameter_exprs, at fortran/decl.c:3154 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug rtl-optimization/82602] IRA considers volatile asm to be moveable

2017-10-18 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82602 --- Comment #9 from Segher Boessenkool --- You cannot do that if you do not know what foo() does (it could for example contain another volatile asm). But yes, the code as written is not so great.

[Bug c++/82235] Copy ctor is not found for copying array of an object when it's marked explicit

2017-10-18 Thread mukesh.kapoor at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82235 Mukesh Kapoor changed: What|Removed |Added CC||mukesh.kapoor at oracle dot com ---

[Bug c++/50169] [DR 2141] "new struct X {{}};" incorrectly treated as an invalid struct-definition

2017-10-18 Thread zeratul976 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50169 Nathan Ridge changed: What|Removed |Added CC||zeratul976 at hotmail dot com ---

[Bug tree-optimization/82264] [6 Regression] ICE in vn_phi_lookup at gcc/tree-ssa-sccvn.c:3125

2017-10-18 Thread etienne_lorrain at yahoo dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82264 --- Comment #6 from etienne_lorrain at yahoo dot fr --- fixed for my testcase (tested gcc version 7.2.1 20171012), can be closed. Thanks, Etienne.

[Bug tree-optimization/82574] [8 Regression] wrong code at -O3 on x86_64-linux-gnu

2017-10-18 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82574 --- Comment #3 from amker at gcc dot gnu.org --- Author: amker Date: Wed Oct 18 15:56:15 2017 New Revision: 253857 URL: https://gcc.gnu.org/viewcvs?rev=253857=gcc=rev Log: PR tree-optimization/82574 * tree-loop-distribution.c

[Bug tree-optimization/82604] New: [8 Regression] SPEC CPU2006 410.bwaves ~50% performance regression with trunk@253679 when ftree-parallelize-loops is used

2017-10-18 Thread alexander.nesterovskiy at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82604 Bug ID: 82604 Summary: [8 Regression] SPEC CPU2006 410.bwaves ~50% performance regression with trunk@253679 when ftree-parallelize-loops is used Product: gcc

[Bug bootstrap/10740] ../../gcc/gcc/gengtype.c:430: undefined reference to "lexer_line"

2017-10-18 Thread etienne_lorrain at yahoo dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10740 etienne_lorrain at yahoo dot fr changed: What|Removed |Added CC||etienne_lorrain at

[Bug rtl-optimization/82602] IRA considers volatile asm to be moveable

2017-10-18 Thread ryxi at stu dot xidian.edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82602 --- Comment #8 from Xi Ruoyao --- (In reply to David Brown from comment #7) > There is no intention to make "asm volatile" a barrier, as you get with a > memory clobber. The intention is to stop it moving past other volatile code > (such as

[Bug libfortran/82233] [6/7/8 Regression] execute_command_line causes program to stop when command fails (or does not exist)

2017-10-18 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82233 --- Comment #14 from Christophe Lyon --- I think I understand the problem better now, after a few experiments, and a discussion with proot's author. The testcase finishes with a call to execute_command_line with wait=.false, so the main process

[Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):

2017-10-18 Thread fxcoudert at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797 --- Comment #23 from Francois-Xavier Coudert --- (In reply to Jonathan Wakely from comment #22) > So maybe somebody should submit the patch to the mailing lists. Submitted: https://gcc.gnu.org/ml/libstdc++/2017-10/msg00045.html Sorry I didn't

[Bug tree-optimization/82591] [8 Regression] [graphite] Compile-time hog w/ -O2 -floop-nest-optimize

2017-10-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82591 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/82591] [8 Regression] [graphite] Compile-time hog w/ -O2 -floop-nest-optimize

2017-10-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82591 --- Comment #3 from Richard Biener --- Author: rguenth Date: Wed Oct 18 14:35:26 2017 New Revision: 253856 URL: https://gcc.gnu.org/viewcvs?rev=253856=gcc=rev Log: 2017-10-18 Richard Biener PR

[Bug tree-optimization/82603] [7/8 Regression] ICE in ifcvt_local_dce w/ -O2 -ftree-loop-vectorize

2017-10-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82603 Richard Biener changed: What|Removed |Added Target Milestone|8.0 |7.3 Summary|[8 Regression]

[Bug tree-optimization/82603] [8 Regression] ICE in ifcvt_local_dce w/ -O2 -ftree-loop-vectorize

2017-10-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82603 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug lto/82575] [8 Regression] lto debugobj references __gnu_lto_slim, ld test liblto-17 fails

2017-10-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82575 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug rtl-optimization/82602] IRA considers volatile asm to be moveable

2017-10-18 Thread david at westcontrol dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82602 --- Comment #7 from David Brown --- (In reply to Xi Ruoyao from comment #3) There is no intention to make "asm volatile" a barrier, as you get with a memory clobber. The intention is to stop it moving past other volatile code (such as other asm

[Bug rtl-optimization/82602] IRA considers volatile asm to be moveable

2017-10-18 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82602 --- Comment #6 from Segher Boessenkool --- (In reply to Xi Ruoyao from comment #3) > I'm still not convinced this is a bug. For example, all kernel code > uses `asm volatile ("" ::: "memory")` as barrier to stop GCC to reorder code > through

[Bug rtl-optimization/82602] IRA considers volatile asm to be moveable

2017-10-18 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82602 Bernd Edlinger changed: What|Removed |Added CC||bernd.edlinger at hotmail dot de ---

[Bug rtl-optimization/82602] IRA considers volatile asm to be moveable

2017-10-18 Thread ryxi at stu dot xidian.edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82602 --- Comment #4 from Xi Ruoyao --- By the way, in kernel code (compiler-gcc.h) there is a comment: /* The "volatile" is due to gcc bugs */ #define barrier() __asm__ __volatile__("": : :"memory") So the developer(s) actually think "volatile" is

[Bug rtl-optimization/82602] IRA considers volatile asm to be moveable

2017-10-18 Thread ryxi at stu dot xidian.edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82602 Xi Ruoyao changed: What|Removed |Added CC||ryxi at stu dot xidian.edu.cn --- Comment

[Bug target/82580] Optimize comparisons for __int128 on x86-64

2017-10-18 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82580 Uroš Bizjak changed: What|Removed |Added Attachment #42393|0 |1 is obsolete|

[Bug c++/82600] [8 Regression] Address of local variable returned [-Werror=return-local-addr] when building mozilla-central

2017-10-18 Thread andi at mozilla dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82600 --- Comment #8 from Andi --- (In reply to Jonathan Wakely from comment #7) > (In reply to Andi from comment #0) > > Building firefox with gcc8 trunk i get this error: > > This is a warning, not an error. > > If you use -Werror to cause

[Bug target/82580] Optimize comparisons for __int128 on x86-64

2017-10-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82580 --- Comment #10 from Jakub Jelinek --- BTW, perhaps powerpc64, aarch64 or other targets could benefit from similar approach. Shall we clone this PR for those?

[Bug tree-optimization/82603] [8 Regression] ICE in ifcvt_local_dce w/ -O2 -ftree-loop-vectorize

2017-10-18 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82603 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug sanitizer/82517] use-after-scope for a variable with big alignment causes a false positive

2017-10-18 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82517 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/82600] [8 Regression] Address of local variable returned [-Werror=return-local-addr] when building mozilla-central

2017-10-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82600 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic --- Comment #7 from

[Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):

2017-10-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797 --- Comment #22 from Jonathan Wakely --- So maybe somebody should submit the patch to the mailing lists.

[Bug target/82580] Optimize comparisons for __int128 on x86-64

2017-10-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82580 --- Comment #9 from Jakub Jelinek --- Created attachment 42394 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42394=edit gcc8-pr82580-peephole2.patch Untested incremental patch with the 2 peepholes.

[Bug target/82580] Optimize comparisons for __int128 on x86-64

2017-10-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82580 --- Comment #8 from Jakub Jelinek --- The fact that flags is live is the reason why the (define_peephole2 [(parallel [(set (reg FLAGS_REG) (match_operand 0)) (match_operand 4)]) (set (match_operand:QI 1 "register_operand")

[Bug tree-optimization/82591] [8 Regression] [graphite] Compile-time hog w/ -O2 -floop-nest-optimize

2017-10-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82591 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/82580] Optimize comparisons for __int128 on x86-64

2017-10-18 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82580 --- Comment #7 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #6) > i.e. for the flags we first clear %eax and then setX %al, but for f2 > cmpq%rdi, %rdx > sbbq%rsi, %rcx > setb%al >

[Bug target/82580] Optimize comparisons for __int128 on x86-64

2017-10-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82580 --- Comment #6 from Jakub Jelinek --- Nice. I wonder about one further thing. With your patch, we generate e.g. in f0: xorq%rdx, %rdi xorq%rcx, %rsi xorl%eax, %eax orq %rsi, %rdi sete

[Bug target/82580] Optimize comparisons for __int128 on x86-64

2017-10-18 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82580 Uroš Bizjak changed: What|Removed |Added Assignee|uros at gcc dot gnu.org|ubizjak at gmail dot com ---

[Bug target/82580] Optimize comparisons for __int128 on x86-64

2017-10-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82580 Jakub Jelinek changed: What|Removed |Added Assignee|jakub at gcc dot gnu.org |uros at gcc dot gnu.org ---

[Bug target/82580] Optimize comparisons for __int128 on x86-64

2017-10-18 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82580 --- Comment #3 from Uroš Bizjak --- Created attachment 42393 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42393=edit Prototype patch Attached patch generates: foobar: cmpq%rdx, %rdi sbbq%rcx, %rsi setb

[Bug target/82580] Optimize comparisons for __int128 on x86-64

2017-10-18 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82580 --- Comment #2 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #1) > I'll have a look. Oh, I already have a patch...

[Bug middle-end/66031] Spurious array bounds warning

2017-10-18 Thread slash.tmp at free dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66031 Mason changed: What|Removed |Added CC||slash.tmp at free dot fr --- Comment #2 from

[Bug lto/82575] New: [8 Regression] lto debugobj references __gnu_lto_slim, ld test liblto-17 fails

2017-10-18 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82575 Bug ID: 82575 Summary: [8 Regression] lto debugobj references __gnu_lto_slim, ld test liblto-17 fails Product: gcc Version: 8.0 Status: UNCONFIRMED Severity:

[Bug target/82580] Optimize comparisons for __int128 on x86-64

2017-10-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82580 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/65461] -Warray-bounds warnings in the linux kernel (free_area_init_nodes)

2017-10-18 Thread slash.tmp at free dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65461 Mason changed: What|Removed |Added CC||msebor at gcc dot gnu.org, |

[Bug c++/82600] [8 Regression] Address of local variable returned [-Werror=return-local-addr] when building mozilla-central

2017-10-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82600 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/82445] ARM target generates unaligned STRD instruction

2017-10-18 Thread petrcvekcz at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82445 Petr Cvek changed: What|Removed |Added CC||petrcvekcz at gmail dot com --- Comment #5

[Bug rtl-optimization/82602] IRA considers volatile asm to be moveable

2017-10-18 Thread david at westcontrol dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82602 David Brown changed: What|Removed |Added CC||david at westcontrol dot com --- Comment

[Bug c++/82600] [8 Regression] Address of local variable returned [-Werror=return-local-addr] when building mozilla-central

2017-10-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82600 --- Comment #5 from Jakub Jelinek --- Reduced testcase: void *b[10]; template void ** foo (int x) { void **a = b; return [x]; } void ** bar (int x) { return foo <0> (x); }

[Bug tree-optimization/82603] New: [8 Regression] ICE in ifcvt_local_dce w/ -O2 -ftree-loop-vectorize

2017-10-18 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82603 Bug ID: 82603 Summary: [8 Regression] ICE in ifcvt_local_dce w/ -O2 -ftree-loop-vectorize Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords:

[Bug c++/69698] [meta-bug] flexible array members

2017-10-18 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69698 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[Bug tree-optimization/56456] [meta-bug] bogus/missing warning (when inlining or unrolling): "array subscript is above array bounds" [-Warray-bounds]

2017-10-18 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Eric Gallager changed: What|Removed |Added Depends on||82596, 82588, 82585, 82583,

[Bug c++/82600] [8 Regression] Address of local variable returned [-Werror=return-local-addr] when building mozilla-central

2017-10-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82600 Jakub Jelinek changed: What|Removed |Added Status|WAITING |NEW CC|

[Bug rtl-optimization/82602] IRA considers volatile asm to be moveable

2017-10-18 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82602 Segher Boessenkool changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug lto/82598] [8 Regression] lto debugobj lacks .note.GNU-stack

2017-10-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82598 --- Comment #1 from Jakub Jelinek --- Author: jakub Date: Wed Oct 18 09:20:31 2017 New Revision: 253851 URL: https://gcc.gnu.org/viewcvs?rev=253851=gcc=rev Log: PR lto/82598 * simple-object.c (handle_lto_debug_sections): Copy

[Bug c/82599] Assignments from statically initialized flexible arrays copy too much

2017-10-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82599 Richard Biener changed: What|Removed |Added Keywords||accepts-invalid, wrong-code

[Bug tree-optimization/56456] [meta-bug] bogus warning when inlining or unrolling: "array subscript is above array bounds"

2017-10-18 Thread slash.tmp at free dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 --- Comment #5 from Mason --- Slightly smaller testcase, similar to bug 80907. extern int M[16]; void foo(int n) { for (int i = 0; i < n; ++i) for (int j = 0; j < i; ++j) M[i+j] = 0; } $ gcc-7

[Bug rtl-optimization/82602] IRA considers volatile asm to be moveable

2017-10-18 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82602 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

  1   2   >