[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 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/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 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 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

[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 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=gcc=rev Log: PR go/77857 cmd/go: generate vendor paths for -I arg on compile

[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

[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 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

[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 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:

[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 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 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 >

[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

[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

[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 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) ::

[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/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

[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 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 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/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=gcc=rev Log: 2017-04-11 Bill Schmidt PR target/80376

[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=gcc=rev Log: 2017-04-11 Bill Schmidt PR target/80376

[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=edit Proposed patch to fix the problem

[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=gcc=rev Log: PR c++/80294 - ICE with constexpr and inheritance. * constexpr.c

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

2017-04-11 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80382 --- Comment #9 from Peter Bergner --- It seems you can call creduce multiple times and see some reduction. Here's a reduced test case: bergner@pike:~/gcc/BUGS/PR80382$ cat bug.ii namespace a { typedef enum {} b; template struct g { c d;

[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 wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80401 --- Comment #2 from Bill Schmidt --- That transformation will definitely degrade performance...

[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 Bill Schmidt changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

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

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

[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 seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80401 seurer at gcc dot gnu.org changed: What|Removed |Added Target||powerpc*-*-*

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

2017-04-11 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80265 --- Comment #15 from Jason Merrill --- (In reply to Pedro Alves from comment #6) > Hmm. I'd argue that __builtin_constant_p (s) should return true in that case, > since we're in a constexpr? No, the compiler is right; the address of the local

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

2017-04-11 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80401 Bug ID: 80401 Summary: [7 regression] gcc.target/powerpc/dimode_off.c and gcc.target/powerpc/pr79038-1.c fail starting with r246764 Product: gcc Version: 7.0

[Bug c++/80370] [7 Regression] ICE when using structured bindings and nested generic lambdas (tsubst_decomp_names)

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

[Bug c++/80370] [7 Regression] ICE when using structured bindings and nested generic lambdas (tsubst_decomp_names)

2017-04-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80370 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Tue Apr 11 20:51:16 2017 New Revision: 246857 URL: https://gcc.gnu.org/viewcvs?rev=246857=gcc=rev Log: PR c++/80370 * decl.c (cp_finish_decomp): If

[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|WAITING |NEW --- Comment #13 from

[Bug rtl-optimization/70478] [LRA] S/390: Performance regression - superfluous stack frame

2017-04-11 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70478 --- Comment #11 from Vladimir Makarov --- Author: vmakarov Date: Tue Apr 11 19:39:59 2017 New Revision: 246854 URL: https://gcc.gnu.org/viewcvs?rev=246854=gcc=rev Log: 2017-04-11 Vladimir Makarov PR

[Bug c/80400] missing -Wattributes on a invalid attribute packed on a typedef

2017-04-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80400 Martin Sebor changed: What|Removed |Added Keywords||diagnostic See Also|

[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 CC||janus at gcc dot gnu.org ---

[Bug c/80400] New: missing -Wattributes on a invalid attribute packed on a typedef

2017-04-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80400 Bug ID: 80400 Summary: missing -Wattributes on a invalid attribute packed on a typedef Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/80397] missing -Wformat-overflow with arguments of enum types

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

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

2017-04-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80399 Bug ID: 80399 Summary: Premature optimization with unsigned Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[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 #4 from Jakub Jelinek --- Created attachment 41178 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41178=edit gcc7-pr80349.patch Untested fix.

[Bug c/80398] New: missing -Wattributes on a misplaced attribute packed in an enum definition

2017-04-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80398 Bug ID: 80398 Summary: missing -Wattributes on a misplaced attribute packed in an enum definition Product: gcc Version: 7.0 Status: UNCONFIRMED Severity:

[Bug fortran/80392] ICE with allocatable polymorphic function result in a procedure pointer component

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

[Bug rtl-optimization/80385] [5/6 Regression] Segfault in commutative_operand_precedence() rtlanal.c:3373

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

[Bug libgomp/80394] Empty OpenMP task is wrongly removed when optimizing

2017-04-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80394 --- Comment #5 from Jakub Jelinek --- Fixed on the trunk so far, backports queued. Thanks for the report.

[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 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[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 #5 from Jakub Jelinek --- Author: jakub Date: Tue Apr 11 17:21:51 2017 New Revision: 246851 URL: https://gcc.gnu.org/viewcvs?rev=246851=gcc=rev Log: PR middle-end/80100 * simplify-rtx.c (simplify_binary_operation_1)

[Bug rtl-optimization/80385] [5/6/7 Regression] Segfault in commutative_operand_precedence() rtlanal.c:3373

2017-04-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80385 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Tue Apr 11 17:19:56 2017 New Revision: 246850 URL: https://gcc.gnu.org/viewcvs?rev=246850=gcc=rev Log: PR rtl-optimization/80385 * simplify-rtx.c

[Bug libgomp/80394] Empty OpenMP task is wrongly removed when optimizing

2017-04-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80394 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Tue Apr 11 17:15:47 2017 New Revision: 246849 URL: https://gcc.gnu.org/viewcvs?rev=246849=gcc=rev Log: PR libgomp/80394 * omp-low.c (scan_omp_task): Don't optimize away

[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 #1 from Vladimir Makarov --- Thomas, it seems from your description the problem really exists. I tried to reproduce the problem with the test you provided but I've failed. I used today trunk. Could you provide more info (may be

[Bug tree-optimization/80397] New: missing -Wformat-overflow with arguments of enum types

2017-04-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80397 Bug ID: 80397 Summary: missing -Wformat-overflow with arguments of enum types Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug ipa/80212] [5/6 Regression] ICE: error: comdat-local function called by virtual

2017-04-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80212 Martin Liška changed: What|Removed |Added Known to work||7.0 Summary|[5/6/7

[Bug ipa/80212] [5/6/7 Regression] ICE: error: comdat-local function called by virtual

2017-04-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80212 --- Comment #5 from Martin Liška --- Author: marxin Date: Tue Apr 11 16:38:19 2017 New Revision: 246848 URL: https://gcc.gnu.org/viewcvs?rev=246848=gcc=rev Log: Add function part to a same comdat group (PR ipa/80212). 2017-04-11 Martin Liska

[Bug middle-end/80364] [7 Regression]sanitizer detects signed integer overflow in gimple-ssa-sprintf.c

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

[Bug ipa/80212] [5/6/7 Regression] ICE: error: comdat-local function called by virtual

2017-04-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80212 --- Comment #4 from Martin Liška --- Author: marxin Date: Tue Apr 11 16:37:31 2017 New Revision: 246847 URL: https://gcc.gnu.org/viewcvs?rev=246847=gcc=rev Log: Do not create a constprop clone for calls_comdat_local nodes (PR ipa/80212).

[Bug middle-end/80364] [7 Regression]sanitizer detects signed integer overflow in gimple-ssa-sprintf.c

2017-04-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80364 --- Comment #4 from Martin Sebor --- Author: msebor Date: Tue Apr 11 16:35:34 2017 New Revision: 246846 URL: https://gcc.gnu.org/viewcvs?rev=246846=gcc=rev Log: PR middle-end/80364 - sanitizer detects signed integer overflow in

[Bug target/80381] AVX512: -O3, _mm512_srai_epi32, the last argument must be an 8-bit immediate

2017-04-11 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80381 --- Comment #9 from Uroš Bizjak --- I was looking at generated code (with -mtune=intel): vpbroadcastd%edi, %zmm0 # 9 *avx512f_vec_dup_gprv16si/2 [length = 6] movl%edi, %edi # 12*zero_extendsidi2/4

[Bug target/80082] [5/6 regression] GCC incorrectly assumes Cortex-r[578] have 64-bit single-copy atomic LDRD

2017-04-11 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80082 --- Comment #11 from Thomas Preud'homme --- Author: thopre01 Date: Tue Apr 11 15:26:20 2017 New Revision: 246844 URL: https://gcc.gnu.org/viewcvs?rev=246844=gcc=rev Log: Fix PR80082: LDRD erronously used for 64bit load on ARMv7-R 2017-04-11

[Bug c/80354] Poor support to silence -Wformat-truncation=1

2017-04-11 Thread sbergman at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80354 --- Comment #5 from Stephan Bergmann --- (In reply to Martin Sebor from comment #3) > The warning does just what it's designed to do: point out the potential > unhandled truncation. But it is unusable in practice if there is no reliable way to

[Bug target/80389] [7 Regression][ARM] -march=armv8-a and -mcpu=cortex-a57 results in invalid .cpu assembly directive

2017-04-11 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80389 Richard Earnshaw changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/80389] [7 Regression][ARM] -march=armv8-a and -mcpu=cortex-a57 results in invalid .cpu assembly directive

2017-04-11 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80389 --- Comment #5 from Richard Earnshaw --- Author: rearnsha Date: Tue Apr 11 14:57:41 2017 New Revision: 246843 URL: https://gcc.gnu.org/viewcvs?rev=246843=gcc=rev Log: [arm] PR 80389 - if architecture and cpu mismatch, don't print an

[Bug target/80389] [7 Regression][ARM] -march=armv8-a and -mcpu=cortex-a57 results in invalid .cpu assembly directive

2017-04-11 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80389 Richard Earnshaw changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rearnsha at gcc dot gnu.org

[Bug c++/80387] [6/7 Regression] G++ get stuck due to decltype over constexpr static function in using declaration

2017-04-11 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80387 Markus Trippelsdorf changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[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 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/80387] [6/7 Regression] G++ get stuck due to decltype over constexpr static function in using declaration

2017-04-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80387 --- Comment #6 from Jonathan Wakely --- This code isn't strictly ice-on-invalid, it's just completely crazy and no compiler will ever handle it, because it asks for std::index_sequence<0, 1, 2, 3, ..., 18446744073709551614>. We could add a

[Bug target/80389] [7 Regression][ARM] -march=armv8-a and -mcpu=cortex-a57 results in invalid .cpu assembly directive

2017-04-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80389 --- Comment #3 from Jakub Jelinek --- So, if there is a conflict between options, the backend should choose after warning the more important from those unless it wants to error, and then continue, so either change -march=armv8-a to something

[Bug target/80389] [7 Regression][ARM] -march=armv8-a and -mcpu=cortex-a57 results in invalid .cpu assembly directive

2017-04-11 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80389 Richard Earnshaw changed: What|Removed |Added Priority|P1 |P2 Status|UNCONFIRMED

[Bug c++/80387] [6/7 Regression] G++ get stuck due to decltype over constexpr static function in using declaration

2017-04-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80387 --- Comment #5 from Jonathan Wakely --- PR 80396 requests such a builtin.

[Bug c++/80396] New: New builtin to make std::make_integer_sequence efficient and scalable

2017-04-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80396 Bug ID: 80396 Summary: New builtin to make std::make_integer_sequence efficient and scalable Product: gcc Version: 7.0.1 Status: UNCONFIRMED Severity:

[Bug tree-optimization/80359] [7 Regression] DSE causes error: invalid reference prefix

2017-04-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80359 --- Comment #6 from Richard Biener --- (In reply to Jeffrey A. Law from comment #4) > Given how late in stage4 we are, I think rejecting TMR without trying to > rewrite them into a regular MEM_REF is probably the best thing to do. Agreed.

[Bug tree-optimization/80359] [7 Regression] DSE causes error: invalid reference prefix

2017-04-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80359 Richard Biener changed: What|Removed |Added CC||zeccav at gmail dot com --- Comment #5

[Bug fortran/80395] verify_gimple fails with Error: invalid reference prefix with -O3 -finline-functions

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

[Bug tree-optimization/80374] [7 Regression] ICE in fold_convert_loc, at fold-const.c:2384

2017-04-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80374 --- Comment #5 from Richard Biener --- Author: rguenth Date: Tue Apr 11 13:44:24 2017 New Revision: 246840 URL: https://gcc.gnu.org/viewcvs?rev=246840=gcc=rev Log: 2017-04-11 Richard Biener PR

[Bug c++/69953] [5/6/7 Regression] Using lto causes gtkmm/gparted and gtkmm/inkscape compile to fail

2017-04-11 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69953 --- Comment #27 from Jan Hubicka --- Created attachment 41176 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41176=edit Patch I am testing Hi, I am testing the attached patch. This is but subtle issue, but I hope that it works right now.

[Bug ipa/77333] Incorrect stack adjust in epilogue when targeting i686-w64-mingw32

2017-04-11 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77333 Martin Jambor changed: What|Removed |Added Status|NEW |RESOLVED URL|

[Bug ipa/77333] Incorrect stack adjust in epilogue when targeting i686-w64-mingw32

2017-04-11 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77333 --- Comment #25 from Martin Jambor --- Author: jamborm Date: Tue Apr 11 13:31:16 2017 New Revision: 246839 URL: https://gcc.gnu.org/viewcvs?rev=246839=gcc=rev Log: [PR 77333] Fixup fntypes of gimple calls of clones 2017-04-11 Martin Jambor

[Bug ipa/77333] Incorrect stack adjust in epilogue when targeting i686-w64-mingw32

2017-04-11 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77333 --- Comment #24 from Martin Jambor --- Author: jamborm Date: Tue Apr 11 13:23:48 2017 New Revision: 246838 URL: https://gcc.gnu.org/viewcvs?rev=246838=gcc=rev Log: [PR 77333] Fixup fntypes of gimple calls of clones 2017-04-11 Martin Jambor

[Bug fortran/80395] New: verify_gimple fails with Error: invalid reference prefix with -O3 -finline-functions

2017-04-11 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80395 Bug ID: 80395 Summary: verify_gimple fails with Error: invalid reference prefix with -O3 -finline-functions Product: gcc Version: 7.0.1 Status: UNCONFIRMED

[Bug libgomp/80394] Empty OpenMP task is wrongly removed when optimizing

2017-04-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80394 --- Comment #3 from Jakub Jelinek --- Created attachment 41174 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41174=edit gcc7-pr80394.patch Untested fix.

[Bug other/79718] gcc --vers still outputs --version

2017-04-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79718 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug other/79719] gcc --vers still outputs command line should be checked

2017-04-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79719 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug other/79718] gcc --vers still outputs --version

2017-04-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79718 --- Comment #1 from Martin Liška --- *** Bug 79719 has been marked as a duplicate of this bug. ***

[Bug target/80389] [7 Regression][ARM] -march=armv8-a and -mcpu=cortex-a57 results in invalid .cpu assembly directive

2017-04-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80389 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug sanitizer/70878] [5/6/7 Regression] ICE in expand_expr_addr_expr_1, at expr.c:7680

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

[Bug sanitizer/70878] [5/6/7 Regression] ICE in expand_expr_addr_expr_1, at expr.c:7680

2017-04-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70878 --- Comment #3 from Martin Liška --- Author: marxin Date: Tue Apr 11 13:08:08 2017 New Revision: 246837 URL: https://gcc.gnu.org/viewcvs?rev=246837=gcc=rev Log: Do not instrument register variables in object-size sanitizer (PR sanitizer/70878).

[Bug libgomp/80394] Empty OpenMP task is wrongly removed when optimizing

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

[Bug libgomp/80394] Empty OpenMP task is wrongly removed when optimizing

2017-04-11 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80394 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org ---

[Bug c++/80387] [6/7 Regression] G++ get stuck due to decltype over constexpr static function in using declaration

2017-04-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80387 --- Comment #4 from Jonathan Wakely --- Reverting that change is not an option. I might be able to add some sanity checking to reject invalid cases. What we really want is a builtin to generate the pack expansion.

[Bug sanitizer/80386] UBSAN: false positive - constant folding and reassosiation before instrumentation

2017-04-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80386 --- Comment #3 from Marek Polacek --- Yea, the fold call there is puzzling. Even a change in r67189 (old one!) had: - /* Don't fold a COMPONENT_EXPR: if the operand was a CONSTRUCTOR (the - only time it will fold), it can cause problems

[Bug libgomp/80394] New: Empty OpenMP task is wrongly removed when optimizing

2017-04-11 Thread sergi.mateo at bsc dot es
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80394 Bug ID: 80394 Summary: Empty OpenMP task is wrongly removed when optimizing Product: gcc Version: 7.0.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug sanitizer/80386] UBSAN: false positive - constant folding and reassosiation before instrumentation

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

[Bug libobjc/80393] New: class_replaceMethod() can modify the wrong class

2017-04-11 Thread rfm at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80393 Bug ID: 80393 Summary: class_replaceMethod() can modify the wrong class Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug fortran/80392] New: ICE with allocatable polymorphic function result in a procedure pointer component

2017-04-11 Thread zed.three at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80392 Bug ID: 80392 Summary: ICE with allocatable polymorphic function result in a procedure pointer component Product: gcc Version: 7.0.1 Status: UNCONFIRMED

[Bug target/36831] sparc-sun-solaris2.6: Bootstrap comparison failure

2017-04-11 Thread mmokrejs at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36831 --- Comment #7 from mmokrejs at gmail dot com --- (In reply to mmokrejs from comment #6) > I am on Gentoo Linux but 5.4.0 is nevertheless still unavailable for general > ("stable") users. For a good reason. And as I said, the ABI is not >

[Bug rtl-optimization/80385] [5/6/7 Regression] Segfault in commutative_operand_precedence() rtlanal.c:3373

2017-04-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80385 --- Comment #4 from Jakub Jelinek --- Created attachment 41173 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41173=edit gcc7-pr80385.patch Untested fix.

[Bug middle-end/80283] [5/6/7 Regression] bad SIMD register allocation

2017-04-11 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80283 --- Comment #13 from wilco at gcc dot gnu.org --- It looks the x64 issue is unrelated. It starts with a bad schedule which could be improved by the scheduler but that is off by default, while the ARM version starts with a good schedule which is

  1   2   >