[Bug bootstrap/101372] New: [12 Regression] Bootstrap failure compiling gcc/cp/module.cc

2021-07-07 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101372 Bug ID: 101372 Summary: [12 Regression] Bootstrap failure compiling gcc/cp/module.cc Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/101371] New: constexpr expansions trigger internal Compiler Error

2021-07-07 Thread warren_graeme at yahoo dot co.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101371 Bug ID: 101371 Summary: constexpr expansions trigger internal Compiler Error Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Com

[Bug tree-optimization/98176] Loop invariant memory could not be hoisted when nonpure_call in loop body

2021-07-07 Thread wwwhhhyyy333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98176 --- Comment #9 from Hongyu Wang --- (In reply to Richard Biener from comment #8) > I'm failing to reproduce with the sincos example since sincos is transformed > to __builtin_cexpi for me. When using I always generate sincosf with g++ -Ofast -

[Bug target/100809] PPC: __int128 divide/modulo does not use P10 instructions vdivsq/vdivuq

2021-07-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100809 --- Comment #6 from CVS Commits --- The master branch has been updated by Michael Meissner : https://gcc.gnu.org/g:852b11da11a181df517c0348df044354ff0656d6 commit r12-2135-g852b11da11a181df517c0348df044354ff0656d6 Author: Michael Meissner Dat

[Bug c++/101370] miscompile of self-referential constexpr or constinit array initializer

2021-07-07 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101370 Marek Polacek changed: What|Removed |Added Last reconfirmed||2021-07-08 Status|UNCONFIRM

[Bug c++/101232] Bad error message with stray semicolon in initializer

2021-07-07 Thread tobi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101232 --- Comment #1 from Tobias Schlüter --- BTW an equivalent C example gives the proper error both with C and C++ https://godbolt.org/z/sWc67eWT8 = struct X { int a; int b; }; void f() { struct X x = { 1, 2; }; } ==

[Bug c++/101370] New: miscompile of self-referential constexpr or constinit array initializer

2021-07-07 Thread richard-gccbugzilla at metafoo dot co.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101370 Bug ID: 101370 Summary: miscompile of self-referential constexpr or constinit array initializer Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/100109] [9/10/11 Regression] ICE: unexpected expression 'E' of kind template_parm_index

2021-07-07 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100109 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/100909] [12 Regression] powerpc64le: Regression causing unexpected error with IBM long double

2021-07-07 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100909 --- Comment #3 from Peter Bergner --- (In reply to Martin Liška from comment #2) > Mine, I've got a patch for it. Hi Martin, any status on how your patch worked out?

[Bug c++/101087] [9/10/11/12 Regression] Unevaluated operand of sizeof affects noexcept operator

2021-07-07 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101087 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org A

[Bug tree-optimization/77980] missing optimization with division

2021-07-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77980 --- Comment #7 from Andrew Pinski --- (In reply to Andrew Pinski from comment #6) > >The only time _3 is nonzero 0 is _2 == 1 but we already know _2 can't be 2. > Should be: > The only time _3 is nonzero 0 is _2 == 1 but we already know _2 can't

[Bug c++/101181] [11/12 Regression] ICE when using an alias template

2021-07-07 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101181 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug tree-optimization/77980] missing optimization with division

2021-07-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77980 --- Comment #6 from Andrew Pinski --- >The only time _3 is nonzero 0 is _2 == 1 but we already know _2 can't be 2. Should be: The only time _3 is nonzero 0 is _2 == 1 but we already know _2 can't be 1 as "NONZERO 4294967294" (which is 0xfffe)

[Bug tree-optimization/77980] missing optimization with division

2021-07-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77980 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement --- Comment #5 from Andrew P

[Bug tree-optimization/77980] missing optimization with division

2021-07-07 Thread vitong at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77980 Victor Tong changed: What|Removed |Added CC||vitong at microsoft dot com --- Comment #4

[Bug bootstrap/101369] Bootstrap failure of gcc-12-20210704 on Cygwin

2021-07-07 Thread mckelvey at maskull dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101369 James McKelvey changed: What|Removed |Added CC||mckelvey at maskull dot com --- Commen

[Bug bootstrap/101369] Bootstrap failure of gcc-12-20210704 on Cygwin

2021-07-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101369 --- Comment #1 from Andrew Pinski --- What binutils (as/ld) you are using? Have you tried a newer version of binutils? This could be a binutils bug.

[Bug bootstrap/101369] New: Bootstrap failure of gcc-12-20210704 on Cygwin

2021-07-07 Thread mckelvey at maskull dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101369 Bug ID: 101369 Summary: Bootstrap failure of gcc-12-20210704 on Cygwin Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: b

[Bug c++/101040] [11/12 Regression] Internal compiler error: in get_or_insert_ctor_field, at cp/constexpr.c:3571 since r11-7980-gc3d3bb0f03dbd025

2021-07-07 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101040 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/101072] [12 Regression] ICE in build_target_expr_with_type, at cp/tree.c:845 since r11-5681-gd9288bd28e24c755

2021-07-07 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101072 Jason Merrill changed: What|Removed |Added Summary|[11/12 Regression] ICE in |[12 Regression] ICE in

[Bug c++/101072] [11/12 Regression] ICE in build_target_expr_with_type, at cp/tree.c:845 since r11-5681-gd9288bd28e24c755

2021-07-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101072 --- Comment #2 from CVS Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:79663c962588e8c033ff39be39e938e2cc866e12 commit r11-8705-g79663c962588e8c033ff39be39e938e2cc866e12 Author: Jason Merrill

[Bug c/101358] Warn when saving a pointer to an object with temporary lifetime

2021-07-07 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101358 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Blocks|

[Bug c/101364] [12 Regression] ICE: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in c_type_promotes_to, at c/c-typeck.c:278

2021-07-07 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101364 Martin Sebor changed: What|Removed |Added Last reconfirmed||2021-07-07 Ever confirmed|0

[Bug c++/101072] [11/12 Regression] ICE in build_target_expr_with_type, at cp/tree.c:845 since r11-5681-gd9288bd28e24c755

2021-07-07 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101072 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug c++/101040] [11/12 Regression] Internal compiler error: in get_or_insert_ctor_field, at cp/constexpr.c:3571 since r11-7980-gc3d3bb0f03dbd025

2021-07-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101040 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:38fed4dfa25ac4894546f0589340ebfc5eef3bee commit r11-8704-g38fed4dfa25ac4894546f0589340ebfc5eef3bee Author: Jason Merrill

[Bug c++/97566] [[no_unique_address]] causes miscompiles when mixed with EBO in constexpr context

2021-07-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97566 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:38fed4dfa25ac4894546f0589340ebfc5eef3bee commit r11-8704-g38fed4dfa25ac4894546f0589340ebfc5eef3bee Author: Jason Merrill D

[Bug tree-optimization/88443] [meta-bug] bogus/missing -Wstringop-overflow warnings

2021-07-07 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443 Bug 88443 depends on bug 97027, which changed state. Bug 97027 Summary: missing warning on buffer overflow storing a larger scalar into a smaller array https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97027 What|Removed

[Bug middle-end/97027] missing warning on buffer overflow storing a larger scalar into a smaller array

2021-07-07 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97027 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/100137] [10/11 Regression] -Warray-bounds false positive on varying offset plus negative

2021-07-07 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100137 Martin Sebor changed: What|Removed |Added Known to fail|11.0|11.1.0 Summary|[10/11/12 Regr

[Bug tree-optimization/99121] [9/10/11 Regression] ICE tree check: expected integer_cst, have var_decl in get_len, at tree.h:6037

2021-07-07 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99121 Martin Sebor changed: What|Removed |Added Known to fail|11.0|11.1.0 Summary|[9/10/11/12 Reg

[Bug middle-end/97027] missing warning on buffer overflow storing a larger scalar into a smaller array

2021-07-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97027 --- Comment #4 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:a110855667782dac7b674d3e328b253b3b3c919b commit r12-2132-ga110855667782dac7b674d3e328b253b3b3c919b Author: Martin Sebor Date: Wed

[Bug tree-optimization/99121] [9/10/11/12 Regression] ICE tree check: expected integer_cst, have var_decl in get_len, at tree.h:6037

2021-07-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99121 --- Comment #5 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:a110855667782dac7b674d3e328b253b3b3c919b commit r12-2132-ga110855667782dac7b674d3e328b253b3b3c919b Author: Martin Sebor Date: Wed

[Bug tree-optimization/100137] [10/11/12 Regression] -Warray-bounds false positive on varying offset plus negative

2021-07-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100137 --- Comment #6 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:a110855667782dac7b674d3e328b253b3b3c919b commit r12-2132-ga110855667782dac7b674d3e328b253b3b3c919b Author: Martin Sebor Date: Wed

[Bug target/101366] memset codegen for constant sized does not use SSE instructions

2021-07-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101366 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Target|

[Bug c++/101303] [9/10/11/12 Regression] ICE from modified lambda-generic-100362.C test case from bug 100362

2021-07-07 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101303 Patrick Palka changed: What|Removed |Added Target Milestone|--- |9.5 Summary|ICE from modifie

[Bug c++/101368] -Wlogical-op and string comparison

2021-07-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101368 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug c++/101182] [concepts] ICE with ++ in non-template requires-expression

2021-07-07 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101182 Patrick Palka changed: What|Removed |Added CC||gcc_report_187375@mailfence

[Bug c++/100423] Internal compiler error when evaluating a requires-expression referencing variables from outer scope in a function invocation.

2021-07-07 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100423 Patrick Palka changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/101368] -Wlogical-op and string comparison

2021-07-07 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101368 Marek Polacek changed: What|Removed |Added Keywords||diagnostic Ever confirmed|0

[Bug c++/101368] New: -Wlogical-op and string comparison

2021-07-07 Thread arnaud02 at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101368 Bug ID: 101368 Summary: -Wlogical-op and string comparison Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/101367] [coroutines] destructor for capture in lambda temporary operand to co_yield expression called twice

2021-07-07 Thread noah at vectorized dot io via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101367 --- Comment #1 from Noah Watkins --- In the reproducer there are no errors for: generator f() { co_yield resource{[]{}}; } but `free(): invalid pointer` occurs for: generator f() { std::string s; co_yield resource{[s]{}}; }

[Bug c++/101367] New: [coroutines] destructor for capture in lambda temporary operand to co_yield expression called twice

2021-07-07 Thread noah at vectorized dot io via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101367 Bug ID: 101367 Summary: [coroutines] destructor for capture in lambda temporary operand to co_yield expression called twice Product: gcc Version: 12.0 Status: UNCONFIRME

[Bug target/101363] many ICEs after r12-2089 on aarch64

2021-07-07 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101363 Martin Sebor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/101363] many ICEs after r12-2089 on aarch64

2021-07-07 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101363 --- Comment #8 from Christophe Lyon --- Here are the options I see in gcc.log: -O0 -march=armv8.2-a+bf16

[Bug target/101363] many ICEs after r12-2089 on aarch64

2021-07-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101363 --- Comment #7 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:06357071d0557c4f0e9b0a6dfc4d37f5680e34cc commit r12-2100-g06357071d0557c4f0e9b0a6dfc4d37f5680e34cc Author: Martin Sebor Date: Wed

[Bug target/101363] many ICEs after r12-2089 on aarch64

2021-07-07 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101363 --- Comment #6 from Tamar Christina --- yeah, the ICEs don't make sense to me either, let me see if I can debug one of them.

[Bug target/101363] many ICEs after r12-2089 on aarch64

2021-07-07 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101363 --- Comment #5 from Martin Sebor --- No, you didn't. I missed the one %K in aarch64.c. Let me commit the fix below to fix the bootstrap error. I'm still not sure what the deal is with the tests though. diff --git a/gcc/config/aarch64/aarch64

[Bug target/101363] many ICEs after r12-2089 on aarch64

2021-07-07 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101363 --- Comment #4 from Christophe Lyon --- (In reply to Martin Sebor from comment #2) > I don't see the ICE with my cross-compiler and the stack trace doesn't > correspond to the latest sources (there's no call to error() at > gcc/config/aarch64/aa

[Bug target/101363] many ICEs after r12-2089 on aarch64

2021-07-07 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101363 --- Comment #3 from Tamar Christina --- Bootstrap turns on -Werror so the warning generated in gcc/config/aarch64/aarch64.c at aarch64_simd_lane_bounds for the use of `%K` becomes fatal.

[Bug target/101177] sh3: internal compiler error: Illegal instruction

2021-07-07 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101177 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org --- Comm

[Bug target/101363] many ICEs after r12-2089 on aarch64

2021-07-07 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101363 --- Comment #2 from Martin Sebor --- I don't see the ICE with my cross-compiler and the stack trace doesn't correspond to the latest sources (there's no call to error() at gcc/config/aarch64/aarch64-builtins.c:1588; a call to error_at() that rep

[Bug rtl-optimization/101366] New: x86 memset codegen for constant sized is suboptimal

2021-07-07 Thread kutdanila at yandex dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101366 Bug ID: 101366 Summary: x86 memset codegen for constant sized is suboptimal Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug c/101365] New: [12 Regression] ICE: in fold_convert_loc, at fold-const.c:243

2021-07-07 Thread anbu1024.me at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101365 Bug ID: 101365 Summary: [12 Regression] ICE: in fold_convert_loc, at fold-const.c:243 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/101229] [11 Regression] ICE on valid code with -O3 only: in vect_get_vec_defs_for_operand, at tree-vect-stmts.c:1450

2021-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101229 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/101025] [11 Regression] wrong code at -O3 on x86_64-linux-gnu

2021-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101025 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug c/101364] New: [12 Regression] ICE: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in c_type_promotes_to, at c/c-typeck.c:278

2021-07-07 Thread anbu1024.me at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101364 Bug ID: 101364 Summary: [12 Regression] ICE: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in c_type_promotes_to, at c/c-typeck.c:278 Product: gcc

[Bug tree-optimization/101229] [11 Regression] ICE on valid code with -O3 only: in vect_get_vec_defs_for_operand, at tree-vect-stmts.c:1450

2021-07-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101229 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:bd5391d309efc8533deb04dd0b5a7b8072592c1d commit r11-8700-gbd5391d309efc8533deb04dd0b5a7b8072592c1d Author: Richard Biener

[Bug tree-optimization/101280] [12 Regression] TSVC s231 slower with -Ofast -march=znver1 since r12-1836-g0ad9d88a3d7170b3

2021-07-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101280 --- Comment #8 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:e46ec6e243c704f0858d16af380a7d9c36fc4244 commit r11-8699-ge46ec6e243c704f0858d16af380a7d9c36fc4244 Author: Richard Biener

[Bug tree-optimization/101173] [9/10/11 Regression] wrong code at -O3 on x86_64-linux-gnu

2021-07-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101173 --- Comment #12 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:e46ec6e243c704f0858d16af380a7d9c36fc4244 commit r11-8699-ge46ec6e243c704f0858d16af380a7d9c36fc4244 Author: Richard Biene

[Bug middle-end/101156] [9/10/11 Regression] ICE: ‘verify_gimple’ failed, verify_gimple_in_seq(gimple*)

2021-07-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101156 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:9e1173009150086a927a6f0e001fd04c5cac54cb commit r11-8698-g9e1173009150086a927a6f0e001fd04c5cac54cb Author: Richard Biener

[Bug tree-optimization/100923] [9/10/11 Regression] wrong code at -O2 and above on x86_64-linux-gnu

2021-07-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100923 --- Comment #8 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:2afae9ff16c45747e8e9c2ad477d28ee159fb1f7 commit r11-8697-g2afae9ff16c45747e8e9c2ad477d28ee159fb1f7 Author: Richard Biener

[Bug tree-optimization/101088] [12 Regression] ICE in sm_seq_valid_bb, at tree-ssa-loop-im.c:2383

2021-07-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101088 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:91fc9610464281bb28e3c6529399fdcfb57fa812 commit r11-8696-g91fc9610464281bb28e3c6529399fdcfb57fa812 Author: Richard Biener

[Bug tree-optimization/101025] [11 Regression] wrong code at -O3 on x86_64-linux-gnu

2021-07-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101025 --- Comment #9 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:8a1defec135c51531e7a0fd5085c47fca10cb147 commit r11-8695-g8a1defec135c51531e7a0fd5085c47fca10cb147 Author: Richard Biener

[Bug target/101363] many ICEs after r12-2089 on aarch64

2021-07-07 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101363 Tamar Christina changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/99728] code pessimization when using wrapper classes around SIMD types

2021-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99728 Richard Biener changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #1

[Bug testsuite/101321] gcc.dg/debug/btf/btf-bitfields-3.c fail on arm-eabi

2021-07-07 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101321 --- Comment #7 from Christophe Lyon --- > PS: I let -fno-short-enums remain in the testcase for now. If the patch > fixes the issue while removing -fno-short-enums, the testcase can be updated > to not have -fno-short-enums anymore. I just che

[Bug testsuite/101321] gcc.dg/debug/btf/btf-bitfields-3.c fail on arm-eabi

2021-07-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101321 --- Comment #6 from CVS Commits --- The master branch has been updated by Christophe Lyon : https://gcc.gnu.org/g:e8073c04536214c856a6340fea23d676cd7436af commit r12-2099-ge8073c04536214c856a6340fea23d676cd7436af Author: Christophe Lyon Date:

[Bug target/101325] [12 Regression] arm: Wrong code with MVE vcmpeqq intrinsic since r12-671-gd083fbf72

2021-07-07 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101325 --- Comment #11 from Richard Earnshaw --- (In reply to Christophe Lyon from comment #10) > This was introduced by my change at r12-671 in mve.md: > -;; [vcmpneq_]) > +;; [vcmpneq_, vcmpcsq_, vcmpeqq_, vcmpgeq_, vcmpgtq_, vcmphiq_, vcmpleq_, > vc

[Bug tree-optimization/98176] Loop invariant memory could not be hoisted when nonpure_call in loop body

2021-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98176 Richard Biener changed: What|Removed |Added Last reconfirmed|2020-12-08 00:00:00 |2021-7-7 --- Comment #8 from Richard Bi

[Bug target/101325] [12 Regression] arm: Wrong code with MVE vcmpeqq intrinsic since r12-671-gd083fbf72

2021-07-07 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101325 --- Comment #10 from Christophe Lyon --- This was introduced by my change at r12-671 in mve.md: -;; [vcmpneq_]) +;; [vcmpneq_, vcmpcsq_, vcmpeqq_, vcmpgeq_, vcmpgtq_, vcmphiq_, vcmpleq_, vcmpltq_]) ;; -(define_insn "mve_vcmpneq_" +(define_insn

[Bug tree-optimization/99728] code pessimization when using wrapper classes around SIMD types

2021-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99728 --- Comment #16 from Richard Biener --- This has the situation improved but the aggregate copy and one dependent store are still not moved (so not fixed).

[Bug tree-optimization/66610] Aggregate assignment prevents store-motion

2021-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66610 Richard Biener changed: What|Removed |Added Blocks||99728 --- Comment #4 from Richard Biene

[Bug tree-optimization/47575] store-motion removes global stores from endless loops

2021-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47575 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/34195] missed optimization with store motion (vectorizer)

2021-07-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34195 --- Comment #8 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:005f31a0370cf35e332db9415a0ff538320bcddc commit r12-2098-g005f31a0370cf35e332db9415a0ff538320bcddc Author: Richard Biener Date:

[Bug tree-optimization/99728] code pessimization when using wrapper classes around SIMD types

2021-07-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99728 --- Comment #15 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:9f34b780b0461ec7b2b2defe96e44ab616ea2aa3 commit r12-2097-g9f34b780b0461ec7b2b2defe96e44ab616ea2aa3 Author: Richard Biener Date:

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2021-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 34195, which changed state. Bug 34195 Summary: missed optimization with store motion (vectorizer) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34195 What|Removed |Added -

[Bug tree-optimization/34195] missed optimization with store motion (vectorizer)

2021-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34195 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/101325] [12 Regression] arm: Wrong code with MVE vcmpeqq intrinsic since r12-671-gd083fbf72

2021-07-07 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101325 --- Comment #9 from Richard Earnshaw --- (insn 7 4 8 2 (set (reg:HI 117) (eq:HI (reg:V16QI 119) (reg:V16QI 120))) {mve_vcmpeqq_v16qi} (expr_list:REG_DEAD (reg:V16QI 120) (expr_list:REG_DEAD (reg:V16QI 119)

[Bug tree-optimization/56360] Loop invariant motion by default can introduce speculative store

2021-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56360 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Known to work|

[Bug target/101325] [12 Regression] arm: Wrong code with MVE vcmpeqq intrinsic since r12-671-gd083fbf72

2021-07-07 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101325 --- Comment #8 from Christophe Lyon --- Indeed, it's what happens in try_combine(): i2src = subst (i2src, pc_rtx, pc_rtx, 0, 0, 0); converts i2src (zero_extend:SI (reg:HI 117)) into: (and:SI (subreg:SI (reg:HI 117) 0) (const_int 1 [0x1]))

[Bug target/101325] [12 Regression] arm: Wrong code with MVE vcmpeqq intrinsic since r12-671-gd083fbf72

2021-07-07 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101325 --- Comment #7 from Christophe Lyon --- Before the patch: Trying 8 -> 14: 8: r113:SI=zero_extend(r117:HI) REG_DEAD r117:HI 14: r0:SI=r113:SI REG_DEAD r113:SI Successfully matched this instruction: (set (reg/i:SI 0 r0) (zer

[Bug target/101363] New: many ICEs after r12-2089 on aarch64

2021-07-07 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101363 Bug ID: 101363 Summary: many ICEs after r12-2089 on aarch64 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/101351] ICE on valid code with -O1: in lra_split_hard_reg_for, at lra-assigns.c:1837

2021-07-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101351 Andrew Pinski changed: What|Removed |Added Keywords|ice-on-valid-code |ice-on-invalid-code Ever confirmed|

[Bug target/101325] [12 Regression] arm: Wrong code with MVE vcmpeqq intrinsic since r12-671-gd083fbf72

2021-07-07 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101325 --- Comment #6 from Christophe Lyon --- Before r12-671 before combine we have: (insn 7 4 8 2 (set (reg:HI 117) (unspec:HI [ (reg/v:V16QI 115 [ v ]) (reg/v:V16QI 116 [ w ]) ] VCMPEQQ_S)) "arm_mv

[Bug target/101296] Addition of x86 addsub SLP patterned slowed down 433.milc by 12% on znver2 with -Ofast -flto

2021-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101296 --- Comment #6 from Richard Biener --- Btw, there's no effect of the change visible on Haswell.

[Bug target/101325] [12 Regression] arm: Wrong code with MVE vcmpeqq intrinsic since r12-671-gd083fbf72

2021-07-07 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101325 --- Comment #5 from Christophe Lyon --- Before the patch, combine says: allowing combination of insns 8 and 14 original costs 4 + 2 = 6 replacement cost 4 deferring deletion of insn with uid = 8. modifying insn i314: r0:SI=zero_extend(r117:H

[Bug target/101325] [12 Regression] arm: Wrong code with MVE vcmpeqq intrinsic since r12-671-gd083fbf72

2021-07-07 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101325 Christophe Lyon changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug ipa/101362] can_change_signature does not consider 'used' attribute

2021-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101362 Richard Biener changed: What|Removed |Added CC||hubicka at gcc dot gnu.org

[Bug ipa/101362] New: can_change_signature does not consider 'used' attribute

2021-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101362 Bug ID: 101362 Summary: can_change_signature does not consider 'used' attribute Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Prior