[Bug inline-asm/98847] Miscompilation with c++17, templates, and register keyword

2021-01-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98847 --- Comment #2 from Andrew Pinski --- I think this is a dup of bug 33661.

[Bug tree-optimization/98845] [8/9/10/11 Regression] ICE: SSA corruption (Unable to coalesce ssa_names 2 and 23 which are marked as MUST COALESCE.) since r6-528-g465770e43996a132

2021-01-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98845 Martin Liška changed: What|Removed |Added Keywords|needs-bisection | Summary|[8/9/10/11 Regression

[Bug tree-optimization/98848] New: [9/10/11 regression] vectorizer failed to reduce max pattern.

2021-01-27 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98848 Bug ID: 98848 Summary: [9/10/11 regression] vectorizer failed to reduce max pattern. Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: missed-optimizatio

[Bug tree-optimization/98848] [9/10/11 regression] vectorizer failed to reduce max pattern.

2021-01-27 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98848 --- Comment #1 from Hongtao.liu --- With a bit adjustment of testcase, vectorized. @@ -2,7 +2,7 @@ extern short a[9000]; int foo() { - int b; + short b; int i; b = a[0];

[Bug tree-optimization/98845] [8/9/10/11 Regression] ICE: SSA corruption (Unable to coalesce ssa_names 2 and 23 which are marked as MUST COALESCE.) since r6-528-g465770e43996a132

2021-01-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98845 --- Comment #3 from Richard Biener --- Looks like tail merging triggers this.

[Bug tree-optimization/98813] loop is sub-optimized if index is unsigned int with offset

2021-01-27 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98813 --- Comment #8 from Jiu Fu Guo --- For code in comment 4, it is optimized since there are some range info for "_2 = l_m_34 + _54;" where _54 > 0.

[Bug tree-optimization/98845] [8/9/10/11 Regression] ICE: SSA corruption (Unable to coalesce ssa_names 2 and 23 which are marked as MUST COALESCE.) since r6-528-g465770e43996a132

2021-01-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98845 --- Comment #4 from Richard Biener --- +find_duplicates: duplicate of +Removing basic block 20 @@ -170,7 +180,7 @@ [local count: 3614577]: goto ; [100.00%] - [local count: 7016531]: + [local count: 8742389]: p_218_24 = p_217_23(

[Bug target/98849] New: [11 Regression] ICE in expand_shift_1, at expmed.c:2658 since g:7432f255b70811dafaf325d9403

2021-01-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98849 Bug ID: 98849 Summary: [11 Regression] ICE in expand_shift_1, at expmed.c:2658 since g:7432f255b70811dafaf325d9403 Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug ada/98228] [11 Regression] ICE: Assert_Failure atree.adb:931: Error detected at s-gearop.adb:382:34 [a-ngrear.adb:313:7 [a-nllrar.ads:18:1]] on s390x-linux-gnu

2021-01-27 Thread mhillen at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98228 --- Comment #24 from Marius Hillenbrand --- Thanks for the quick fix.

[Bug target/98849] [11 Regression] ICE in expand_shift_1, at expmed.c:2658 since g:7432f255b70811dafaf325d9403

2021-01-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98849 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Known to fail|

[Bug lto/85574] [8/9 Regression] LTO bootstapped binaries differ

2021-01-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85574 --- Comment #35 from Richard Biener --- (In reply to Eric Botcazou from comment #33) > The bootstrap-lto.mk patch breaks LTO bootstrap on Windows: you cannot > compare executables on this system since they are timestamped. I really > don't see t

[Bug tree-optimization/97260] [9/10/11 regression] memcmp of constant string and local constant array not folded

2021-01-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97260 --- Comment #6 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:efc9ccbfd0ca4da6bf0aba913df6f77f56044dc2 commit r11-6922-gefc9ccbfd0ca4da6bf0aba913df6f77f56044dc2 Author: Jakub Jelinek Date: We

[Bug c++/97474] [8/9/10/11 Regression] produces wrong code with references to another field

2021-01-27 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97474 --- Comment #16 from rguenther at suse dot de --- On Tue, 26 Jan 2021, jason at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97474 > > Jason Merrill changed: > >What|Removed |Added

[Bug tree-optimization/97260] [9/10 regression] memcmp of constant string and local constant array not folded

2021-01-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97260 Jakub Jelinek changed: What|Removed |Added Summary|[9/10/11 regression] memcmp |[9/10 regression] memcmp of

[Bug fortran/98472] internal compiler error: in gfc_conv_expr_descriptor, at fortran/trans-array.c:7352

2021-01-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98472 --- Comment #4 from CVS Commits --- The master branch has been updated by Paul Thomas : https://gcc.gnu.org/g:003f0414291d595d2126e6d2e24b281f38f3448f commit r11-6924-g003f0414291d595d2126e6d2e24b281f38f3448f Author: Paul Thomas Date: Wed Ja

[Bug target/96377] [10/11 Regression] GCC 10.2/11 doesn't build Linux kernel anymore

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

[Bug c++/98642] [10 Regression] wrong "use of deleted function" error

2021-01-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98642 Richard Biener changed: What|Removed |Added Keywords||needs-bisection Known to work|

[Bug c++/98642] [10 Regression] wrong "use of deleted function" error

2021-01-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98642 Richard Biener changed: What|Removed |Added Keywords|needs-bisection | --- Comment #5 from Richard Biener --

[Bug lto/85574] [8/9 Regression] LTO bootstapped binaries differ

2021-01-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85574 --- Comment #36 from Eric Botcazou --- > Because I didn't try to invent a clever way to detect which ones will > actually exist (but I know lto1 will). Sure some extra-compare-if-exists > could be invented. If there's no way to compare binaries

[Bug tree-optimization/98848] [9/10/11 regression] vectorizer failed to reduce max pattern.

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

[Bug tree-optimization/98848] [9/10/11 regression] vectorizer failed to reduce max pattern.

2021-01-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98848 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Target Milestone|---

[Bug inline-asm/98847] Miscompilation with c++17, templates, and register keyword

2021-01-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98847 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug tree-optimization/98774] gcc -O3 does not vectorize some operations

2021-01-27 Thread vanyacpp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98774 --- Comment #3 from Ivan Sorokin --- (In reply to Hongtao.liu from comment #1) > It's fixed in current trunk https://godbolt.org/z/63576n I can confirm that now GCC does use packed multiplication mulpd. Although it is used somewhat inefficiently

[Bug target/98850] New: ICE in expand_debug_locations, at cfgexpand.c:5458

2021-01-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98850 Bug ID: 98850 Summary: ICE in expand_debug_locations, at cfgexpand.c:5458 Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug c++/98841] wrong ‘operator=’ should return a reference to ‘*this’ [-Weffc++]

2021-01-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98841 --- Comment #6 from Jakub Jelinek --- Created attachment 50067 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50067&action=edit gcc11-pr98841.patch Untested fix.

[Bug target/98833] [11 Regression] ICE in extract_insn, at recog.c:2769 since r11-6849-gee78c20e74d30284

2021-01-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98833 --- Comment #9 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:530b1d688761db46b33d26864d3a0684cc82e0f9 commit r11-6926-g530b1d688761db46b33d26864d3a0684cc82e0f9 Author: liuhongt Date: Wed Jan 2

[Bug lto/85574] [8/9 Regression] LTO bootstapped binaries differ

2021-01-27 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85574 --- Comment #37 from rguenther at suse dot de --- On Wed, 27 Jan 2021, ebotcazou at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85574 > > --- Comment #36 from Eric Botcazou --- > > Because I didn't try to invent a cle

[Bug target/98833] [11 Regression] ICE in extract_insn, at recog.c:2769 since r11-6849-gee78c20e74d30284

2021-01-27 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98833 --- Comment #10 from Hongtao.liu --- Fixed ICE in GCC11, will delete relevant expanders and fold those builtins in GCC12.

[Bug fortran/93924] [OOP] ICE with procedure pointer

2021-01-27 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93924 Paul Thomas changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org --- Commen

[Bug fortran/93925] Invalid memory reference upon call of a routine taking a procedure pointer as argument

2021-01-27 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93925 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org Assigne

[Bug fortran/98022] [9/10/11 Regression] ICE in gfc_assign_data_value, at fortran/data.c:468 since r9-3803-ga5fbc2f36a291cbe

2021-01-27 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98022 Paul Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/98849] [11 Regression] ICE in expand_shift_1, at expmed.c:2658 since g:7432f255b70811dafaf325d9403

2021-01-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98849 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug fortran/93925] Invalid memory reference upon call of a routine taking a procedure pointer as argument

2021-01-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93925 --- Comment #8 from CVS Commits --- The master branch has been updated by Paul Thomas : https://gcc.gnu.org/g:4225af228b5d52e8d7593dea49584c91b4bc2e1f commit r11-6928-g4225af228b5d52e8d7593dea49584c91b4bc2e1f Author: Paul Thomas Date: Wed Ja

[Bug fortran/93924] [OOP] ICE with procedure pointer

2021-01-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93924 --- Comment #12 from CVS Commits --- The master branch has been updated by Paul Thomas : https://gcc.gnu.org/g:4225af228b5d52e8d7593dea49584c91b4bc2e1f commit r11-6928-g4225af228b5d52e8d7593dea49584c91b4bc2e1f Author: Paul Thomas Date: Wed J

[Bug target/98849] [11 Regression] ICE in expand_shift_1, at expmed.c:2658 since g:7432f255b70811dafaf325d9403

2021-01-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98849 --- Comment #2 from Jakub Jelinek --- int a[1024], b[1024]; void foo (void) { for (int i = 0; i < 1024; i++) a[i] = b[i] << 3; } void bar (int x) { for (int i = 0; i < 1024; i++) a[i] = b[i] << x; } ICEs with -O3 -mcpu=iwmmxt too.

[Bug tree-optimization/80198] [8/9/10/11 Regression] does not vectorize generic inplace integer operation

2021-01-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80198 Richard Biener changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org Last reco

[Bug tree-optimization/80198] [8/9/10/11 Regression] does not vectorize generic inplace integer operation

2021-01-27 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80198 --- Comment #20 from rsandifo at gcc dot gnu.org --- (In reply to Richard Biener from comment #19) > So I think when you consider > > void __attribute__((noinline)) fun(int * a, int * b, int c) > { > int i; > for (i=0; i < 256; i++) { >

[Bug c/98852] New: [11 Regression] Conditional expression wrongly rejected for arm_neon.h vectors

2021-01-27 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98852 Bug ID: 98852 Summary: [11 Regression] Conditional expression wrongly rejected for arm_neon.h vectors Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: n

[Bug rtl-optimization/80960] [8/9/10/11 Regression] Huge memory use when compiling a very large test case

2021-01-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80960 Richard Biener changed: What|Removed |Added Known to work||4.3.4 Known to fail|

[Bug target/98853] New: [11 Regression] wrong use of bfxil at -O1

2021-01-27 Thread zsojka at seznam dot cz via Gcc-bugs
unknown-linux-gnu-ld --with-as=/usr/bin/aarch64-unknown-linux-gnu-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r11-6925-20210127102218-g6cf43433750-checking-yes-rtl-df-extra-aarch64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 11.0.0 2

[Bug tree-optimization/80198] [8/9/10/11 Regression] does not vectorize generic inplace integer operation

2021-01-27 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80198 --- Comment #21 from rguenther at suse dot de --- On Wed, 27 Jan 2021, rsandifo at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80198 > > --- Comment #20 from rsandifo at gcc dot gnu.org gnu.org> --- > (In reply to Ric

[Bug tree-optimization/98854] New: [11 Regression] cray benchmark is about 15% slower since r11-4428-g4a369d199bf2f34e

2021-01-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98854 Bug ID: 98854 Summary: [11 Regression] cray benchmark is about 15% slower since r11-4428-g4a369d199bf2f34e Product: gcc Version: 11.0 Status: UNCONFIRMED Severi

[Bug tree-optimization/98854] [11 Regression] cray benchmark is about 15% slower since r11-4428-g4a369d199bf2f34e

2021-01-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98854 --- Comment #1 from Martin Liška --- One can see it here: https://lnt.opensuse.org/db_default/v4/CPP/graph?plot.0=245.639.0&plot.1=171.639.0&;

[Bug c++/98843] Building simple c++ modules example fails but successful with -save-temps

2021-01-27 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98843 --- Comment #2 from Nathan Sidwell --- thanks Gary, I expect to be able to reprduce the iostream.ii myself, and particularly as (the lack of) -save-temps seems to be significant, I'll probably need to.

[Bug target/98849] [11 Regression] ICE in expand_shift_1, at expmed.c:2658 since g:7432f255b70811dafaf325d9403

2021-01-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98849 --- Comment #3 from Jakub Jelinek --- For #c2 I've tried: --- gcc/tree-vect-generic.c.jj 2021-01-04 10:25:38.289239984 +0100 +++ gcc/tree-vect-generic.c 2021-01-27 13:53:28.457752505 +0100 @@ -2147,16 +2147,21 @@ expand_vector_operations_1 (

[Bug rtl-optimization/80960] [8/9/10/11 Regression] Huge memory use when compiling a very large test case

2021-01-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80960 --- Comment #24 from Richard Biener --- And we allocate plus 66M 1606M 66 million PLUS RTXen via explow.c:200 (plus_constant) 0 : 0.0% 1596M: 92.0%0 : 0.0%0 : 0.0%

[Bug tree-optimization/98854] [11 Regression] cray benchmark is about 15% slower since r11-4428-g4a369d199bf2f34e

2021-01-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98854 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unassigned at gcc

[Bug target/98853] [11 Regression] wrong use of bfxil at -O1

2021-01-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98853 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.0

[Bug c/98852] [11 Regression] Conditional expression wrongly rejected for arm_neon.h vectors

2021-01-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98852 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.0

[Bug target/98849] [11 Regression] ICE in expand_shift_1, at expmed.c:2658 since g:7432f255b70811dafaf325d9403

2021-01-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98849 Jakub Jelinek changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org,

[Bug c++/98531] [11 Regression] g++.dg/modules/xtreme-header-2_a.H etc. FAIL

2021-01-27 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98531 --- Comment #7 from ro at CeBiTec dot Uni-Bielefeld.DE --- Nathan, last night I've tried the patch you posted on both i386-pc-solaris2.11 and sparc-sun-solaris2.11, with mixed results: * The new g++.dg/modules/pr98531_* testcases PASS. * Howev

[Bug libstdc++/66414] string::find ten times slower than strstr

2021-01-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66414 --- Comment #9 from Jonathan Wakely --- (In reply to AK from comment #8) > Should we consider this fixed? I think we can still do better, by using GNU memmem when it's available: https://gcc.gnu.org/pipermail/gcc-patches/2017-January/466460.htm

[Bug target/98849] [11 Regression] ICE in expand_shift_1, at expmed.c:2658 since g:7432f255b70811dafaf325d9403

2021-01-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98849 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1

[Bug c++/98531] [11 Regression] g++.dg/modules/xtreme-header-2_a.H etc. FAIL

2021-01-27 Thread nathan at acm dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98531 --- Comment #8 from Nathan Sidwell --- On 1/27/21 8:30 AM, ro at CeBiTec dot Uni-Bielefeld.DE wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98531 > > --- Comment #7 from ro at CeBiTec dot Uni-Bielefeld.DE Uni-Bielefeld.DE> --- > Nathan,

[Bug target/98849] [11 Regression] ICE in expand_shift_1, at expmed.c:2658 since g:7432f255b70811dafaf325d9403

2021-01-27 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98849 --- Comment #5 from ktkachov at gcc dot gnu.org --- Looks like after the refactoring to introduce MVE shifts (which doesn't ICE) we need to make sure the optab is still disabled for iwmmxt?

[Bug target/98849] [11 Regression] ICE in expand_shift_1, at expmed.c:2658 since g:7432f255b70811dafaf325d9403

2021-01-27 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98849 --- Comment #6 from Christophe Lyon --- I'm not familiar with iwmmxt, but the testcase in comment #2 is vectorized with: * -mcpu=cortex-a9 -mfpu=auto -mfloat-abi=hard (uses Neon FPU) * -mcpu=cortex-m55 -mfpu=auto -mfloat-abi=hard (uses MVE/Helium

[Bug target/98849] [11 Regression] ICE in expand_shift_1, at expmed.c:2658 since g:7432f255b70811dafaf325d9403

2021-01-27 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98849 --- Comment #7 from Christophe Lyon --- (In reply to ktkachov from comment #5) > Looks like after the refactoring to introduce MVE shifts (which doesn't ICE) > we need to make sure the optab is still disabled for iwmmxt? So that would mean that

[Bug target/98849] [11 Regression] ICE in expand_shift_1, at expmed.c:2658 since g:7432f255b70811dafaf325d9403

2021-01-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98849 --- Comment #8 from Jakub Jelinek --- Seems vec_init optab is supported if TARGET_NEON || TARGET_HAVE_MVE, so maybe guard the shift expander also on && (TARGET_NEON || TARGET_HAVE_MVE)? Or && !TARGET_REALLY_IWMMXT. Dunno if one can mix iwmmxt wi

[Bug tree-optimization/98855] New: [11 Regression] botan XTEA is 100% slower on znver2 since r11-4428-g4a369d199bf2f34e

2021-01-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98855 Bug ID: 98855 Summary: [11 Regression] botan XTEA is 100% slower on znver2 since r11-4428-g4a369d199bf2f34e Product: gcc Version: 11.0 Status: UNCONFIRMED Sever

[Bug target/98849] [11 Regression] ICE in expand_shift_1, at expmed.c:2658 since g:7432f255b70811dafaf325d9403

2021-01-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98849 --- Comment #9 from Jakub Jelinek --- (In reply to Christophe Lyon from comment #6) > so to answer your question arm does have vector shift by scalar. If it does, it doesn't advertize them: make mddump grep '"v\?ashlv[0-9qhsdi]*3"' tmp-mddump.md

[Bug tree-optimization/98855] [11 Regression] botan XTEA is 100% slower on znver2 since r11-4428-g4a369d199bf2f34e

2021-01-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98855 Martin Liška changed: What|Removed |Added Target Milestone|--- |11.0 CC|

[Bug tree-optimization/98854] [11 Regression] cray benchmark is about 15% slower since r11-4428-g4a369d199bf2f34e

2021-01-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98854 --- Comment #3 from Richard Biener --- OK, one can see it with BB vectorization enabled vs. disabled. Bad: Samples: 7K of event 'cycles:u', Event count (approx.): 7540324763 Overhead Samples Command Shared Object Sym

[Bug libstdc++/66414] string::find ten times slower than strstr

2021-01-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66414 --- Comment #10 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:a199da782fc165fd45f42a15cc9020994efd455d commit r11-6931-ga199da782fc165fd45f42a15cc9020994efd455d Author: Jonathan Wakely Date:

[Bug ipa/98815] Redundant free_dominance_info in cgraph_node::analyze()

2021-01-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98815 --- Comment #4 from Martin Liška --- I can confirm the patch survives bootstrap and regression tests. I'm going to send it at the beginning of the next stage1.

[Bug target/98853] [11 Regression] wrong use of bfxil at -O1

2021-01-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98853 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug tree-optimization/98854] [11 Regression] cray benchmark is about 15% slower since r11-4428-g4a369d199bf2f34e

2021-01-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98854 --- Comment #4 from Richard Biener --- Little bit convoluted testcase: double a[1024]; int bar(); void foo (int n) { double x = 0, y = 0; int i = 1023; do { x += a[i] + a[i+1]; y += a[i] / a[i+1]; if (bar ())

[Bug target/98853] [9/10/11 Regression] wrong use of bfxil at -O1

2021-01-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98853 Jakub Jelinek changed: What|Removed |Added Target Milestone|11.0|9.4 Assignee|unassigned at gcc

[Bug libstdc++/98466] Debug Mode iterators for unordered containers do not implement N3644

2021-01-27 Thread dmjpp at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98466 Dimitrij Mijoski changed: What|Removed |Added CC||dmjpp at hotmail dot com --- Comment

[Bug libstdc++/98466] Debug Mode iterators for unordered containers do not implement N3644

2021-01-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98466 --- Comment #2 from Jonathan Wakely --- This was already fixed on master by r11-6682 05a30af3f237984b4dcf1dbbc17fdac583c46506

[Bug tree-optimization/98856] New: [11 Regression] botan AES-128/XTS is slower by ~17% since r11-6649-g285fa338b06b804e72997c4d876ecf08a9c083af

2021-01-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98856 Bug ID: 98856 Summary: [11 Regression] botan AES-128/XTS is slower by ~17% since r11-6649-g285fa338b06b804e72997c4d876ecf08a9c083af Product: gcc Version: 11.0

[Bug tree-optimization/98856] [11 Regression] botan AES-128/XTS is slower by ~17% since r11-6649-g285fa338b06b804e72997c4d876ecf08a9c083af

2021-01-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98856 Martin Liška changed: What|Removed |Added Known to fail||11.0 Last reconfirmed|

[Bug tree-optimization/98855] [11 Regression] botan XTEA is 100% slower on znver2 since r11-4428-g4a369d199bf2f34e

2021-01-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98855 --- Comment #1 from Martin Liška --- And likely something similar happens since the same revision: botan/KASUMI decrypt https://lnt.opensuse.org/db_default/v4/CPP/graph?plot.0=245.694.1&plot.1=171.694.1

[Bug target/98853] [9/10/11 Regression] wrong use of bfxil at -O1

2021-01-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98853 --- Comment #3 from Jakub Jelinek --- Created attachment 50069 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50069&action=edit gcc11-pr98853.patch Untested fix.

[Bug c++/98857] New: Add support for function attributes applied to function pointers from non-capturing lambdas

2021-01-27 Thread koncek.marian at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98857 Bug ID: 98857 Summary: Add support for function attributes applied to function pointers from non-capturing lambdas Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug rtl-optimization/80960] [8/9/10/11 Regression] Huge memory use when compiling a very large test case

2021-01-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80960 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/83417] Pointer-to-member template parameter with auto member type dependent container type does not work (C++17)

2021-01-27 Thread davveston at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83417 David Friberg changed: What|Removed |Added CC||davveston at gmail dot com --- Comment #

[Bug tree-optimization/98854] [11 Regression] cray benchmark is about 15% slower since r11-4428-g4a369d199bf2f34e

2021-01-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98854 --- Comment #5 from Martin Liška --- (In reply to Richard Biener from comment #4) > Little bit convoluted testcase: > > double a[1024]; > > int bar(); > void foo (int n) > { > double x = 0, y = 0; > int i = 1023; > do > { > x +=

[Bug tree-optimization/98766] [10 Regression] SVE: ICE in tree_to_shwi with -O3 --param=avoid-fma-max-bits

2021-01-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98766 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Kyrylo Tkachov : https://gcc.gnu.org/g:e753db89ddcc7f005fd54f861375bcdc85f23335 commit r10-9305-ge753db89ddcc7f005fd54f861375bcdc85f23335 Author: Kyrylo Tkachov

[Bug tree-optimization/98855] [11 Regression] botan XTEA is 100% slower on znver2 since r11-4428-g4a369d199bf2f34e

2021-01-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98855 Richard Biener changed: What|Removed |Added Keywords||missed-optimization --- Comment #2 from

[Bug libstdc++/98466] Debug Mode iterators for unordered containers do not implement N3644

2021-01-27 Thread dmjpp at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98466 --- Comment #3 from Dimitrij Mijoski --- (In reply to Jonathan Wakely from comment #2) > This was already fixed on master by r11-6682 > 05a30af3f237984b4dcf1dbbc17fdac583c46506 Yes, that patch mostly fixes bug 70303, too. With that patch, the as

[Bug tree-optimization/98766] [10 Regression] SVE: ICE in tree_to_shwi with -O3 --param=avoid-fma-max-bits

2021-01-27 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98766 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution

[Bug tree-optimization/98856] [11 Regression] botan AES-128/XTS is slower by ~17% since r11-6649-g285fa338b06b804e72997c4d876ecf08a9c083af

2021-01-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98856 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Target Milestone|---

[Bug tree-optimization/98854] [11 Regression] cray benchmark is about 15% slower since r11-4428-g4a369d199bf2f34e

2021-01-27 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98854 --- Comment #6 from rguenther at suse dot de --- On Wed, 27 Jan 2021, marxin at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98854 > > --- Comment #5 from Martin Li?ka --- > (In reply to Richard Biener from comment #4)

[Bug tree-optimization/98854] [11 Regression] cray benchmark is about 15% slower since r11-4428-g4a369d199bf2f34e

2021-01-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98854 --- Comment #7 from Martin Liška --- > I used -O3 but -O2 -ftree-slp-vectorize also vectorizes it. I must be blind, but I see for the current master: gcc pr98854.c -c -O2 -ftree-slp-vectorize -fdump-tree-optimized=/dev/stdout foo (int n) { u

[Bug tree-optimization/98854] [11 Regression] cray benchmark is about 15% slower since r11-4428-g4a369d199bf2f34e

2021-01-27 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98854 --- Comment #8 from rguenther at suse dot de --- On Wed, 27 Jan 2021, marxin at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98854 > > --- Comment #7 from Martin Liška --- > > I used -O3 but -O2 -ftree-slp-vectorize al

[Bug c++/98824] [C++-20] function template non-type-class-arg deduction fails with a reason that looks bogus

2021-01-27 Thread dimitri.gorokhovik at free dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98824 --- Comment #1 from Dimitri Gorokhovik --- It doesn't seem to contradict N4868 :-( Modifying the code slightly (adding refs, splitting deduction across two fn templates) didn't show any other differences from clang: all other modification either

[Bug target/98849] [11 Regression] ICE in expand_shift_1, at expmed.c:2658 since g:7432f255b70811dafaf325d9403

2021-01-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98849 --- Comment #10 from Jakub Jelinek --- ./cc1 -quiet -nostdinc -O3 -mcpu=iwmmxt pr98849-2.c -fdump-tree-all-folding -mfpu=neon cc1: error: iWMMXt and NEON are incompatible So I think TARGET_NEON && TARGET_REALLY_IWMMXT is never true. Don't know if

[Bug inline-asm/98847] Miscompilation with c++17, templates, and register keyword

2021-01-27 Thread programmerjake at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98847 --- Comment #4 from programmerjake at gmail dot com --- (In reply to Jakub Jelinek from comment #3) > Created attachment 50066 [details] > gcc11-pr98847.patch > > Untested fix. That will probably also fix bug #98846

[Bug tree-optimization/98854] [11 Regression] cray benchmark is about 15% slower since r11-4428-g4a369d199bf2f34e

2021-01-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98854 --- Comment #9 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:c91db798ec65b3e55f2380ca1530ecb71544f1bb commit r11-6934-gc91db798ec65b3e55f2380ca1530ecb71544f1bb Author: Richard Biener Date:

[Bug tree-optimization/98854] [11 Regression] cray benchmark is about 15% slower since r11-4428-g4a369d199bf2f34e

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

[Bug rtl-optimization/97684] [11 Regression] ICE in reg_preferred_class, at reginfo.c:789 by r11-4577

2021-01-27 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97684 Vladimir Makarov changed: What|Removed |Added CC||vmakarov at gcc dot gnu.org --- Comme

[Bug libfortran/98825] Unexpected behavior of FORTRAN FORMAT expressions when suppressing new line with '$'

2021-01-27 Thread max.pd at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98825 --- Comment #5 from max.pd at gmx dot de --- The -fdec compiler flag provides a possible work around. When opening a Unit with CARRIAGECONTROL='NONE' (an option available with DEC extensions in gfortran), the program won't show the unexpected beha

[Bug middle-end/98829] Different results with -O3 and custom quiet NaN

2021-01-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98829 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #6

[Bug testsuite/98349] [11 regression] gcc.target/powerpc/sse-movhps-1.c and sse-movlps.c fail after r11-3434

2021-01-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98349 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug testsuite/98351] [11 regression] gcc.target/powerpc/sse-andnps-1.c and sse2-andnpd-1.c fail after r11-3308

2021-01-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98351 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug c++/98295] [8/9/10/11 Regression] ICE in verify_ctor_sanity, at cp/constexpr.c:4312

2021-01-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98295 --- Comment #4 from Jakub Jelinek --- Still ICEs even when that other bug is fixed.

[Bug tree-optimization/60770] disappearing clobbers

2021-01-27 Thread orgads at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60770 Orgad Shaneh changed: What|Removed |Added CC||orgads at gmail dot com --- Comment #13 f

[Bug tree-optimization/60770] disappearing clobbers

2021-01-27 Thread glisse at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60770 --- Comment #14 from Marc Glisse --- (In reply to Orgad Shaneh from comment #13) > The case described in comment 1 doesn't issue a warning with GCC 10. It does for me with -Wall -O (you need at least some optimization). If there is still a probl

[Bug c++/98841] wrong ‘operator=’ should return a reference to ‘*this’ [-Weffc++]

2021-01-27 Thread o.mandel at menlosystems dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98841 --- Comment #7 from Olaf Mandel --- (In reply to Olaf Mandel from comment #0) > In the minimal demo used here this only happens for a template member > function, but in larger code it can also be observed for a plain member > function: see e.g. h

[Bug target/98849] [11 Regression] ICE in expand_shift_1, at expmed.c:2658 since g:7432f255b70811dafaf325d9403

2021-01-27 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98849 --- Comment #11 from Christophe Lyon --- Yes MVE is incompatible with iWMMXt. Regarding the pattern name, quoting what I wrote in the commit message: I kept the mve_vshlq_ naming instead of renaming it to ashl3__ as discussed because the referen

  1   2   >