[Bug target/79570] [5/6 Regression] ICE in sel-sched-ir.c:4534 in pr69956.c

2017-02-21 Thread abel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79570 --- Comment #11 from Andrey Belevantsev --- (In reply to Jakub Jelinek from comment #10) > Fixed on the trunk so far. FWIW I stared at the code for some time but couldn't devise anything better than your patch. The hunk itself is somewhat suspi

[Bug tree-optimization/70390] [6 Regression] internal compiler error: in copy_loop_close_phi_args, at graphite-isl-ast-to-gimple.c:2114

2017-02-21 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70390 Arseny Solokha changed: What|Removed |Added CC||asolokha at gmx dot com --- Comment #10

[Bug libstdc++/79511] Convertation issues in std::codecvt_utf8_utf16

2017-02-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79511 Jonathan Wakely changed: What|Removed |Added Status|WAITING |NEW --- Comment #10 from Jonathan Wake

[Bug c++/79668] New: [c++1z] inconsistent handling of parameter matching in template template arguments

2017-02-21 Thread richard-gccbugzilla at metafoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79668 Bug ID: 79668 Summary: [c++1z] inconsistent handling of parameter matching in template template arguments Product: gcc Version: 7.0.1 Status: UNCONFIRMED Severi

[Bug c/79667] New: spurious -Wunused-variable on a local array of struct declared unused

2017-02-21 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79667 Bug ID: 79667 Summary: spurious -Wunused-variable on a local array of struct declared unused Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/79666] [7 Regression] wrong code (SIGFPE) at -O2 on x86_64-linux-gnu (in both 32-bit and 64-bit modes)

2017-02-21 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79666 --- Comment #2 from Marek Polacek --- Although gcc says x.c: In function ‘fn1’: x.c:16:32: warning: ‘~’ on a boolean expression [-Wbool-operation] d = ~((h ^ b.a) & 132 & (~(f && g) | (d && 1))); ^ x.c:16:32

[Bug tree-optimization/79666] [7 Regression] wrong code (SIGFPE) at -O2 on x86_64-linux-gnu (in both 32-bit and 64-bit modes)

2017-02-21 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79666 Marek Polacek changed: What|Removed |Added Keywords||wrong-code Status|UNCONFIRME

[Bug tree-optimization/79666] New: wrong code (SIGFPE) at -O2 on x86_64-linux-gnu (in both 32-bit and 64-bit modes)

2017-02-21 Thread su at cs dot ucdavis.edu
COLLECT_LTO_WRAPPER=/usr/local/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/7.0.1/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 7.0.1 20170221 (experimental

[Bug target/79544] vec_sra (unsigned long long,foo) generating vsrd instead of vsrad

2017-02-21 Thread pthaugen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79544 Pat Haugen changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/79665] gcc's signed (x*x)/200 is slower than clang's

2017-02-21 Thread jistone at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79665 --- Comment #3 from Josh Stone --- I'm using just -O3, and then I compared effects with and without -fwrapv to figure out what's going on. Clang is only faster without -fwrapv. With -march=native on my Sandy Bridge, a few instructions are place

[Bug middle-end/79665] gcc's signed (x*x)/200 is slower than clang's

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

[Bug middle-end/79665] gcc's signed (x*x)/200 is slower than clang's

2017-02-21 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79665 Andrew Pinski changed: What|Removed |Added Component|c |middle-end --- Comment #1 from Andrew Pi

[Bug target/69880] Linking Windows resource + implicit 'default-manifest.o' creates bad .exe

2017-02-21 Thread vsz.bugzilla at emailuser dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69880 vsz.bugzilla at emailuser dot net changed: What|Removed |Added Status|RESOLVED|ASSIGNED Reso

[Bug c/79665] New: gcc's signed (x*x)/200 is slower than clang's

2017-02-21 Thread jistone at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79665 Bug ID: 79665 Summary: gcc's signed (x*x)/200 is slower than clang's Product: gcc Version: 7.0 URL: https://github.com/rust-lang/rust/issues/39446#issueco mment-280798

[Bug target/69880] Linking Windows resource + implicit 'default-manifest.o' creates bad .exe

2017-02-21 Thread eduard.braun2 at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69880 --- Comment #15 from Eduard Braun --- > Setting status to resolved/fixed. I don't think this is merged yet! There's only a patch MINGW-packages, if this works out it should be fixed upstream!

[Bug c++/79664] New: ICE with #pragma omp parallel in constexpr function

2017-02-21 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79664 Bug ID: 79664 Summary: ICE with #pragma omp parallel in constexpr function Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug middle-end/79647] bogus warning when building openssl

2017-02-21 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79647 --- Comment #6 from Martin Sebor --- I'm not entirely sure. But the trouble with the test case is that it converts between signed and unsigned integers with different sizes. The async_jobs variable's type is int but memset takes size_t (which i

[Bug c++/79535] [6/7 Regression] ICE in verify_ctor_sanity, at cp/constexpr.c:2636

2017-02-21 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79535 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/41727] partial specialization of member template of instantiation doesn't work

2017-02-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41727 Jason Merrill changed: What|Removed |Added Keywords|ice-on-valid-code |rejects-valid Status|ASSIGNE

[Bug c++/17729] [5/6/7 Regression] Duplicate __attribute__((deprecated)) warning

2017-02-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17729 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC|

[Bug c++/50308] __attribute__((deprecated)) incorrectly generates warning in ADL lookup

2017-02-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50308 Bug 50308 depends on bug 17729, which changed state. Bug 17729 Summary: [5/6/7 Regression] Duplicate __attribute__((deprecated)) warning https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17729 What|Removed |Added --

[Bug c++/41727] [7 Regression] inner template specialization on non-type arg template causes ICE

2017-02-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41727 --- Comment #4 from Jason Merrill --- Author: jason Date: Tue Feb 21 20:50:57 2017 New Revision: 245642 URL: https://gcc.gnu.org/viewcvs?rev=245642&root=gcc&view=rev Log: PR c++/41727 - ICE with partial spec of partial instantiation

[Bug c++/50308] __attribute__((deprecated)) incorrectly generates warning in ADL lookup

2017-02-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50308 --- Comment #5 from Jason Merrill --- Author: jason Date: Tue Feb 21 20:51:03 2017 New Revision: 245643 URL: https://gcc.gnu.org/viewcvs?rev=245643&root=gcc&view=rev Log: PR c++/50308 - wrong deprecated warning with ADL PR c++/1

[Bug c++/50308] __attribute__((deprecated)) incorrectly generates warning in ADL lookup

2017-02-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50308 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/17729] [5/6/7 Regression] Duplicate __attribute__((deprecated)) warning

2017-02-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17729 --- Comment #38 from Jason Merrill --- Author: jason Date: Tue Feb 21 20:51:03 2017 New Revision: 245643 URL: https://gcc.gnu.org/viewcvs?rev=245643&root=gcc&view=rev Log: PR c++/50308 - wrong deprecated warning with ADL PR c++/

[Bug libstdc++/79511] Convertation issues in std::codecvt_utf8_utf16

2017-02-21 Thread mikhail at pilin dot name
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79511 --- Comment #9 from ww898 --- #include #include #include #include int main() { static char const src[] = "\xE2\x82\xAC"; std::wstring_convert> conv; auto const dst = conv.from_bytes(src); std::cout << std::hex << std::setw(4)

[Bug c++/79535] [6/7 Regression] ICE in verify_ctor_sanity, at cp/constexpr.c:2636

2017-02-21 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79535 --- Comment #4 from Marek Polacek --- Author: mpolacek Date: Tue Feb 21 20:23:09 2017 New Revision: 245641 URL: https://gcc.gnu.org/viewcvs?rev=245641&root=gcc&view=rev Log: PR c++/79535 * cp-tree.h (maybe_reject_flexarray_init):

[Bug target/69880] Linking Windows resource + implicit 'default-manifest.o' creates bad .exe

2017-02-21 Thread vsz.bugzilla at emailuser dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69880 vsz.bugzilla at emailuser dot net changed: What|Removed |Added Status|ASSIGNED|RESOLVED Reso

[Bug rtl-optimization/79593] [6/7 Regression] Poor/Worse code generation for FPU on versions after 6

2017-02-21 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79593 Uroš Bizjak changed: What|Removed |Added Keywords|missed-optimization |ra Status|WAITING

[Bug rtl-optimization/79286] [7 Regression] ira and lra wrong code at -O2 and -Os on i686-linux

2017-02-21 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79286 Dominique d'Humieres changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug target/69880] Linking Windows resource + implicit 'default-manifest.o' creates bad .exe

2017-02-21 Thread vsz.bugzilla at emailuser dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69880 --- Comment #13 from vsz.bugzilla at emailuser dot net --- Repeating the minimal tests with MSYS2 `mingw-w64-{i686,x86_64}-binutils-2.27-4-any` (the build that includes the proposed patch), it seems the problem is now fixed for both 32-bit and 64-

[Bug tree-optimization/79621] Missed path isolation opportunity

2017-02-21 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79621 Jeffrey A. Law changed: What|Removed |Added Keywords|ice-on-valid-code |missed-optimization Summary|

[Bug target/69880] Linking Windows resource + implicit 'default-manifest.o' creates bad .exe

2017-02-21 Thread mati865 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69880 mati865 at gmail dot com changed: What|Removed |Added CC||mati865 at gmail dot com --- C

[Bug fortran/71838] ICE with OpenCoarrays on submodule

2017-02-21 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71838 --- Comment #11 from Dominique d'Humieres --- Even further reduced test module cgca_m3clvg interface subroutine cgca_clvgs_abstract() end subroutine cgca_clvgs_abstract module subroutine cgca_clvgp(sub) procedure( cgca_clvgs_

[Bug target/79593] [6/7 Regression] Poor/Worse code generation for FPU on versions after 6

2017-02-21 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79593 --- Comment #14 from uros at gcc dot gnu.org --- Author: uros Date: Tue Feb 21 18:29:57 2017 New Revision: 245640 URL: https://gcc.gnu.org/viewcvs?rev=245640&root=gcc&view=rev Log: PR target/79593 * config/i386/i386.md (standard_x

[Bug fortran/71838] ICE with OpenCoarrays on submodule

2017-02-21 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71838 --- Comment #10 from Dominique d'Humieres --- Further reduced test module cgca_m3clvg abstract interface subroutine cgca_clvgs_abstract() end subroutine cgca_clvgs_abstract end interface interface module subroutine cgca_clvgp(sub) pr

[Bug c++/79654] [7 Regression] ICE on invalid c++ code in register_dtor_fn in cp/decl.c:7877

2017-02-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79654 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug sanitizer/79589] ICE in gimplify_compound_expr (gimplify.c:5712) with -fsanitize=undefined

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

[Bug c++/79655] [5/6 Regression] ICE on invalid c++ code in cxx_eval_store_expression in cp/constexpr.c:3464

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

[Bug c++/79654] [7 Regression] ICE on invalid c++ code in register_dtor_fn in cp/decl.c:7877

2017-02-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79654 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Tue Feb 21 18:00:35 2017 New Revision: 245639 URL: https://gcc.gnu.org/viewcvs?rev=245639&root=gcc&view=rev Log: PR c++/79654 * decl.c (cp_finish_decomp): Don't set decl's

[Bug sanitizer/79589] ICE in gimplify_compound_expr (gimplify.c:5712) with -fsanitize=undefined

2017-02-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79589 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Tue Feb 21 17:59:07 2017 New Revision: 245638 URL: https://gcc.gnu.org/viewcvs?rev=245638&root=gcc&view=rev Log: PR sanitizer/79589 * decl.c: Include gimplify.h. (

[Bug tree-optimization/79621] [7 Regression] ICE in operator[], at vec.h:732

2017-02-21 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79621 --- Comment #4 from Jeffrey A. Law --- Author: law Date: Tue Feb 21 17:58:00 2017 New Revision: 245637 URL: https://gcc.gnu.org/viewcvs?rev=245637&root=gcc&view=rev Log: PR tree-optimization/79621 * gimple-ssa-isolate-paths.c (fi

[Bug c++/79655] [5/6/7 Regression] ICE on invalid c++ code in cxx_eval_store_expression in cp/constexpr.c:3464

2017-02-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79655 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Tue Feb 21 17:57:23 2017 New Revision: 245636 URL: https://gcc.gnu.org/viewcvs?rev=245636&root=gcc&view=rev Log: PR c++/79655 * constexpr.c (cxx_eval_array_reference): Dia

[Bug c++/79639] [6 Regression] ICE with -O and constexpr

2017-02-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79639 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Summ

[Bug target/79633] [5/6 Regression] ICE in gimple_call_arg, at gimple.h:3163

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

[Bug c++/79639] [6/7 Regression] ICE with -O and constexpr

2017-02-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79639 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Tue Feb 21 17:48:57 2017 New Revision: 245635 URL: https://gcc.gnu.org/viewcvs?rev=245635&root=gcc&view=rev Log: PR c++/79639 * constexpr.c (cxx_eval_store_expression): If

[Bug target/79633] [5/6/7 Regression] ICE in gimple_call_arg, at gimple.h:3163

2017-02-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79633 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Tue Feb 21 17:46:42 2017 New Revision: 245634 URL: https://gcc.gnu.org/viewcvs?rev=245634&root=gcc&view=rev Log: PR target/79633 * tree-chkp-opt.c (chkp_optimize_string_fu

[Bug c++/50308] __attribute__((deprecated)) incorrectly generates warning in ADL lookup

2017-02-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50308 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug libstdc++/79511] Convertation issues in std::codecvt_utf8_utf16

2017-02-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79511 Jonathan Wakely changed: What|Removed |Added Status|NEW |WAITING --- Comment #8 from Jonathan W

[Bug c++/79639] [6/7 Regression] ICE with -O and constexpr

2017-02-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79639 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|jason at gcc dot

[Bug target/79570] [5/6 Regression] ICE in sel-sched-ir.c:4534 in pr69956.c

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

[Bug c++/79641] [5/6 Regression] ICE with const variable and attribute

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

[Bug tree-optimization/79649] Memset pattern in named address space crashes compiler or generates wrong code

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

[Bug target/79570] [5/6/7 Regression] ICE in sel-sched-ir.c:4534 in pr69956.c

2017-02-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79570 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Tue Feb 21 16:56:11 2017 New Revision: 245633 URL: https://gcc.gnu.org/viewcvs?rev=245633&root=gcc&view=rev Log: PR target/79570 * sel-sched.c (moveup_expr_cached): Don't

[Bug c++/79641] [5/6/7 Regression] ICE with const variable and attribute

2017-02-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79641 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Tue Feb 21 16:55:00 2017 New Revision: 245632 URL: https://gcc.gnu.org/viewcvs?rev=245632&root=gcc&view=rev Log: PR c++/79641 * c-attribs.c (handle_mode_attribute): Use bu

[Bug tree-optimization/79663] r244815 causes 10% regression for spec1k/172.mgrid on AArch64

2017-02-21 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79663 --- Comment #2 from amker at gcc dot gnu.org --- Unfortunately, 2) is not appropriate, in non-ZERO chain case, the root combined statement is used to setup next iterations combined result, it's not for CSE-use in this iteration. Manually insert r

[Bug c++/79639] [6/7 Regression] ICE with -O and constexpr

2017-02-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79639 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/79661] [7 Regression] [C++17] Bogus "destructor is private within this context" only in C++17 mode

2017-02-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79661 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/78139] [7 regression][c++1z] inaccessible destructor required in new expression

2017-02-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78139 Jason Merrill changed: What|Removed |Added CC||sbergman at redhat dot com --- Comment #

[Bug tree-optimization/79649] Memset pattern in named address space crashes compiler or generates wrong code

2017-02-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79649 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Tue Feb 21 16:29:37 2017 New Revision: 245631 URL: https://gcc.gnu.org/viewcvs?rev=245631&root=gcc&view=rev Log: PR tree-optimization/79649 * tree-loop-distribution.c (cla

[Bug tree-optimization/79663] r244815 causes 10% regression for spec1k/172.mgrid on AArch64

2017-02-21 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79663 amker at gcc dot gnu.org changed: What|Removed |Added Target||aarch64 Priority|P3

[Bug tree-optimization/79663] r244815 causes 10% regression for spec1k/172.mgrid on AArch64

2017-02-21 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79663 --- Comment #1 from amker at gcc dot gnu.org --- Root cause understood. After patch, combine_chains looks like: /* Process in reverse order so dominance point is ready when it comes to the root ref. */ for (i = ch1->refs.length (); i >

[Bug target/70465] [5/6 Regression] Poor code for x87 asm

2017-02-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70465 --- Comment #20 from Jakub Jelinek --- (In reply to Uroš Bizjak from comment #19) > (In reply to Jakub Jelinek from comment #18) > > Created attachment 40808 [details] > > gcc7-pr70465-2.patch > > > > Now actually working patch for this testcase

[Bug tree-optimization/79663] New: r244815 causes 10% regression for spec1k/172.mgrid on AArch64

2017-02-21 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79663 Bug ID: 79663 Summary: r244815 causes 10% regression for spec1k/172.mgrid on AArch64 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Pr

[Bug tree-optimization/68644] [6/7 Regression] FAIL: gcc.dg/tree-ssa/ivopts-lt-2.c scan-tree-dump-times ivopts "PHI

2017-02-21 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68644 --- Comment #16 from Bill Schmidt --- OK, thanks, that helps. We'll evaluate the cost model here and figure out what's best.

[Bug target/70465] [5/6 Regression] Poor code for x87 asm

2017-02-21 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70465 --- Comment #19 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #18) > Created attachment 40808 [details] > gcc7-pr70465-2.patch > > Now actually working patch for this testcase. +/* { dg-do compile { target ia32 } } */ +/* { dg-op

[Bug c++/41727] [7 Regression] inner template specialization on non-type arg template causes ICE

2017-02-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41727 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug target/79494] [5/6 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2330

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

[Bug target/79593] [6/7 Regression] Poor/Worse code generation for FPU on versions after 6

2017-02-21 Thread katsunori.kumatani at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79593 --- Comment #13 from Katsunori Kumatani --- Ah sorry! I skimmed through that as I thought it was talking about the patch's fld (that it improved). Thanks, it's good to know the cause at least :) I hope it makes it easier to improve if needed to

[Bug c++/79658] [-Wuninitialized] referencing uninitialized field of POD struct should warn

2017-02-21 Thread palves at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79658 --- Comment #6 from Pedro Alves --- Created attachment 40807 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40807&action=edit reproducer v3 Slightly reduced testcase. enum_flags no longer a template, and stores/uses/converts to int instea

[Bug target/70465] [5/6 Regression] Poor code for x87 asm

2017-02-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70465 --- Comment #18 from Jakub Jelinek --- Created attachment 40808 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40808&action=edit gcc7-pr70465-2.patch Now actually working patch for this testcase.

[Bug middle-end/79647] bogus warning when building openssl

2017-02-21 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79647 --- Comment #5 from Bernd Edlinger --- When I tried to limit the memory allocation to reasonable size, I triggered the warning again, with this modified check: @@ -1393,6 +1393,12 @@ int speed_main(int argc, char **argv)

[Bug target/70465] [5/6 Regression] Poor code for x87 asm

2017-02-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70465 --- Comment #17 from Jakub Jelinek --- So: --- gcc/reg-stack.c.jj 2017-01-26 09:46:03.0 +0100 +++ gcc/reg-stack.c 2017-02-21 16:10:28.969463832 +0100 @@ -897,10 +897,13 @@ emit_swap_insn (rtx_insn *insn, stack_pt fld a

[Bug fortran/79602] translation: globally replace '%s' with %qs

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

[Bug target/70465] [5/6 Regression] Poor code for x87 asm

2017-02-21 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70465 Uroš Bizjak changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug c/79662] ICE on invalid code in convert_arguments in c/c-typeck.c:3452

2017-02-21 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79662 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c/79662] New: ICE on invalid code in convert_arguments in c/c-typeck.c:3452

2017-02-21 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79662 Bug ID: 79662 Summary: ICE on invalid code in convert_arguments in c/c-typeck.c:3452 Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: diagnostic, ice-on-

[Bug c++/79658] [-Wuninitialized] referencing uninitialized field of POD struct should warn

2017-02-21 Thread palves at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79658 --- Comment #5 from Pedro Alves --- Created attachment 40806 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40806&action=edit reproducer v2 Same code as the previous comment.

[Bug c++/79661] [7 Regression] [C++17] Bogus "destructor is private within this context" only in C++17 mode

2017-02-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79661 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid Status|UNCON

[Bug c++/79658] [-Wuninitialized] referencing uninitialized field of POD struct should warn

2017-02-21 Thread palves at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79658 --- Comment #4 from Pedro Alves --- Here's a better one: template struct enum_flags { enum_flags &operator|= (E e) { m_enum_value = (E) (m_enum_value | e); return *this; } operat

[Bug target/79494] [5/6/7 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2330

2017-02-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79494 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Tue Feb 21 14:39:21 2017 New Revision: 245629 URL: https://gcc.gnu.org/viewcvs?rev=245629&root=gcc&view=rev Log: PR target/79494 * config/i386/i386.c (ix86_expand_split_st

[Bug tree-optimization/68644] [6/7 Regression] FAIL: gcc.dg/tree-ssa/ivopts-lt-2.c scan-tree-dump-times ivopts "PHI

2017-02-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68644 --- Comment #15 from Richard Biener --- For PA it selects i as IV (reasonable). For power it looks like it tries to use sth with auto-inc (pre-inc). Not sure if that's reasonable cost-wise. You decide (and then skip, like for PA, if so).

[Bug c++/79654] [7 Regression] ICE on invalid c++ code in register_dtor_fn in cp/decl.c:7877

2017-02-21 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79654 --- Comment #5 from Paolo Carlini --- Agreed. I can send both to mailing list later today, if you don't beat me to it (I'm going out now to run some errands)

[Bug fortran/71838] ICE with OpenCoarrays on submodule

2017-02-21 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71838 --- Comment #9 from Dominique d'Humieres --- Reduced test module cgca_m3clvg abstract interface subroutine cgca_clvgs_abstract( farr, marr, n, cstate, debug, & newstate ) integer, parameter :: iarr =

[Bug c++/79639] [6/7 Regression] ICE with -O and constexpr

2017-02-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79639 --- Comment #2 from Jakub Jelinek --- Created attachment 40805 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40805&action=edit gcc7-pr79639.patch Untested fix. Not really sure about it though.

[Bug c++/79654] [7 Regression] ICE on invalid c++ code in register_dtor_fn in cp/decl.c:7877

2017-02-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79654 --- Comment #4 from Jakub Jelinek --- Yeah, I'd prefer both patches (of course just a single testcase). For the decomp, there is really nothing wrong with the artificial var's type, and there could be other places lurking which are upset about e

[Bug tree-optimization/68644] [6/7 Regression] FAIL: gcc.dg/tree-ssa/ivopts-lt-2.c scan-tree-dump-times ivopts "PHI

2017-02-21 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68644 --- Comment #14 from Bill Schmidt --- Also, there's an introduced ivtmp, rather than using p as an ivar.

[Bug c++/79654] [7 Regression] ICE on invalid c++ code in register_dtor_fn in cp/decl.c:7877

2017-02-21 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79654 --- Comment #3 from Paolo Carlini --- Created attachment 40804 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40804&action=edit Alternate patch Hi Jakub. I'm attaching what I was about to send... Maybe makes sense to tighten prune_vars_ne

[Bug tree-optimization/68644] [6/7 Regression] FAIL: gcc.dg/tree-ssa/ivopts-lt-2.c scan-tree-dump-times ivopts "PHI

2017-02-21 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68644 --- Comment #13 from Bill Schmidt --- So for POWER, at least, the IV for i is not eliminated.

[Bug c++/79658] [-Wuninitialized] referencing uninitialized field of POD struct should warn

2017-02-21 Thread palves at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79658 --- Comment #3 from Pedro Alves --- > For your testcase foo () is quickly optimized to nothing given ef is unused. Shouldn't that be true for "bar ()" too then? Looks like I over reduced. I'll try again.

[Bug rtl-optimization/79660] [7 regression] Arm register allocation failure with thumb1 building libgcc

2017-02-21 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79660 --- Comment #5 from Christophe Lyon --- OK, thanks, I'm going to cancel my validations with your "proposed fix", then.

[Bug lto/79579] [5/6/7 Regression] ICE in ipa_write_node_info (ipa-prop.c:4931)

2017-02-21 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79579 --- Comment #2 from Martin Jambor --- Author: jamborm Date: Tue Feb 21 14:01:52 2017 New Revision: 245628 URL: https://gcc.gnu.org/viewcvs?rev=245628&root=gcc&view=rev Log: [PR 79579] Avoid segfault on NULL ipa_edge_args_vector 2017-02-21 Mart

[Bug fortran/71838] ICE with OpenCoarrays on submodule

2017-02-21 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71838 Dominique d'Humieres changed: What|Removed |Added Status|WAITING |NEW --- Comment #8 from Dominique

[Bug c++/79658] [-Wuninitialized] referencing uninitialized field of POD struct should warn

2017-02-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79658 --- Comment #2 from Richard Biener --- For your testcase foo () is quickly optimized to nothing given ef is unused. For -O0 we only warn before inlining.

[Bug tree-optimization/79345] [6/7 Regression] passing yet-uninitialized member as argument to base class constructor should warn (-Wunitialized)

2017-02-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79345 --- Comment #10 from Richard Biener --- https://gcc.gnu.org/ml/gcc-patches/2017-02/msg01284.html

[Bug rtl-optimization/79660] [7 regression] Arm register allocation failure with thumb1 building libgcc

2017-02-21 Thread mpf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79660 mpf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/78660] [7 Regression] 7.0 bootstrap fail on mips64el-unknow-linux: configure-stage2-target-libgcc' failed

2017-02-21 Thread mpf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78660 --- Comment #19 from mpf at gcc dot gnu.org --- Author: mpf Date: Tue Feb 21 13:29:07 2017 New Revision: 245626 URL: https://gcc.gnu.org/viewcvs?rev=245626&root=gcc&view=rev Log: Revert r245598 gcc/ PR target/78660 Revert:

[Bug c++/79627] Ice with type of VLA in lambda

2017-02-21 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79627 --- Comment #2 from Andrew Pinski --- *** Bug 79656 has been marked as a duplicate of this bug. ***

[Bug c++/79656] Ice with type of VLA in lambda

2017-02-21 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79656 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/79655] [5/6/7 Regression] ICE on invalid c++ code in cxx_eval_store_expression in cp/constexpr.c:3464

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

  1   2   >