[Bug target/100320] [8/9/10/11/12 Regression] 32-bit x86 memcpy is suboptimal

2021-04-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100320 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Keywords|

[Bug target/100329] New: ICE: verify_ssa failed (error: definition in block 3 does not dominate use in block 4)

2021-04-29 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100329 Bug ID: 100329 Summary: ICE: verify_ssa failed (error: definition in block 3 does not dominate use in block 4) Product: gcc Version: 11.0 Status: UNCONFIRMED S

[Bug d/100324] gcc-10.2.0 (and earlier) fails to build on x86_64, but has builds just fine aarch64

2021-04-29 Thread torel at simula dot no via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100324 --- Comment #2 from Tor --- Same issue on gcc-11.1.0. Can't pick D language on x86_64/amd64 platform. make[2]: Leaving directory '/home/torel/workspace/GCC/gcc-11_1_0-release/Build-x86_64/x86_64-linux-gnu/zlib' make[2]: Entering directory '/ho

[Bug middle-end/100323] #pragma and attribute optimize don't enable inlining

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

[Bug d/100324] gcc-10.2.0 (and earlier) fails to build on x86_64, but has builds just fine aarch64

2021-04-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100324 --- Comment #3 from Richard Biener --- /bin/sh: ../libtool: No such file or directory that's odd. What's your host operating system, in particular what shell is /bin/sh? You'd need to see what (and why) libphobos picks up as @LIBTOOL@

[Bug c++/100326] Crash with `#pragma GCC unroll` when calling value which can't be called in template function

2021-04-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100326 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug bootstrap/100327] [12 regression] bootstrap failure after r12-228

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

[Bug bootstrap/100327] [12 regression] bootstrap failure after r12-228

2021-04-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100327 --- Comment #3 from Richard Biener --- Possibly if (!targetm.scalar_mode_supported_p (mode) || !targetm.libgcc_floating_mode_supported_p (mode)) continue;

[Bug d/100324] gcc-10.2.0 (and earlier) fails to build on x86_64, but has builds just fine aarch64

2021-04-29 Thread torel at simula dot no via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100324 --- Comment #4 from Tor --- (In reply to Richard Biener from comment #3) > that's odd. What's your host operating system, in particular what shell > is /bin/sh? Ubuntu 18.04.5LTS on any arch. Interestingly, on aarch it is dash while on where

[Bug c++/61592] ICE with large array with initialization

2021-04-29 Thread sbence92 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61592 Bence Szabó changed: What|Removed |Added CC||sbence92 at gmail dot com --- Comment #2 f

[Bug tree-optimization/100329] ICE: verify_ssa failed (error: definition in block 3 does not dominate use in block 4)

2021-04-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100329 Richard Biener changed: What|Removed |Added Keywords||ice-on-valid-code, |

[Bug target/100232] [OpenMP][nvptx] Reduction fails with optimization and 'loop'/'for simd' but not with 'for'

2021-04-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100232 --- Comment #6 from CVS Commits --- The master branch has been updated by Tom de Vries : https://gcc.gnu.org/g:4d7c874e2c64ebf7631049ace642d246843febae commit r12-249-g4d7c874e2c64ebf7631049ace642d246843febae Author: Tom de Vries Date: Wed

[Bug d/100324] gcc-10.2.0 (and earlier) fails to build on x86_64, but has builds just fine aarch64

2021-04-29 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100324 --- Comment #5 from Iain Buclaw --- (In reply to Tor from comment #0) > make -j 64 > Never had an issue with parallel builds up to -j16. Won't have the hardware to even attempt -j64 for another fortnight. Minimal libtool support is in libphobo

[Bug middle-end/38474] compile time explosion in dataflow_set_preserve_mem_locs at -O3

2021-04-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38474 --- Comment #101 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:c57a8aea0c3ab8394f7dbfa417ee27b4613f63b7 commit r12-280-gc57a8aea0c3ab8394f7dbfa417ee27b4613f63b7 Author: Richard Biener Date:

[Bug target/100305] [10/11/12 Regression] aarch64: ICE in output_operand_lossage with -O3

2021-04-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100305 --- Comment #10 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:cd0a059bd384da58d43674496a79ecb7de610800 commit r11-8323-gcd0a059bd384da58d43674496a79ecb7de610800 Author: Richard Sa

[Bug target/100270] [10/11 Backport] _Generic can't distinguish VLS SVE vectors and GNU vectors

2021-04-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100270 --- Comment #3 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:dfaa29b5441689ce05e3c09012d3afe269770e94 commit r11-8322-gdfaa29b5441689ce05e3c09012d3afe269770e94 Author: Richard San

[Bug target/100232] [OpenMP][nvptx] Reduction fails with optimization and 'loop'/'for simd' but not with 'for'

2021-04-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100232 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Tom de Vries : https://gcc.gnu.org/g:f94c6caac7f03815c26c03a532f834c37517519c commit r11-8324-gf94c6caac7f03815c26c03a532f834c37517519c Author: Tom de Vries Da

[Bug tree-optimization/94589] Optimize (i<=>0)>0 to i>0

2021-04-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94589 Jonathan Wakely changed: What|Removed |Added CC||aaron at aarongraham dot com --- Comme

[Bug c++/100322] Switching from std=c++17 to std=c++20 causes performance regression in relationals

2021-04-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100322 Jonathan Wakely changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug tree-optimization/94589] Optimize (i<=>0)>0 to i>0

2021-04-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94589 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/100232] [OpenMP][nvptx] Reduction fails with optimization and 'loop'/'for simd' but not with 'for'

2021-04-29 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100232 Tom de Vries changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Target Milestone|---

[Bug c++/100319] Incorrect check for detach clause argument in data-sharing clauses

2021-04-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100319 --- Comment #2 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:1b462deabf70e0f4bebb1f85118827d9c2eeffb5 commit r12-281-g1b462deabf70e0f4bebb1f85118827d9c2eeffb5 Author: Jakub Jelinek Date: Th

[Bug tree-optimization/94589] Optimize (i<=>0)>0 to i>0

2021-04-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94589 --- Comment #5 from Jonathan Wakely --- (In reply to Marc Glisse from comment #0) > For most comparisons @ we do optimize (i<=>0)@0 to just i@0, but not for > > and <=. Spaceship operator<=> is very painful to use, but I expect we will > end up s

[Bug c++/100330] New: operator bool() is used when operator<() is available to do comparison

2021-04-29 Thread yin.li at bytedance dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100330 Bug ID: 100330 Summary: operator bool() is used when operator<() is available to do comparison Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: norma

[Bug target/100302] [11/12 Regression] ICE in abs_hwi, at hwint.h:324 since r11-7861

2021-04-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100302 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:1bb3e2c0ce6ed363c72caf814a6ba6d7b17c3e0a commit r12-282-g1bb3e2c0ce6ed363c72caf814a6ba6d7b17c3e0a Author: Jakub Jelinek Date: Th

[Bug c++/100319] Incorrect check for detach clause argument in data-sharing clauses

2021-04-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100319 --- Comment #3 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:50c826db7a3ee672be2a0b41a937651e1834a837 commit r11-8325-g50c826db7a3ee672be2a0b41a937651e1834a837 Author: Jakub Jelinek

[Bug target/100302] [11/12 Regression] ICE in abs_hwi, at hwint.h:324 since r11-7861

2021-04-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100302 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:5ac1313f32c5cd875ad047f6575dd4608e1949cf commit r11-8326-g5ac1313f32c5cd875ad047f6575dd4608e1949cf Author: Jakub Jelinek

[Bug target/100302] [11/12 Regression] ICE in abs_hwi, at hwint.h:324 since r11-7861

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

[Bug c++/100319] Incorrect check for detach clause argument in data-sharing clauses

2021-04-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100319 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/100305] [10 Regression] aarch64: ICE in output_operand_lossage with -O3

2021-04-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100305 --- Comment #11 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:62a44a9797edce11b1f7051ea0016ee975d41233 commit r12-283-g62a44a9797edce11b1f7051ea0016ee975d41233 Author: Jakub Jelinek Date: T

[Bug tree-optimization/100253] [10/11/12 Regression] wrong code with -O2 -fno-tree-bit-ccp -ftree-slp-vectorize (unaligned movdqa)

2021-04-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100253 --- Comment #6 from Richard Biener --- So the issue is we're getting a dataref pointer like &MEM <__int128 unsigned> [(char * {ref-all})&s + 25B] and the first access has DR_MISALIGNMENT of 9 and the target alignment is 16. So we have align =

[Bug target/100305] [10 Regression] aarch64: ICE in output_operand_lossage with -O3

2021-04-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100305 --- Comment #12 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:a515ce926b9d779922debc33ecad424c9ac22c65 commit r11-8327-ga515ce926b9d779922debc33ecad424c9ac22c65 Author: Jakub Jelinek

[Bug d/100324] gcc-10.2.0 (and earlier) fails to build on x86_64, but has builds just fine aarch64

2021-04-29 Thread torel at simula dot no via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100324 --- Comment #6 from Tor --- (In reply to Iain Buclaw from comment #5) > Never had an issue with parallel builds up to -j16. Won't have the hardware > to even attempt -j64 for another fortnight. > > Minimal libtool support is in libphobos/m4/li

[Bug tree-optimization/99954] [8 Regression] Copy loop over array of unions at -O3 generates memcpy instead of memmove, resulting in incorrect code

2021-04-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99954 --- Comment #9 from CVS Commits --- The releases/gcc-8 branch has been updated by Richard Biener : https://gcc.gnu.org/g:ab620c241b61733c92a7596620b73af4f380b5e0 commit r8-10928-gab620c241b61733c92a7596620b73af4f380b5e0 Author: Richard Biener

[Bug tree-optimization/99954] [8 Regression] Copy loop over array of unions at -O3 generates memcpy instead of memmove, resulting in incorrect code

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

[Bug c++/100330] operator bool() is used when operator<() is available to do comparison

2021-04-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100330 --- Comment #1 from Jonathan Wakely --- Reduced: #include extern "C" int puts(const char*); struct vertex_descriptor { operator bool() const { puts(__func__); return i; } bool operato

[Bug target/100217] [11/12 Regression] ICE when building valgrind testsuite with -march=z14 since r11-7552

2021-04-29 Thread mark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100217 --- Comment #13 from Mark Wielaard --- (In reply to Jakub Jelinek from comment #12) > For valgrind, the quick workaround would be -march=z13 when compiling the > s390x tests that have register long double variables. Yes, this works, if fpext an

[Bug tree-optimization/94589] Optimize (i<=>0)>0 to i>0

2021-04-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94589 Richard Biener changed: What|Removed |Added Known to work||11.1.0 --- Comment #6 from Richard Bien

[Bug tree-optimization/94589] Optimize (i<=>0)>0 to i>0

2021-04-29 Thread glisse at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94589 --- Comment #7 from Marc Glisse --- Some key steps in the optimization: PRE turns PHI<-1,0,1> > 0 into PHI<0,0,1> reassoc then combines the operations (it didn't in gcc-10) forwprop+phiopt cleans up (i>0)!=0?1:0 into just i>0. Having to wait unt

[Bug target/100331] New: 128 bit arithmetic --- suboptimal after shifting when referencing other variables

2021-04-29 Thread zero at smallinteger dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100331 Bug ID: 100331 Summary: 128 bit arithmetic --- suboptimal after shifting when referencing other variables Product: gcc Version: 9.3.0 Status: UNCONFIRMED Sever

[Bug tree-optimization/94589] Optimize (i<=>0)>0 to i>0

2021-04-29 Thread glisse at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94589 --- Comment #8 from Marc Glisse --- PR96480 would be my guess.

[Bug tree-optimization/94589] Optimize (i<=>0)>0 to i>0

2021-04-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94589 --- Comment #9 from Jonathan Wakely --- (In reply to Richard Biener from comment #6) > Not sure what fixed it there. Seems to be r11-2593

[Bug tree-optimization/94589] Optimize (i<=>0)>0 to i>0

2021-04-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94589 --- Comment #10 from Jonathan Wakely --- (In reply to Marc Glisse from comment #8) > PR96480 would be my guess. Yes

[Bug tree-optimization/94589] Optimize (i<=>0)>0 to i>0

2021-04-29 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94589 --- Comment #11 from rguenther at suse dot de --- On Thu, 29 Apr 2021, glisse at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94589 > > --- Comment #7 from Marc Glisse --- > Some key steps in the optimization: > PRE tu

[Bug tree-optimization/100253] [10/11/12 Regression] wrong code with -O2 -fno-tree-bit-ccp -ftree-slp-vectorize (unaligned movdqa)

2021-04-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100253 --- Comment #7 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:af4ccaa7515b8e72449448c509916575831e6292 commit r12-284-gaf4ccaa7515b8e72449448c509916575831e6292 Author: Richard Biener Date:

[Bug tree-optimization/100253] [10/11 Regression] wrong code with -O2 -fno-tree-bit-ccp -ftree-slp-vectorize (unaligned movdqa)

2021-04-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100253 Richard Biener changed: What|Removed |Added Known to work||12.0 Summary|[10/11/12 Regr

[Bug target/100332] New: mcore-elf: error: 'prev_addr' may be used uninitialized in this function [-Werror=maybe-uninitialized]

2021-04-29 Thread jbglaw--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100332 Bug ID: 100332 Summary: mcore-elf: error: 'prev_addr' may be used uninitialized in this function [-Werror=maybe-uninitialized] Product: gcc Version: unknown

[Bug rtl-optimization/99927] Wrong code since r11-39-gf9e1ea10e657af9f

2021-04-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99927 Richard Biener changed: What|Removed |Added Priority|P1 |P3 Target Milestone|11.2

[Bug rtl-optimization/100311] UB in sel-sched.c:init_regs_for_mode with -march=armv8-m.base

2021-04-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100311 --- Comment #3 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Earnshaw : https://gcc.gnu.org/g:bda407c9a0da4aacdc62306c85712b93afa1bbc3 commit r11-8328-gbda407c9a0da4aacdc62306c85712b93afa1bbc3 Author: Richard Earn

[Bug rtl-optimization/100311] UB in sel-sched.c:init_regs_for_mode with -march=armv8-m.base

2021-04-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100311 --- Comment #4 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Earnshaw : https://gcc.gnu.org/g:d0ae39ce2c3b4d635de6102ec3750cf6109cdc8d commit r10-9778-gd0ae39ce2c3b4d635de6102ec3750cf6109cdc8d Author: Richard Earn

[Bug d/100324] gcc-10.2.0 (and earlier) fails to build on x86_64, but has builds just fine aarch64

2021-04-29 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100324 --- Comment #7 from Iain Buclaw --- (In reply to Richard Biener from comment #3) > /bin/sh: ../libtool: No such file or directory > > that's odd. What's your host operating system, in particular what shell > is /bin/sh? > > You'd need to see

[Bug rtl-optimization/100311] UB in sel-sched.c:init_regs_for_mode with -march=armv8-m.base

2021-04-29 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100311 Richard Earnshaw changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined

2021-04-29 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 100311, which changed state. Bug 100311 Summary: UB in sel-sched.c:init_regs_for_mode with -march=armv8-m.base https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100311 What|Removed |Added --

[Bug tree-optimization/100173] telecom/viterb00data_1 has 16.92% regression compared O2 -ftree-vectorize -fvect-cost-model=very-cheap to O2 on CLX/ICX, 9% regression on znver3

2021-04-29 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100173 --- Comment #4 from Hongtao.liu --- > but yes, cselim will also sink the first store, moving it across the Can we also sink loads? assign pointer to another temp pointer in both if and else bb, and then load val from this temp pointer. those a

[Bug tree-optimization/94589] Optimize (i<=>0)>0 to i>0

2021-04-29 Thread glisse at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94589 --- Comment #12 from Marc Glisse --- (In reply to rguent...@suse.de from comment #11) > For PR7 > I have prototyped a forwprop patch to try constant folding > stmts with all-constant PHIs, thus in this case c$_M_value_2 > 0, > when there's o

[Bug libstdc++/100259] ODR violations in

2021-04-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100259 --- Comment #3 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:4e54a34eed4f941cf09f27245bb3a5bfdb406a16 commit r11-8330-g4e54a34eed4f941cf09f27245bb3a5bfdb406a16 Author: Jonathan Wake

[Bug libstdc++/100259] ODR violations in

2021-04-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100259 --- Comment #4 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:9b6fecd9e594c7342141c334644d3938c8e5fcdb commit r10-9780-g9b6fecd9e594c7342141c334644d3938c8e5fcdb Author: Jonathan Wake

[Bug libstdc++/100259] ODR violations in

2021-04-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100259 --- Comment #5 from CVS Commits --- The releases/gcc-9 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:75d1d6841dd90649ea03cbe2ec43c3cfb27bebe8 commit r9-9475-g75d1d6841dd90649ea03cbe2ec43c3cfb27bebe8 Author: Jonathan Wakely

[Bug target/100333] New: arm: ICE (unrecognizable insn) with CMSE nonsecure call and -march=armv8.1-m.main

2021-04-29 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100333 Bug ID: 100333 Summary: arm: ICE (unrecognizable insn) with CMSE nonsecure call and -march=armv8.1-m.main Product: gcc Version: 12.0 Status: UNCONFIRMED Severi

[Bug target/100333] arm: ICE (unrecognizable insn) with CMSE nonsecure call and -march=armv8.1-m.main

2021-04-29 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100333 Alex Coplan changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Keywords|

[Bug libstdc++/100259] ODR violations in

2021-04-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100259 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug middle-end/90773] Improve piecewise operation

2021-04-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90773 --- Comment #6 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:985b3a6837dee7001e6b618f073ed74f0edf5787 commit r12-285-g985b3a6837dee7001e6b618f073ed74f0edf5787 Author: H.J. Lu Date: Mon Jun 10 09:5

[Bug tree-optimization/94589] Optimize (i<=>0)>0 to i>0

2021-04-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94589 --- Comment #13 from Richard Biener --- Created attachment 50707 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50707&action=edit prototype For reference this is the prototype patch I mentioned. I wasn't entirely happy and wanted to explo

[Bug tree-optimization/100173] telecom/viterb00data_1 has 16.92% regression compared O2 -ftree-vectorize -fvect-cost-model=very-cheap to O2 on CLX/ICX, 9% regression on znver3

2021-04-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100173 --- Comment #5 from Richard Biener --- (In reply to Hongtao.liu from comment #4) > > but yes, cselim will also sink the first store, moving it across the > > Can we also sink loads? loads are usually hoisted, not sunk. > assign pointer to ano

[Bug libgomp/81778] libgomp.c/for-5.c failure on nvptx -- illegal memory access

2021-04-29 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81778 Tom de Vries changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug target/100331] 128 bit arithmetic --- suboptimal after shifting when referencing other variables

2021-04-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100331 Richard Biener changed: What|Removed |Added Last reconfirmed||2021-04-29 Known to fail|

[Bug tree-optimization/94589] Optimize (i<=>0)>0 to i>0

2021-04-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94589 --- Comment #14 from Richard Biener --- #include bool k(int a, int b){ auto c = (a <=> b); return c>0; } Produces [local count: 1073741824]: if (a_1(D) == b_3(D)) goto ; [34.00%] else goto ; [66.00%] [local count: 708669

[Bug libstdc++/100334] New: atomic::notify_one() sometimes wakes wrong thread

2021-04-29 Thread m.cencora at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100334 Bug ID: 100334 Summary: atomic::notify_one() sometimes wakes wrong thread Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug tree-optimization/94589] Optimize (i<=>0)>0 to i>0

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

[Bug libstdc++/100334] atomic::notify_one() sometimes wakes wrong thread

2021-04-29 Thread m.cencora at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100334 --- Comment #1 from m.cencora at gmail dot com --- This test assumes previous waiter implementation (I used gcc-11 available from Ubuntu 21.04), latest atomic_wait impl has the same problem, it is just that waiter is selected in a different way,

[Bug target/99401] Rebuilding the compiler with itself fails at -O2

2021-04-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99401 --- Comment #7 from Jakub Jelinek --- Maybe dup of PR99872 ?

[Bug libstdc++/100334] atomic::notify_one() sometimes wakes wrong thread

2021-04-29 Thread m.cencora at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100334 --- Comment #2 from m.cencora at gmail dot com --- I have adapted the test to gcc trunk, but I am not entirely sure it is correct, because I don't have gcc trunk locally, I was just testing this on wandbox.org The problem is even bigger here, be

[Bug bootstrap/100327] [12 regression] bootstrap failure after r12-228

2021-04-29 Thread meissner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100327 Michael Meissner changed: What|Removed |Added CC||meissner at gcc dot gnu.org --- Comm

[Bug libstdc++/100334] atomic::notify_one() sometimes wakes wrong thread

2021-04-29 Thread m.cencora at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100334 --- Comment #3 from m.cencora at gmail dot com --- If my analysis is correct then: - we need to force __all = true param in __waiter_pool_base::_M_notify, - protect from spurious wakeups in __waiter_pool::_M_do_wait by rechecking if the value h

[Bug target/100312] __builtin_ia32_maskloadpd256 and friends should be pure

2021-04-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100312 --- Comment #3 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:fd5d57946036c967dae292330fa0aa856a58fb4b commit r12-290-gfd5d57946036c967dae292330fa0aa856a58fb4b Author: Uros Bizjak Date: Thu Ap

[Bug c++/100335] New: Using statement of a ref-qualified method from base class: method not callable on derived object

2021-04-29 Thread Daniel.Withopf at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100335 Bug ID: 100335 Summary: Using statement of a ref-qualified method from base class: method not callable on derived object Product: gcc Version: 10.3.1 Status: UNCONFIRMED

[Bug bootstrap/100327] [12 regression] bootstrap failure after r12-228

2021-04-29 Thread meissner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100327 --- Comment #5 from Michael Meissner --- Unfortunately the patch does not work because there aren't suffixes for IFmode and KFmode.

[Bug target/100085] Bad code for union transfer from __float128 to vector types

2021-04-29 Thread munroesj at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100085 --- Comment #5 from Steven Munroe --- Any progress on this?

[Bug target/100312] __builtin_ia32_maskloadpd256 and friends should be pure

2021-04-29 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100312 Uroš Bizjak changed: What|Removed |Added Assignee|rguenth at gcc dot gnu.org |ubizjak at gmail dot com

[Bug target/100321] [OpenMP][nvptx, SIMT] (Con't) Reduction fails with optimization and 'loop'/'for simd' but not with 'for'

2021-04-29 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100321 --- Comment #3 from Tom de Vries --- C example: ... /* { dg-additional-options "-foffload=-latomic" } */ #include struct s { int i; }; #pragma omp declare reduction(+: struct s: omp_out.i += omp_in.i) int main (void) { const int N0 = 32

[Bug c++/95486] ICE for alias CTAD with non-dependent argument and constrained constructor

2021-04-29 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95486 --- Comment #12 from Patrick Palka --- (In reply to Johel Ernesto Guerrero Peña from comment #11) > Thank you. But the first CE link: https://godbolt.org/z/cPWdGW, and with the > addition in Comment 2: https://godbolt.org/z/Gezh5h5W4, they still

[Bug target/100321] [OpenMP][nvptx, SIMT] (Con't) Reduction fails with optimization and 'loop'/'for simd' but not with 'for'

2021-04-29 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100321 --- Comment #4 from Tom de Vries --- During lower_rec_input_clauses in omp-low.c, the reduction clause is handled: ... case OMP_CLAUSE_REDUCTION: case OMP_CLAUSE_IN_REDUCTION: /* OpenACC reductions are initi

[Bug bootstrap/100327] [12 regression] bootstrap failure after r12-228

2021-04-29 Thread meissner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100327 Michael Meissner changed: What|Removed |Added Attachment #50708|0 |1 is obsolete|

[Bug target/100336] New: file trunk/gcc/config/i386/i386-isa.def doesn't get installed ok ?

2021-04-29 Thread dcb314 at hotmail dot com via Gcc-bugs
t/gcc/config/i386/i386-isa.def /home/dcb/gcc/results.20210429.asan.ubsan/lib/gcc/x86_64-pc-linux-gnu/12.0.0/plugin/include/config/i386/ $ My best guess is that the "make install" should do this copy.

[Bug tree-optimization/94589] Optimize (i<=>0)>0 to i>0

2021-04-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94589 --- Comment #16 from Jakub Jelinek --- Writing a phiopt patch now.

[Bug fortran/92482] BIND(C) with array-descriptor mishandled for type character

2021-04-29 Thread ivan.tubert-brohman at schrodinger dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92482 Ivan Tubert-Brohman changed: What|Removed |Added CC||ivan.tubert-brohman@schrodi

[Bug c++/100288] [11/12 Regression] g++-11 internal error and fails to precompile a concept

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

[Bug debug/100303] [11/12 Regression] -fcompare-debug failure (length) with -O -fno-dce -ftracer

2021-04-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100303 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:c97351c0cf4872cc0e99e73ed17fb16659fd38b3 commit r12-292-gc97351c0cf4872cc0e99e73ed17fb16659fd38b3 Author: Richard Sandiford Da

[Bug debug/100303] [11 Regression] -fcompare-debug failure (length) with -O -fno-dce -ftracer

2021-04-29 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100303 rsandifo at gcc dot gnu.org changed: What|Removed |Added Summary|[11/12 Regression] |[11 Regression]

[Bug libstdc++/100334] atomic::notify_one() sometimes wakes wrong thread

2021-04-29 Thread rodgertq at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100334 --- Comment #4 from Thomas Rodgers --- This analysis is likely correct, except for - "- protect from spurious wakeups in __waiter_pool::_M_do_wait by rechecking if the value has changed from old, if not then wait again" An earlier version of t

[Bug target/58067] ICE in GFortran recog.c:2158

2021-04-29 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58067 Zdenek Sojka changed: What|Removed |Added CC||zsojka at seznam dot cz --- Comment #13 f

[Bug target/46250] ICE: in extract_insn, at recog.c:2110 (unrecognizable insn) with -fPIC -mcmodel=large and __thread variable

2021-04-29 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46250 Zdenek Sojka changed: What|Removed |Added Known to work||5.5.0, 6.5.0, 7.5.0 --- Comment #7 from Z

[Bug fortran/100337] New: Should be able to pass non-present optional arguments to CO_BROADCAST

2021-04-29 Thread everythingfunctional at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100337 Bug ID: 100337 Summary: Should be able to pass non-present optional arguments to CO_BROADCAST Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal

[Bug target/99401] Rebuilding the compiler with itself fails at -O2

2021-04-29 Thread brechtsanders at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99401 Brecht Sanders changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/94102] Variadic template deduction guide issue - error: 'In instantiation of'

2021-04-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94102 --- Comment #4 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:f24702258fc78ac37b3e8154d76239cccd30c422 commit r12-294-gf24702258fc78ac37b3e8154d76239cccd30c422 Author: Marek Polacek Date: Thu

[Bug c++/94102] Variadic template deduction guide issue - error: 'In instantiation of'

2021-04-29 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94102 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/94589] Optimize (i<=>0)>0 to i>0

2021-04-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94589 --- Comment #17 from Jakub Jelinek --- Created attachment 50710 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50710&action=edit gcc12-pr94589-wip.patch WIP patch that just matches those spaceship comparisons followed by single use compari

[Bug c++/68942] overly strict use of deleted function before argument-dependent lookup (ADL)

2021-04-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68942 --- Comment #2 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:efeca0ac4155b76ce713155f190422aac20537c5 commit r12-295-gefeca0ac4155b76ce713155f190422aac20537c5 Author: Patrick Palka Date: Thu

[Bug c++/68942] overly strict use of deleted function before argument-dependent lookup (ADL)

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

[Bug target/100331] 128 bit arithmetic --- suboptimal after shifting when referencing other variables

2021-04-29 Thread mbenfield at google dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100331 Michael Benfield changed: What|Removed |Added CC||mbenfield at google dot com --- Comm

  1   2   >