[Bug c/83671] New: Fix for false positive reported by -Wstringop-overflow does not work with inlining

2018-01-03 Thread bugzi...@poradnik-webmastera.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83671 Bug ID: 83671 Summary: Fix for false positive reported by -Wstringop-overflow does not work with inlining Product: gcc Version: 8.0 Status: UNCONFIRMED Severity

[Bug debug/83585] [8 Regression] Assembler messages: Error: can't resolve `.text' {.text section} - `.LCOLDB0' {.text.unlikely section}

2018-01-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83585 --- Comment #6 from Jakub Jelinek --- Created attachment 43021 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43021&action=edit gcc8-pr83585.patch Untested fix. Another option would be to introduce a new flag next to has_bb_partition, e.g

[Bug middle-end/81897] [6/7/8 Regression] spurious -Wmaybe-uninitialized warning

2018-01-03 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81897 Aldy Hernandez changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |aldyh at gcc dot gnu.org --- Com

[Bug tree-optimization/83569] Wrong constant folding

2018-01-03 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83569 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/83569] [6/7/8 Regression] Wrong constant folding

2018-01-03 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83569 Marek Polacek changed: What|Removed |Added Target Milestone|--- |6.6 Summary|Wrong constant fo

[Bug c++/83529] ICE in canonical types differ for identical types

2018-01-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83529 --- Comment #8 from Jason Merrill --- (In reply to Jason Merrill from comment #6) > (In reply to Nathan Sidwell from comment #5) > > template int Foo (T); > > > > template class TPL; > > > > template > > constexpr TPL Foo (); // #1 > > > >

[Bug tree-optimization/80724] [8 Regression] gcc.target/aarch64/pr62178.c failed because of r247885

2018-01-03 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80724 Wilco changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug tree-optimization/51513] Only partially optimizes away __builtin_unreachable switch default case

2018-01-03 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51513 Peter Bergner changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #11 from Peter Bergne

[Bug middle-end/83654] -fstack-clash-protection probes below the stack pointer for VLA with constant size

2018-01-03 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83654 --- Comment #3 from Jeffrey A. Law --- Author: law Date: Wed Jan 3 18:22:28 2018 New Revision: 256182 URL: https://gcc.gnu.org/viewcvs?rev=256182&root=gcc&view=rev Log: PR middle-end/83654 * explow.c (anti_adjust_stack_and_probe

[Bug middle-end/83654] -fstack-clash-protection probes below the stack pointer for VLA with constant size

2018-01-03 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83654 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/83672] New: Unable to take the address of a template function parameter pack specialization with a function argument

2018-01-03 Thread smw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83672 Bug ID: 83672 Summary: Unable to take the address of a template function parameter pack specialization with a function argument Product: gcc Version: 7.0 Status: UNCONFIR

[Bug tree-optimization/83580] [6/7/8 Regression] Wrong code caused by vectorization

2018-01-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83580 --- Comment #7 from Jakub Jelinek --- *** Bug 83569 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/83569] [6/7/8 Regression] Wrong constant folding

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

[Bug tree-optimization/83673] New: missing strlen optimization on multiple strcpy calls with same length strings

2018-01-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83673 Bug ID: 83673 Summary: missing strlen optimization on multiple strcpy calls with same length strings Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: nor

[Bug debug/83666] [8 Regression] ICE: SIGFPE with -O2 -g --param=sccvn-max-scc-size=10

2018-01-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83666 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Compon

[Bug debug/83666] [8 Regression] ICE: SIGFPE with -O2 -g --param=sccvn-max-scc-size=10

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

[Bug target/82915] Please mark intrinsics as constexpr

2018-01-03 Thread bugzi...@poradnik-webmastera.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82915 --- Comment #2 from Daniel Fruzynski --- SIMD ISAa for other CPU types (e.g. ARM/AARCH64 NEON) also can benefit from this.

[Bug tree-optimization/83674] New: strcpy folding of small strings defeats strlen optimization

2018-01-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83674 Bug ID: 83674 Summary: strcpy folding of small strings defeats strlen optimization Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Prio

[Bug tree-optimization/81611] [8 Regression] gcc un-learned loop / post-increment optimization

2018-01-03 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81611 --- Comment #15 from Alexandre Oliva --- As we create_mem_ref within ivopts, create_mem_ref_raw requires a valid_mem_ref_p, which in memory_address_addr_space_p calls targetm.addr_space.legitimate_address_p, and that's avr_addr_space_legitimate_a

[Bug c++/83555] Unnecessary null check when static_cast is used with references.

2018-01-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83555 --- Comment #2 from Jakub Jelinek --- Author: jakub Date: Wed Jan 3 20:37:41 2018 New Revision: 256186 URL: https://gcc.gnu.org/viewcvs?rev=256186&root=gcc&view=rev Log: PR c++/83555 * typeck.c (build_static_cast_1): For static

[Bug target/83496] MIPS BE: wrong code generates under "-Os -mbranch-cost=1"

2018-01-03 Thread g...@hauke-m.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83496 --- Comment #5 from Hauke Mehrtens --- The description already contains the full function incl. 4006fc. Do you need more?

[Bug c/83559] [8 regression] -Wsuggest-attribute=const conflicts with -Wattributes warning about const attribute on function returning void

2018-01-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83559 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/83559] [8 regression] -Wsuggest-attribute=const conflicts with -Wattributes warning about const attribute on function returning void

2018-01-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83559 --- Comment #3 from Martin Sebor --- Author: msebor Date: Wed Jan 3 20:43:47 2018 New Revision: 256188 URL: https://gcc.gnu.org/viewcvs?rev=256188&root=gcc&view=rev Log: PR c/83559 - -Wsuggest-attribute=const conflicts with -Wattributes warning

[Bug target/83496] MIPS BE: wrong code generates under "-Os -mbranch-cost=1"

2018-01-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83496 Martin Liška changed: What|Removed |Added Status|WAITING |ASSIGNED --- Comment #6 from Martin Liška

[Bug tree-optimization/81611] [8 Regression] gcc un-learned loop / post-increment optimization

2018-01-03 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81611 --- Comment #16 from Alexandre Oliva --- Even if create_mem_ref_raw created a MEM_REF, we'd still allocate a new pseudo for the reg - 1 at cfgexpand, and that ends up preventing the post_inc addressing mode from being selected. The more I think

[Bug debug/83645] [8 Regression] ICE: in get_insn_template, at final.c:2100 with -gstatement-frontiers

2018-01-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83645 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Wed Jan 3 20:58:48 2018 New Revision: 256189 URL: https://gcc.gnu.org/viewcvs?rev=256189&root=gcc&view=rev Log: PR debug/83645 * var-tracking.c (delete_vta_debug_insn): N

[Bug debug/83621] [8 Regression] ICE: in simplify_subreg, at simplify-rtx.c:6293 with -O -g

2018-01-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83621 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Wed Jan 3 20:59:50 2018 New Revision: 256190 URL: https://gcc.gnu.org/viewcvs?rev=256190&root=gcc&view=rev Log: PR debug/83621 * cfgexpand.c (expand_debug_expr): Return N

[Bug target/83641] -fstack-clash-protection generates incorrect CFI on i386

2018-01-03 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83641 --- Comment #4 from Jeffrey A. Law --- Author: law Date: Wed Jan 3 21:25:10 2018 New Revision: 256191 URL: https://gcc.gnu.org/viewcvs?rev=256191&root=gcc&view=rev Log: PR target/83641 * config/i386/i386.c (ix86_adjust_stack_and

[Bug target/83641] -fstack-clash-protection generates incorrect CFI on i386

2018-01-03 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83641 Jeffrey A. Law changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/83675] New: [8 regression] Many SPARC tests FAIL with unrecognizable insn

2018-01-03 Thread ro at gcc dot gnu.org
: sparc-sun-solaris2.* Build: sparc-sun-solaris2.* Between 20180102 and 20180103, man SPARC tests started to FAIL like this: FAIL: gcc.dg/vect/pr43842.c (internal compiler error) FAIL: gcc.dg/vect/pr43842.c (test for excess errors) /vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/vect

[Bug middle-end/83675] [8 regression] Many SPARC tests FAIL with unrecognizable insn

2018-01-03 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83675 Rainer Orth changed: What|Removed |Added Target Milestone|--- |8.0

[Bug c/83676] New: Problems with sscanf parsing hex-floats

2018-01-03 Thread BM-2cUWXLL9JqDWpsk8EivFHCgbsbXFtsxQrk at bitmessage dot ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83676 Bug ID: 83676 Summary: Problems with sscanf parsing hex-floats Product: gcc Version: 7.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug middle-end/83675] [8 regression] Many SPARC tests FAIL with unrecognizable insn

2018-01-03 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83675 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirme

[Bug tree-optimization/83671] Fix for false positive reported by -Wstringop-overflow does not work with inlining

2018-01-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83671 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRMED

[Bug tree-optimization/83603] [8 Regression] ICE in builtin_memref at gcc/gimple-ssa-warn-restrict.c:238

2018-01-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83603 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/83627] -Wdelete-non-virtual-dtor doesn't trigger when calling destructor by hand

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

[Bug tree-optimization/83603] [8 Regression] ICE in builtin_memref at gcc/gimple-ssa-warn-restrict.c:238

2018-01-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83603 --- Comment #7 from Martin Sebor --- Author: msebor Date: Wed Jan 3 22:52:53 2018 New Revision: 256217 URL: https://gcc.gnu.org/viewcvs?rev=256217&root=gcc&view=rev Log: PR tree-optimization/83603 - ICE in builtin_memref at gcc/gimple-ssa-warn-

[Bug c/83676] Problems with sscanf parsing hex-floats

2018-01-03 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83676 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/83626] std::experimental::filesystem::remove_all throws exception instead of returning 0 if path doesn't exist

2018-01-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83626 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/81611] [8 Regression] gcc un-learned loop / post-increment optimization

2018-01-03 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81611 --- Comment #17 from Alexandre Oliva --- Created attachment 43025 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43025&action=edit another complement to the initial partial patch, this one improving auto-inc-dec We already had code to turn

[Bug c++/83624] Strong using deprecation warning in C++03

2018-01-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83624 --- Comment #2 from Jonathan Wakely --- (In reply to andysem from comment #0) > The problem with this warning is that it suggests using inline namespaces > instead, but that is not an option on C++03 code base. The attribute is used > precisely t

[Bug c++/83672] Unable to take the address of a template function parameter pack specialization with a function argument

2018-01-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83672 --- Comment #1 from Jonathan Wakely --- This looks familiar, I think it's a dup of an existing bug report.

[Bug tree-optimization/83586] [8 regression] Invalid reported line with -Wformat-truncation on stdio2.h

2018-01-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83586 Martin Sebor changed: What|Removed |Added Status|WAITING |RESOLVED Component|c

[Bug c++/83429] Incorrect line number reported by -Wformat-truncation

2018-01-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83429 Martin Sebor changed: What|Removed |Added CC||sylvestre at debian dot org --- Comment #

[Bug target/83677] New: PPC: The xxpermr instruction is not generated correctly

2018-01-03 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83677 Bug ID: 83677 Summary: PPC: The xxpermr instruction is not generated correctly Product: gcc Version: 7.2.1 Status: UNCONFIRMED Severity: normal Priori

[Bug target/83677] PPC: The xxpermr instruction is not generated correctly

2018-01-03 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83677 Bill Schmidt changed: What|Removed |Added Target||powerpc*-*-* Status|UNCONFIRM

[Bug target/82915] Please mark intrinsics as constexpr

2018-01-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82915 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org See A

[Bug target/83466] Wrong TLS GD sequence for ILP32

2018-01-03 Thread sje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83466 --- Comment #4 from Steve Ellcey --- Created attachment 43027 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43027&action=edit Patch file being tested I am testing this patch for regressions, I have verified that it does fix the small test

[Bug tree-optimization/83655] [8 Regression] ICE on an invalid call to memcpy declared with no prototype

2018-01-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83655 --- Comment #2 from Martin Sebor --- Author: msebor Date: Wed Jan 3 23:41:32 2018 New Revision: 256218 URL: https://gcc.gnu.org/viewcvs?rev=256218&root=gcc&view=rev Log: PR tree-optimization/83655 - ICE on an invalid call to memcpy declared wit

[Bug tree-optimization/83655] [8 Regression] ICE on an invalid call to memcpy declared with no prototype

2018-01-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83655 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/82915] Please mark intrinsics as constexpr

2018-01-03 Thread bugzi...@poradnik-webmastera.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82915 --- Comment #4 from Daniel Fruzynski --- For tracking purposes it probably would be better to have separate issues for every CPU type which could benefit this. So this one could be for x86, and you could open other requests for other CPUs which s

[Bug c++/83624] Strong using deprecation warning in C++03

2018-01-03 Thread andysem at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83624 --- Comment #3 from andysem at mail dot ru --- As you noted, --pedantic-errors makes that code an error, so it is not an equivalent replacement. Also, GNU-specific attributes can and often are supported by other compilers. When they are not, the

[Bug gcov-profile/83678] New: [GCOV] a pointer assignment before a break statment lead to incorrect coverage in gcov

2018-01-03 Thread yangyibiao at nju dot edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83678 Bug ID: 83678 Summary: [GCOV] a pointer assignment before a break statment lead to incorrect coverage in gcov Product: gcc Version: 8.0 Status: UNCONFIRMED Seve

[Bug middle-end/83675] [8 regression] Many SPARC tests FAIL with unrecognizable insn

2018-01-03 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83675 --- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #1 from rsandifo at gcc dot gnu.org > --- [...] > Sorry, I'd missed that this feature was restricted to TARGET_VIS2. > The attached patch seems to fix it. It does indeed.

<    1   2