[Bug c++/80294] [5/6/7 Regression] ICE with constexpr and inheritance

2017-04-11 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80294 --- Comment #17 from Jason Merrill --- Author: jason Date: Tue Apr 11 21:07:32 2017 New Revision: 246858 URL: https://gcc.gnu.org/viewcvs?rev=246858&root=gcc&view=rev Log: PR c++/80294 - ICE with constexpr and inheritance. * con

[Bug target/80098] ICE in curr_insn_transform, at lra-constraints.c:3816 on ppc64le

2017-04-11 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80098 --- Comment #2 from Michael Meissner --- Created attachment 41180 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41180&action=edit Proposed patch to fix the problem

[Bug target/80315] Calling __builtin_crypto_vshasigmaw with argument 3 out of range creates an unrecognizable insn

2017-04-11 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80315 --- Comment #2 from Bill Schmidt --- Author: wschmidt Date: Tue Apr 11 21:37:16 2017 New Revision: 246859 URL: https://gcc.gnu.org/viewcvs?rev=246859&root=gcc&view=rev Log: 2017-04-11 Bill Schmidt PR target/80376 PR target/80

[Bug target/80376] Some vec_xxpermdi usage lead to ICE

2017-04-11 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80376 --- Comment #5 from Bill Schmidt --- Author: wschmidt Date: Tue Apr 11 21:37:16 2017 New Revision: 246859 URL: https://gcc.gnu.org/viewcvs?rev=246859&root=gcc&view=rev Log: 2017-04-11 Bill Schmidt PR target/80376 PR target/80

[Bug target/80376] Some vec_xxpermdi usage lead to ICE

2017-04-11 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80376 --- Comment #6 from Bill Schmidt --- Backports still needed.

[Bug target/80315] Calling __builtin_crypto_vshasigmaw with argument 3 out of range creates an unrecognizable insn

2017-04-11 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80315 --- Comment #3 from Bill Schmidt --- Backports still needed.

[Bug middle-end/77671] missing -Wformat-overflow warning on sprintf overflow with "%s"

2017-04-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77671 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug fortran/80361] [5/6/7 Regression] bogus recursive call to nonrecursive procedure with -fcheck=recursion

2017-04-11 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80361 --- Comment #14 from Thomas Koenig --- (In reply to janus from comment #12) > Created attachment 41179 [details] > reduced test case > > I managed to boil down the test case to a more compact form, see the > attached file. > > Note that it does

[Bug rtl-optimization/80401] [7 regression] gcc.target/powerpc/dimode_off.c and gcc.target/powerpc/pr79038-1.c fail starting with r246764

2017-04-11 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80401 Thomas Koenig changed: What|Removed |Added Target Milestone|--- |7.0

[Bug fortran/80388] ICE in output_constructor_regular_field, at varasm.c:4986

2017-04-11 Thread Glenn.Hyland at utas dot edu.au
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80388 --- Comment #2 from Glenn Hyland --- Sorry - hit return too early. Example code below (example.f90) generates ICE at varasm.c:4986 ... program example integer, parameter :: r8 = selected_real_kind(14,30) type test real (r8) :: computation_

[Bug rtl-optimization/80352] Improper reload of operands with equiv pseudo

2017-04-11 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80352 --- Comment #2 from Vladimir Makarov --- Thank you for the report. I'll investigate the problem. A few hours ago I've committed an additional patch. It might solve the problem. I'll check it.

[Bug c++/80265] __builtin_{memcmp,memchr,strlen} are not usable in constexpr functions

2017-04-11 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80265 --- Comment #17 from Marc Glisse --- (In reply to Jason Merrill from comment #16) > (In reply to Marc Glisse from comment #13) > > it seems better than abusing __builtin_constant_p, which is getting > > contradictory requirements from its various

[Bug target/80402] New: Missed optimization on x86/x86_64

2017-04-11 Thread mednafen at sent dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80402 Bug ID: 80402 Summary: Missed optimization on x86/x86_64 Product: gcc Version: unknown Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priori

[Bug rtl-optimization/80352] Improper reload of operands with equiv pseudo

2017-04-11 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80352 --- Comment #3 from Vladimir Makarov --- (In reply to Vladimir Makarov from comment #2) > Thank you for the report. I'll investigate the problem. A few hours ago > I've committed an additional patch. It might solve the problem. I'll check > i

[Bug fortran/80388] ICE in output_constructor_regular_field, at varasm.c:4986

2017-04-11 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80388 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 CC|

[Bug sanitizer/80403] New: UBSAN: compile time crash with "type mismatch in binary expression" message in / and % expr

2017-04-11 Thread babokin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80403 Bug ID: 80403 Summary: UBSAN: compile time crash with "type mismatch in binary expression" message in / and % expr Product: gcc Version: 7.0 Status: UNCONFIRMED

[Bug sanitizer/80404] New: UBSAN: compile time crash with "non-trivial conversion at assignment" error

2017-04-11 Thread babokin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80404 Bug ID: 80404 Summary: UBSAN: compile time crash with "non-trivial conversion at assignment" error Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: norma

[Bug sanitizer/80405] New: UBSAN: compile time crash with "type mismatch in shift expression" error

2017-04-11 Thread babokin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80405 Bug ID: 80405 Summary: UBSAN: compile time crash with "type mismatch in shift expression" error Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/80388] ICE in output_constructor_regular_field, at varasm.c:4986

2017-04-11 Thread Glenn.Hyland at utas dot edu.au
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80388 --- Comment #4 from Glenn Hyland --- Thanks. I'm already at the latest gFortran release for my platform "Ubuntu 16.04.2 LTS". Not prepared at this stage to go to a development version of Ubuntu that would include a newer compiler version. I'm ha

[Bug target/80382] ICE with error: unrecognizable insn

2017-04-11 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80382 Segher Boessenkool changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |segher at gcc dot gnu.org -

[Bug c/80406] New: Reduced false positive test case for -Warray-bounds with -O3

2017-04-11 Thread brlcad at mac dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80406 Bug ID: 80406 Summary: Reduced false positive test case for -Warray-bounds with -O3 Product: gcc Version: 6.2.1 Status: UNCONFIRMED Severity: normal P

[Bug go/77857] gccgo: vendoring doesn't work in gcc 6/7

2017-04-11 Thread ian at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77857 --- Comment #1 from ian at gcc dot gnu.org --- Author: ian Date: Wed Apr 12 04:26:15 2017 New Revision: 246864 URL: https://gcc.gnu.org/viewcvs?rev=246864&root=gcc&view=rev Log: PR go/77857 cmd/go: generate vendor paths for -I arg on

[Bug go/77857] gccgo: vendoring doesn't work in gcc 6/7

2017-04-11 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77857 Ian Lance Taylor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug fortran/80361] [5/6/7 Regression] bogus recursive call to nonrecursive procedure with -fcheck=recursion

2017-04-11 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80361 janus at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|un

[Bug c++/80294] [5/6 Regression] ICE with constexpr and inheritance

2017-04-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80294 Jakub Jelinek changed: What|Removed |Added Summary|[5/6/7 Regression] ICE with |[5/6 Regression] ICE with

[Bug sanitizer/80405] UBSAN: compile time crash with "type mismatch in shift expression" error

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

[Bug sanitizer/80404] UBSAN: compile time crash with "non-trivial conversion at assignment" error

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

[Bug sanitizer/80403] UBSAN: compile time crash with "type mismatch in binary expression" message in / and % expr

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

[Bug middle-end/80100] simplify-rtx.c sanitizer detects undefined behaviour with optimization

2017-04-11 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80100 --- Comment #7 from Vittorio Zecca --- (In reply to Jakub Jelinek from comment #5) > Author: jakub > Date: Tue Apr 11 17:21:51 2017 > New Revision: 246851 > > URL: https://gcc.gnu.org/viewcvs?rev=246851&root=gcc&view=rev > Log: > PR middle

[Bug sanitizer/80349] [6/7 Regression] UBSAN: compile time crash with "type mismatch in binary expression" message

2017-04-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80349 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Wed Apr 12 06:12:26 2017 New Revision: 246865 URL: https://gcc.gnu.org/viewcvs?rev=246865&root=gcc&view=rev Log: PR sanitizer/80349 * fold-const.c (fold_binary_loc) : Conv

[Bug middle-end/80100] simplify-rtx.c sanitizer detects undefined behaviour with optimization

2017-04-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80100 --- Comment #8 from Jakub Jelinek --- (In reply to Vittorio Zecca from comment #7) > Looking at the diff file, where is the change in line 2744? > "int count = INTVAL (XEXP (op0, 1));" > > Old and new look the same to me. Whitespace fix, space

[Bug middle-end/80399] Premature optimization with unsigned

2017-04-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80399 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/80406] Reduced false positive test case for -Warray-bounds with -O3

2017-04-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80406 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Status|

[Bug middle-end/80399] Premature optimization with unsigned

2017-04-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80399 --- Comment #2 from Andrew Pinski --- Related case (but I know it goes down a different path) is: struct ss { int aa; int s; }; int f(int a, struct ss *rn, int i) { return rn[i-1].s == a; } Which shows up in SPEC INT.

<    1   2