[Bug rtl-optimization/97756] [9/10/11/12 Regression] Inefficient handling of 128-bit arguments

2021-04-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97756 Jakub Jelinek changed: What|Removed |Added Severity|enhancement |normal CC|

[Bug ipa/100308] New: IPA CP ipcp_modif_dom_walker removes calls w/o updating the cgraph

2021-04-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100308 Bug ID: 100308 Summary: IPA CP ipcp_modif_dom_walker removes calls w/o updating the cgraph Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug ipa/100308] IPA CP ipcp_modif_dom_walker removes calls w/o updating the cgraph

2021-04-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100308 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug tree-optimization/100284] ICE in operation_could_trap_p with -march=armv8.2-a+sve -O3

2021-04-28 Thread gilles.gouaillardet at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100284 --- Comment #8 from Gilles Gouaillardet --- I made a mistake when building GCC 11.1.0, and I am happy to make the following correction: GCC 11.1.0 is *not* affected by this issue. The stack trace came from the master branch.

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

2021-04-28 Thread gilles.gouaillardet at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100305 --- Comment #4 from Gilles Gouaillardet --- Thanks Alex for the more minimal reproducer. Sadly, the just released GCC 11.1.0 crashed with this code.

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

2021-04-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100305 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.2 --- Comment #5 from Andrew Pinski

[Bug target/100302] ICE in abs_hwi, at hwint.h:324

2021-04-28 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 Ever confirmed|0 |1 CC|

[Bug target/100302] ICE in abs_hwi, at hwint.h:324

2021-04-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100302 --- Comment #1 from Jakub Jelinek --- Related to PR94121, just another abs_hwi needs to change to absu_hwi.

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

2021-04-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100305 --- Comment #6 from Andrew Pinski --- Here is one slightly more reduced testcase:typedef struct { int g[3]; int h[3]; } i; i j; double k; int l; void w(void *); void x(char); void u(void *, void *); void m() { char a[4096], o[4096], s[4096

[Bug c++/100309] New: [11 regression] false positive -Wstringop-overflow/stringop-overread/array-bounds on reinterpret_cast'd integers

2021-04-28 Thread sciresm.gccbugzilla at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100309 Bug ID: 100309 Summary: [11 regression] false positive -Wstringop-overflow/stringop-overread/array-bounds on reinterpret_cast'd integers Product: gcc Version: 11

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

2021-04-28 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 Target Milestone|--- |11.2 Summary|ICE in abs_hwi,

[Bug tree-optimization/100284] ICE in operation_could_trap_p with -march=armv8.2-a+sve -O3

2021-04-28 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100284 rsandifo at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|

[Bug target/100310] New: [AVX512] Missing support for v{,p}expand* instructions that w/o mask operands

2021-04-28 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100310 Bug ID: 100310 Summary: [AVX512] Missing support for v{,p}expand* instructions that w/o mask operands Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

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

2021-04-28 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100311 Bug ID: 100311 Summary: UB in sel-sched.c:init_regs_for_mode with -march=armv8-m.base Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug ada/66837] Non-Native Default_Scalar_Storage_Order Breaks Enum'Image

2021-04-28 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66837 Eric Botcazou changed: What|Removed |Added Target Milestone|--- |10.0 Status|NEW

[Bug c++/100309] [11 regression] false positive -Wstringop-overflow/stringop-overread/array-bounds on reinterpret_cast'd integers

2021-04-28 Thread harald at gigawatt dot nl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100309 Harald van Dijk changed: What|Removed |Added CC||harald at gigawatt dot nl --- Comment

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

2021-04-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100302 --- Comment #3 from Jakub Jelinek --- With -march=armv8.2-a+sve -O1 -ftree-loop-vectorize -fno-tree-scev-cprop --param vect-partial-vector-usage=0 -fvect-cost-model=unlimited it started to ICE already with r11-2221-g9fb832ce382d649b7687426e6bc4e

[Bug rtl-optimization/100263] [11/12 Regression] RTL optimizers miscompile loop

2021-04-28 Thread stefansf at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100263 --- Comment #6 from Stefan Schulze Frielinghaus --- Prior postreload we have (insn 12 379 332 3 (set (reg:QI 17 %f2 [orig:198 l_lsm_flag.27 ] [198]) (const_int 1 [0x1])) 1480 {*movqi} (expr_list:REG_EQUIV (const_int 1 [0x1])

[Bug ada/38325] Long_Long_Float'Image returns a wrong value in some cases

2021-04-28 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38325 Eric Botcazou changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug middle-end/100267] gcc -O2 for avx512 instrincts generates extra warnings and less optimizations

2021-04-28 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100267 --- Comment #3 from Hongtao.liu --- After support v{,p}expand* thats w/o mask operands, codegen seems to be optimal dummyf1_avx512x8: .LFB5668: .cfi_startproc movl(%rdi), %edx movq8(%rdi), %rax vmovdqu (%

[Bug target/100293] MinGW-w64 of nvptx offload engine fails

2021-04-28 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100293 Tom de Vries changed: What|Removed |Added CC||vries at gcc dot gnu.org --- Comment #4

[Bug target/100293] MinGW-w64 of nvptx offload engine fails

2021-04-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100293 --- Comment #5 from Jakub Jelinek --- The log file contains: error reading R:\winlibs64_stage\_TMP_\ccYEwkZW.o collect2.exe: error: ld returned 1 exit status which I bet is the problem, but it is unclear if the _TMP_ subdir exists...

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

2021-04-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100312 Bug ID: 100312 Summary: __builtin_ia32_maskloadpd256 and friends should be pure Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Prior

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

2021-04-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100312 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org L

[Bug c++/100313] New: pointer to member function is not const with sanitize=undefined

2021-04-28 Thread dushistov at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100313 Bug ID: 100313 Summary: pointer to member function is not const with sanitize=undefined Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal

[Bug target/82735] _mm256_zeroupper does not invalidate previously computed registers

2021-04-28 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82735 --- Comment #8 from Uroš Bizjak --- (In reply to Hongtao.liu from comment #7) > Confirmed, let me fix this. Please note that the current definition of vzeroupper does not model effects of the instruction at all. The current definition is intende

[Bug target/82735] _mm256_zeroupper does not invalidate previously computed registers

2021-04-28 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82735 --- Comment #9 from Uroš Bizjak --- (In reply to Richard Biener from comment #4) > Indeed as far as I understand an unspec volatile isn't sth clobbering > registers (not even memory?!). The insn is missing inputs/outputs > (we might be able to m

[Bug target/82735] _mm256_zeroupper does not invalidate previously computed registers

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

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

2021-04-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100302 --- Comment #4 from Jakub Jelinek --- Created attachment 50698 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50698&action=edit gcc12-pr100302.patch Untested fix.

[Bug fortran/97571] long parsing phase for simple array constructor

2021-04-28 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97571 anlauf at gcc dot gnu.org changed: What|Removed |Added Keywords||compile-time-hog --- Comment

[Bug c++/100309] [11/12 regression] false positive -Wstringop-overflow/stringop-overread/array-bounds on reinterpret_cast'd integers

2021-04-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100309 Richard Biener changed: What|Removed |Added Keywords||diagnostic Summary|[11 regr

[Bug c++/100307] [11/12 Regression] Wrong placement-new warning

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

[Bug target/82735] _mm256_zeroupper does not invalidate previously computed registers

2021-04-28 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82735 --- Comment #11 from Uroš Bizjak --- (In reply to Uroš Bizjak from comment #9) > (In reply to Richard Biener from comment #4) > > Indeed as far as I understand an unspec volatile isn't sth clobbering > > registers (not even memory?!). The insn i

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

2021-04-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100303 Jakub Jelinek changed: What|Removed |Added Ever confirmed|0 |1 CC|

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

2021-04-28 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100305 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug middle-end/100267] gcc -O2 for avx512 instrincts generates extra warnings and less optimizations

2021-04-28 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100267 --- Comment #4 from Hongtao.liu --- (In reply to Hongtao.liu from comment #3) > After support v{,p}expand* thats w/o mask operands, codegen seems to be > optimal > I was wrong, without mask, it's just simple move.

[Bug debug/100304] [11/12 Regression] -fcompare-debug failure (length) with custom flags

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

[Bug rtl-optimization/100263] [11/12 Regression] RTL optimizers miscompile loop

2021-04-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100263 Jakub Jelinek changed: What|Removed |Added CC||amylaar at gcc dot gnu.org,

[Bug target/100293] MinGW-w64 of nvptx offload engine fails

2021-04-28 Thread brechtsanders at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100293 --- Comment #6 from Brecht Sanders --- Yes, that folder exists and that's where my TMP and TEMP environment variables point to. I also tried to point them to a folder on the C: drive, as R: is a RAM drive and I wanted to exclude that that was

[Bug tree-optimization/100292] [12 Regression] ICE: verify_gimple failed: invalid operands in ternary operation (during GIMPLE pass: veclower) with vectors

2021-04-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100292 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:f7ee6a1e8ac62950dd32874bf75e748a2895d595 commit r12-212-gf7ee6a1e8ac62950dd32874bf75e748a2895d595 Author: Richard Biener Date:

[Bug tree-optimization/100292] [12 Regression] ICE: verify_gimple failed: invalid operands in ternary operation (during GIMPLE pass: veclower) with vectors

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

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

2021-04-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100312 --- Comment #2 from Richard Biener --- Created attachment 50699 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50699&action=edit not working patch This one misses the RTL expansion part. I'm too lazy to writing duplicate code to handle t

[Bug c++/100307] [11/12 Regression] Wrong placement-new warning

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

[Bug tree-optimization/100314] New: missed optimization for dead code elimination at -O3 (vs. -O1)

2021-04-28 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
LTO compression algorithms: zlib gcc version 12.0.0 20210428 (experimental) [master revision 852dd866e2f:9b04e5b2651:b81e2d5e76a6bcc71f45b122e8b5538ddb7ebf4c] (GCC) [593] % [593] % gcctk -O1 -S -o O1.s small.c [594] % gcctk -O3 -S -o O3.s small.c [595] % [595] % wc O1.s O3.s 21 45 392 O1.s

[Bug target/100293] MinGW-w64 of nvptx offload engine fails

2021-04-28 Thread brechtsanders at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100293 --- Comment #7 from Brecht Sanders --- I ran the following commands based on what was in config.log cat > conftest.c << EOF /* confdefs.h */ #define PACKAGE_NAME "GNU Atomic Library" #define PACKAGE_TARNAME "libatomic" #define PACKAGE_VERSION

[Bug gcov-profile/100289] [11/12 Regression] libgcc/libgcov.h: bootstrap failure due to missing #include

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

[Bug target/97367] powerpc64 g5 and cell optimizations result in .machine power7

2021-04-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97367 --- Comment #2 from Jonathan Wakely --- (In reply to Mikael Pettersson from comment #1) > Care to submit this to gcc-patches? Please send it to the mailing list. Patches don't go in bugzilla, thanks. https://gcc.gnu.org/contribute.html#patches

[Bug target/100293] MinGW-w64 of nvptx offload engine fails

2021-04-28 Thread brechtsanders at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100293 --- Comment #8 from Brecht Sanders --- Additional test: Running this manually (in MSYS2 shell) also fails: R:/winlibs32_stage/gcc-offload-nvptx-11.1.0/gcc-11.1.0/build_win_offload-nvptx/gcc/as -v -m sm_35 -o 'R:\winlibs32_stage\_TMP_\ccYJWYIt.o

[Bug tree-optimization/100315] New: missed optimization for dead code elimination at -O3, -O2 (vs. -O1, -Os)

2021-04-28 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
Supported LTO compression algorithms: zlib gcc version 12.0.0 20210428 (experimental) [master revision 852dd866e2f:9b04e5b2651:b81e2d5e76a6bcc71f45b122e8b5538ddb7ebf4c] (GCC) [584] % [584] % gcctk -O1 -S -o O1.s small.c [585] % gcctk -O3 -S -o O3.s small.c [586] % [586] % wc O1.s O3.s 14 30

[Bug target/97367] powerpc64 g5 and cell optimizations result in .machine power7

2021-04-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97367 Jonathan Wakely changed: What|Removed |Added Keywords||patch URL|

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

2021-04-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99954 --- Comment #8 from CVS Commits --- The releases/gcc-9 branch has been updated by Richard Biener : https://gcc.gnu.org/g:b091cb1efa1881e93fb2e264daaab8876acf6800 commit r9-9471-gb091cb1efa1881e93fb2e264daaab8876acf6800 Author: Richard Biener D

[Bug target/97367] powerpc64 g5 and cell optimizations result in .machine power7

2021-04-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97367 --- Comment #4 from Jonathan Wakely --- Rebased patch: https://svn.exactcode.de/t2/trunk/package/develop/gcc/g5-cell-not-power7.patch

[Bug rtl-optimization/100263] [11/12 Regression] RTL optimizers miscompile loop

2021-04-28 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100263 --- Comment #8 from Eric Botcazou --- > I did a quick test by using instead > > diff --git a/gcc/postreload.c b/gcc/postreload.c > index dc67643384d..64297be2c45 100644 > --- a/gcc/postreload.c > +++ b/gcc/postreload.c > @@ -1732,12 +1732,7 @@

[Bug target/100182] [8/9/10/11/12 Regression] Miscompilation of atomic_float/1.cc and atomic_float/wait_notify.cc on i686

2021-04-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100182 --- Comment #23 from CVS Commits --- The releases/gcc-11 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:c03f3077b1517a01c917f75179100f9d10b39156 commit r11-8313-gc03f3077b1517a01c917f75179100f9d10b39156 Author: Uros Bizjak Dat

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

2021-04-28 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 Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/82735] _mm256_zeroupper does not invalidate previously computed registers

2021-04-28 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82735 --- Comment #12 from Hongtao.liu --- (In reply to Jakub Jelinek from comment #10) > Last touched in PR99563. > I guess for the explicit user vzeroupper we need to add the clobbers/sets > earlier than in the vzeroupper pass, but ideally in a way t

[Bug target/100236] arm: UB in arm_compute_save_core_reg_mask (shift exponent 4294967295 is too large for 32-bit type 'int')

2021-04-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100236 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Earnshaw : https://gcc.gnu.org/g:100cc845cda3843e87f152f845b11b70fee3d7bc commit r11-8315-g100cc845cda3843e87f152f845b11b70fee3d7bc Author: Richard Earn

[Bug debug/100304] [11/12 Regression] -fcompare-debug failure (length) with custom flags

2021-04-28 Thread zsojka at seznam dot cz via Gcc-bugs
h-ld=/usr/bin/x86_64-pc-linux-gnu-ld --with-as=/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r12-212-20210428120349-gf7ee6a1e8ac-checking-release-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12

[Bug gcov-profile/100289] [11/12 Regression] libgcc/libgcov.h: bootstrap failure due to missing #include

2021-04-28 Thread rudi at heitbaum dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100289 --- Comment #7 from rudi at heitbaum dot com --- Here is the find / -name mman.h http://paste.ubuntu.com/p/KVdjQp8qq3/ ./usr/include/x86_64-linux-gnu/asm/mman.h ./usr/include/x86_64-linux-gnu/bits/mman.h ./usr/include/x86_64-linux-gnu/sys/mman.h

[Bug gcov-profile/100289] [11/12 Regression] libgcc/libgcov.h: bootstrap failure due to missing #include

2021-04-28 Thread rudi at heitbaum dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100289 --- Comment #8 from rudi at heitbaum dot com --- This is after a success LibreELEC10 build with gcc 10.3.0. Just testing build of gcc:bootstrap and gcc:host after doing a scripts/clean gcc. This works. So now doing a full make clean (which is w

[Bug libstdc++/100298] [11/12 Regression] noexcept is missing for thread::hardware_concurrency clang refuses the code

2021-04-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100298 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2021-04-28 Summary|noexcep

[Bug rtl-optimization/100263] [11/12 Regression] RTL optimizers miscompile loop

2021-04-28 Thread stefansf at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100263 --- Comment #9 from Stefan Schulze Frielinghaus --- Shouldn't we rather check for REG_CAN_CHANGE_MODE_P? A check for TARGET_HARD_REGNO_MODE_OK for a FP register and QImode is successful. Using the following also fixes the test for me: diff --

[Bug libstdc++/100298] [11/12 Regression] noexcept is missing for thread::hardware_concurrency clang refuses the code

2021-04-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100298 --- Comment #1 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:5cc28000cfcc219fb4c45dbc5388ec05109049af commit r12-215-g5cc28000cfcc219fb4c45dbc5388ec05109049af Author: Jonathan Wakely Date:

[Bug libstdc++/100298] [11/12 Regression] noexcept is missing for thread::hardware_concurrency clang refuses the code

2021-04-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100298 --- Comment #2 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:aae5106525d850c5f3ae8265374ead16c5e0a9b7 commit r11-8316-gaae5106525d850c5f3ae8265374ead16c5e0a9b7 Author: Jonathan Wake

[Bug libstdc++/100298] [11/12 Regression] noexcept is missing for thread::hardware_concurrency clang refuses the code

2021-04-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100298 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug rtl-optimization/100263] [11/12 Regression] RTL optimizers miscompile loop

2021-04-28 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100263 --- Comment #10 from Eric Botcazou --- > Shouldn't we rather check for REG_CAN_CHANGE_MODE_P? A check for > TARGET_HARD_REGNO_MODE_OK for a FP register and QImode is successful. OK, then it's probably better to add it to: if (!is_a (reg

[Bug c++/100102] [8/9/10/11/12 Regression] ICE in tsubst, at cp/pt.c:15310

2021-04-28 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100102 Patrick Palka changed: What|Removed |Added Component|tree-optimization |c++ CC|

[Bug gcov-profile/100289] [11/12 Regression] libgcc/libgcov.h: bootstrap failure due to missing #include

2021-04-28 Thread rudi at heitbaum dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100289 --- Comment #9 from rudi at heitbaum dot com --- After a full make clean: The bootstrap build fails: In file included from /storage/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-10.0-devel/build/gcc-11.1.0/libgcc/libgcov-merge.c:26: /s

[Bug gcov-profile/100289] [11/12 Regression] libgcc/libgcov.h: bootstrap failure due to missing #include

2021-04-28 Thread rudi at heitbaum dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100289 --- Comment #10 from rudi at heitbaum dot com --- After a full make clean: The bootstrap build fails: In file included from /storage/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-10.0-devel/build/gcc-11.1.0/libgcc/libgcov-merge.c:26: /

[Bug gcov-profile/100289] [11/12 Regression] libgcc/libgcov.h: bootstrap failure due to missing #include

2021-04-28 Thread rudi at heitbaum dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100289 --- Comment #11 from rudi at heitbaum dot com --- Created attachment 50700 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50700&action=edit Config.log As requested by Richard

[Bug gcov-profile/100289] [11/12 Regression] libgcc/libgcov.h: bootstrap failure due to missing #include

2021-04-28 Thread rudi at heitbaum dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100289 --- Comment #12 from rudi at heitbaum dot com --- (In reply to Richard Biener from comment #5) > (In reply to rudi from comment #4) > > .x86_64-linux-gnu-bootstrap/x86_64-libreelec-linux-gnu/libgcc/config.log > > http://paste.ubuntu.com/p/Y6wFsSB

[Bug c++/100295] Internal compiler error from generic lambda capturing parameter pack and expanding it in if constexpr

2021-04-28 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100295 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug target/100316] New: Regression: __clear_cache() does not support NULL-pointer arguments

2021-04-28 Thread christophm30 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100316 Bug ID: 100316 Summary: Regression: __clear_cache() does not support NULL-pointer arguments Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

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

2021-04-28 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 Status|NEW |ASSIGNED Assign

[Bug fortran/92621] Problems with memory handling with allocatable intent(out) arrays with bind(c)

2021-04-28 Thread jrfsousa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92621 --- Comment #10 from José Rui Faustino de Sousa --- (In reply to Dominique d'Humieres from comment #9) > > Patch (version 2) posted: > > > > https://gcc.gnu.org/pipermail/fortran/2021-April/055991.html > > Please assign the PR to yourself when y

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

2021-04-28 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 CC||amonakov at gcc dot gnu.org --- Comment

[Bug rtl-optimization/100317] New: 64-bit integer compare gives wrong result when MIN_INT64 is one of the operands

2021-04-28 Thread peshkoff at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100317 Bug ID: 100317 Summary: 64-bit integer compare gives wrong result when MIN_INT64 is one of the operands Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severit

[Bug target/82735] _mm256_zeroupper does not invalidate previously computed registers

2021-04-28 Thread marcin.slusarz at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82735 --- Comment #13 from Marcin Ślusarz --- FTR, to reproduce this problem with gcc 9 and 10 I had to either replace -mavx with -march=native or add -mtune=native. The problem starts reproducing with -march=haswell.

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

2021-04-28 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100232 --- Comment #4 from Tom de Vries --- This commit: ... commit 3af3bec2e4d344bd54a134d8b2263f44d788c3d8 Author: Richard Sandiford Date: Mon May 4 21:21:16 2020 +0100 internal-fn: Avoid dropping the lhs of some calls [PR94941] ... adds: ...

[Bug target/100182] [8/9/10/11/12 Regression] Miscompilation of atomic_float/1.cc and atomic_float/wait_notify.cc on i686

2021-04-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100182 --- Comment #24 from CVS Commits --- The releases/gcc-10 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:39e8bfe7217898e8d21bcc55efe6992fbde262f1 commit r10-9775-g39e8bfe7217898e8d21bcc55efe6992fbde262f1 Author: Uros Bizjak Dat

[Bug rtl-optimization/100317] 64-bit integer compare gives wrong result when MIN_INT64 is one of the operands

2021-04-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100317 Richard Biener changed: What|Removed |Added Known to work||10.3.0, 9.3.1 Known to fail|

[Bug fortran/92621] Problems with memory handling with allocatable intent(out) arrays with bind(c)

2021-04-28 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92621 --- Comment #11 from Dominique d'Humieres --- > I don't think I have the necessary permissions, but I may be missing > something > obvious... Did you try to click on 'take' in Assignee: Not yet assigned to anyone (edit) (take) ? If y

[Bug rtl-optimization/100317] 64-bit integer compare gives wrong result when MIN_INT64 is one of the operands

2021-04-28 Thread peshkoff at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100317 Alex Peshkoff changed: What|Removed |Added Known to work||10.2.0 --- Comment #2 from Alex Peshkof

[Bug rtl-optimization/100263] [11/12 Regression] RTL optimizers miscompile loop

2021-04-28 Thread stefansf at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100263 --- Comment #11 from Stefan Schulze Frielinghaus --- (In reply to Eric Botcazou from comment #10) > OK, then it's probably better to add it to: > > if (!is_a (reg_mode[regno], &old_mode) > || !MODES_OK_FOR_MOVE2ADD (mode, old_mod

[Bug rtl-optimization/100317] 64-bit integer compare gives wrong result when MIN_INT64 is one of the operands

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

[Bug rtl-optimization/100317] 64-bit integer compare gives wrong result when MIN_INT64 is one of the operands

2021-04-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100317 --- Comment #4 from Jakub Jelinek --- An the reason it hasn't been backported to 8 branch is that ABSU_EXPR doesn't exist there.

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

2021-04-28 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100232 --- Comment #5 from Tom de Vries --- https://gcc.gnu.org/pipermail/gcc-patches/2021-April/569038.html

[Bug middle-end/100318] New: [OpenMP] Offloading with two identically named static functions fails

2021-04-28 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100318 Bug ID: 100318 Summary: [OpenMP] Offloading with two identically named static functions fails Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: openmp

[Bug middle-end/100262] warning on sparc64: 'strcmp' reading 1 or more bytes from a region of size 0 [-Werror=stringop-overread]

2021-04-28 Thread romain.naour at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100262 --- Comment #6 from Romain Naour --- Hello, Thanks for the help and confirm that's a problem on the existing code, not on gcc. Best regards, Romain

[Bug c++/100240] Compiler crashes with segmentation fault on a chrono library using nvcc

2021-04-28 Thread taraba.peter at mail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100240 Peter Taraba changed: What|Removed |Added Resolution|--- |DUPLICATE Status|WAITING

[Bug c++/100102] [8/9/10/11/12 Regression] ICE in tsubst, at cp/pt.c:15310

2021-04-28 Thread taraba.peter at mail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100102 Peter Taraba changed: What|Removed |Added CC||taraba.peter at mail dot com --- Comment

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

2021-04-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100319 Bug ID: 100319 Summary: Incorrect check for detach clause argument in data-sharing clauses Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

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

2021-04-28 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 Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug c/100320] New: regression: 32-bit x86 memcpy is suboptimal

2021-04-28 Thread vda.linux at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100320 Bug ID: 100320 Summary: regression: 32-bit x86 memcpy is suboptimal Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

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

2021-04-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100319 --- Comment #1 from Jakub Jelinek --- Created attachment 50702 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50702&action=edit gcc11-pr100319.patch Untested fix.

[Bug c++/96560] Substitution triggers compile-time error when it shouldn't

2021-04-28 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96560 Patrick Palka changed: What|Removed |Added Last reconfirmed||2021-04-28 CC|

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

2021-04-28 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100321 Bug ID: 100321 Summary: [OpenMP][nvptx] (Con't) Reduction fails with optimization and 'loop'/'for simd' but not with 'for' Product: gcc Version: 11.0 Status: UNCONFIRMED

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

2021-04-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100320 Jakub Jelinek changed: What|Removed |Added Component|c |target Target Milestone|---

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

2021-04-28 Thread vda.linux at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100320 --- Comment #2 from Denis Vlasenko --- The relevant code in current git seems to be: static void expand_set_or_cpymem_via_rep (rtx destmem, rtx srcmem, rtx destptr, rtx srcptr, rtx value, rtx orig_value,

[Bug libstdc++/94418] Please make reverse_iterator nothrow constructible when possible

2021-04-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94418 --- Comment #5 from Jonathan Wakely --- Implemented downstream: https://gitlab.com/jonathan-wakely/gcc

  1   2   >