[Bug c++/80561] New: Missed optimization: std::array data is aligned if array is aligned

2017-04-29 Thread jzwinck at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80561 Bug ID: 80561 Summary: Missed optimization: std::array data is aligned if array is aligned Product: gcc Version: 6.3.0 Status: UNCONFIRMED Severity: normal

[Bug target/80556] [8 Regression] bootstrap failure for Ada compiler

2017-04-29 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80556 Eric Botcazou changed: What|Removed |Added Target||x86_64-apple-darwin16 Status

[Bug tree-optimization/79697] unused realloc(0, n) not eliminated

2017-04-29 Thread prathamesh3492 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79697 --- Comment #8 from prathamesh3492 at gcc dot gnu.org --- Author: prathamesh3492 Date: Sat Apr 29 10:05:13 2017 New Revision: 247407 URL: https://gcc.gnu.org/viewcvs?rev=247407&root=gcc&view=rev Log: 2017-04-29 Prathamesh Kulkarni PR

[Bug c++/80562] New: ICE using if constexpr with nonconstant expression in function template

2017-04-29 Thread g...@arne-mertz.de
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: g...@arne-mertz.de Target Milestone: --- Build: GCC v8.0.0 (built from source 20170429) The following code: struct T { constexpr auto foo() { return false; } }; template

[Bug fortran/80563] New: [cleanup] handle allocatable DT intent(out) arguments in init_intent_out_dt instead of gfc_conv_procedure_call

2017-04-29 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80563 Bug ID: 80563 Summary: [cleanup] handle allocatable DT intent(out) arguments in init_intent_out_dt instead of gfc_conv_procedure_call Product: gcc Version: 8.0

[Bug libstdc++/80564] New: bind on SFINAE unfriendly generic lambda

2017-04-29 Thread colu...@gmx-topmail.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80564 Bug ID: 80564 Summary: bind on SFINAE unfriendly generic lambda Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++

[Bug target/80556] [8 Regression] bootstrap failure for Ada compiler

2017-04-29 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80556 --- Comment #3 from Dominique d'Humieres --- > Other native platforms seem fine, so please post a backtrace. The best I can do without further directives: [Book15] ada/rts% lldb /opt/gcc/build_a/gcc/gnat1 (lldb) run -O2 g-exptty.adb Process 958

[Bug tree-optimization/80487] redundant memset/strncpy calls not eliminated

2017-04-29 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80487 --- Comment #3 from Marc Glisse --- Author: glisse Date: Sat Apr 29 14:39:25 2017 New Revision: 247408 URL: https://gcc.gnu.org/viewcvs?rev=247408&root=gcc&view=rev Log: Add st[pr]ncpy to stmt_kills_ref_p 2017-04-29 Marc Glisse PR t

[Bug tree-optimization/80487] redundant memset/strncpy calls not eliminated

2017-04-29 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80487 Marc Glisse changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug rtl-optimization/80491] [6/7/8 Regression] Compiler regression for long-add case.

2017-04-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80491 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Sat Apr 29 16:17:13 2017 New Revision: 247409 URL: https://gcc.gnu.org/viewcvs?rev=247409&root=gcc&view=rev Log: PR rtl-optimization/80491 * alias.c (memory_modified_in_in

[Bug bootstrap/80565] New: ICE at -O2 and -O3 in 32-bit mode (not 64-bit) on x86_64-linux-gnu (in edge_badness, at ipa-inline.c:1028)

2017-04-29 Thread chengniansun at gmail dot com
COLLECT_LTO_WRAPPER=/usr/local/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/8.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-source-trunk/configure --enable-languages=c,c++,lto --prefix=/usr/local/gcc-trunk --disable-bootstrap Thread model: posix gcc version 8.0.0 20170429 (experimental

[Bug rtl-optimization/80491] [6/7/8 Regression] Compiler regression for long-add case.

2017-04-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80491 --- Comment #10 from Jakub Jelinek --- Author: jakub Date: Sat Apr 29 16:18:11 2017 New Revision: 247410 URL: https://gcc.gnu.org/viewcvs?rev=247410&root=gcc&view=rev Log: PR rtl-optimization/80491 * ifcvt.c (noce_process_if_bloc

[Bug target/80566] New: no use of avx vmovups on ymm registry in set and copy

2017-04-29 Thread vincenzo.innocente at cern dot ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80566 Bug ID: 80566 Summary: no use of avx vmovups on ymm registry in set and copy Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug target/80556] [8 Regression] bootstrap failure for Ada compiler

2017-04-29 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80556 Eric Botcazou changed: What|Removed |Added Status|WAITING |NEW CC|

[Bug c++/80567] New: bogus fixit hint for undeclared memset: else

2017-04-29 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80567 Bug ID: 80567 Summary: bogus fixit hint for undeclared memset: else Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/80560] warn on undefined memory operations involving non-trivial types

2017-04-29 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80560 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #2 from Martin Sebor -

[Bug target/80568] New: x86 -mavx256-split-unaligned-load (and store) is affecting AVX2 code, but probably shouldn't be.

2017-04-29 Thread peter at cordes dot ca
u %ymm0, (%rdi) g++ (GCC-Explorer-Build) 8.0.0 20170429 (experimental) -O3 -mavx2 vmovdqu (%rdi), %xmm1 vinserti128 $0x1, 16(%rdi), %ymm1, %ymm1 vpshufb %ymm0, %ymm1, %ymm0 vmovups %xmm0, (%rdi) vextracti128$0x1, %ymm0, 16(%rdi)

[Bug target/79964] Cortex A53 codegen still not optimal

2017-04-29 Thread tulipawn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79964 --- Comment #2 from PeteVine --- I can confirm the first part of the issue gets fixed with this patch: https://gcc.gnu.org/ml/gcc-patches/2017-04/msg01415.html but there's a regression in gcc8 concerning the second part. (or rather the workarou

[Bug target/80569] New: i686: "shrx" instruction generated in 16-bit mode

2017-04-29 Thread davmac at davmac dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80569 Bug ID: 80569 Summary: i686: "shrx" instruction generated in 16-bit mode Product: gcc Version: 6.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/80569] i686: "shrx" instruction generated in 16-bit mode

2017-04-29 Thread davmac at davmac dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80569 --- Comment #1 from Davin McCall --- (Prevents building Qemu).

[Bug bootstrap/80565] [8 Regression] ICE at -O2 and -O3 in 32-bit mode (not 64-bit) on x86_64-linux-gnu (in edge_badness, at ipa-inline.c:1028)

2017-04-29 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80565 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|

[Bug target/80570] New: auto-vectorizing int->double conversion should use half-width memory operands to avoid shuffles, instead of load+extract

2017-04-29 Thread peter at cordes dot ca
i++) { double tmp = ip[i]; dp[i] = tmp; } } https://godbolt.org/g/329C3P gcc.godbolt.org's "gcc7" snapshot: g++ (GCC-Explorer-Build) 8.0.0 20170429 (experimental) gcc -O3 -march=sandybridge cvti32f64_loop: xorl%eax, %eax .L2: vmovdqa (%rsi,