[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 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 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 ---

[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

[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=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++/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 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

[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 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],

[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 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

[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 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/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

[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] __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

[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 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=edit not working patch This one misses the RTL expansion part. I'm too lazy to writing duplicate code to handle this.

[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 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

[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

[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:

[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

[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 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 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 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 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

[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

[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/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/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/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

[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

[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

[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 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/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 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

[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 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

[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 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 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 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

[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 debug/100304] [11/12 Regression] -fcompare-debug failure (length) with custom flags

2021-04-28 Thread zsojka at seznam dot cz via Gcc-bugs
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.0.0 20210

[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

[Bug target/100269] [12 Regression] i686 biarch compiler fails for Darwin after r12-36.

2021-04-28 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100269 --- Comment #1 from Iain Sandoe --- Created attachment 50705 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50705=edit patch under test It doesn't seem that the rationale for the changes in r12-35/36 is captured anywhere I could find -

[Bug c++/80475] Unevaluated combined delete new expression doesn't handle access error in class template SFINAE

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

[Bug c++/61806] [C++11] Expression sfinae w/o access gives hard error in partial template specializations

2021-04-28 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61806 --- Comment #9 from Patrick Palka --- *** Bug 80475 has been marked as a duplicate of this bug. ***

[Bug middle-end/100325] New: missing warning with -O0 on sprintf overflow with pointer plus offset

2021-04-28 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100325 Bug ID: 100325 Summary: missing warning with -O0 on sprintf overflow with pointer plus offset Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity:

[Bug middle-end/100325] missing warning with -O0 on sprintf overflow with pointer plus offset

2021-04-28 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100325 Martin Sebor changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug fortran/100283] [11/12 Regression] Call to MIN0 with integer(8) arguments raises an ICE

2021-04-28 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100283 anlauf at gcc dot gnu.org changed: What|Removed |Added Known to fail||11.1.0, 12.0

[Bug libgomp/98391] Wrong results with small matrix size

2021-04-28 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98391 --- Comment #3 from Tom de Vries --- Jakub, should this be marked as resolved-invalid?

[Bug target/100321] [OpenMP][nvptx] (Con't) 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=100321 Tom de Vries changed: What|Removed |Added CC||amonakov at gcc dot gnu.org --- Comment

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

2021-04-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100313 --- Comment #3 from Marek Polacek --- In fact, this is about -fno-delete-null-pointer-checks.

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

2021-04-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100288 --- Comment #2 from Marek Polacek --- Reduced test that shows the ICE: class ostream; template concept OstreamInsertable = requires(ostream out, Type value) { out << value; }; struct FMT {}; class CSVTabIns { template friend void

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

2021-04-28 Thread torel at simula dot no via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100324 Bug ID: 100324 Summary: gcc-10.2.0 (and earlier) fails to build on x86_64, but has builds just fine aarch64 Product: gcc Version: 10.3.0 Status: UNCONFIRMED

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

2021-04-28 Thread torel at simula dot no via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100324 --- Comment #1 from Tor --- Just compiled gcc-11.1.0 on aarch64. No problem for all languages.

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

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

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

2021-04-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100288 Marek Polacek changed: What|Removed |Added Target Milestone|--- |11.2 Last reconfirmed|

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

2021-04-28 Thread glisse at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100322 --- Comment #7 from Marc Glisse --- PR94589 then.

[Bug c++/52830] ICE: "canonical types differ for identical types ..." when attempting SFINAE with member type

2021-04-28 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52830 Xi Ruoyao changed: What|Removed |Added CC||xry111 at mengyan1223 dot wang --- Comment

[Bug libgomp/98391] Wrong results with small matrix size

2021-04-28 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98391 --- Comment #2 from Tom de Vries --- Fixed by: ... do i = 1, n +!$omp atomic c(i,j) = a(k) + c(i,j) end do ...

[Bug libgomp/98391] Wrong results with small matrix size

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

[Bug fortran/100283] [11/12 Regression] Call to MIN0 with integer(8) arguments raises an ICE

2021-04-28 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100283 --- Comment #2 from anlauf at gcc dot gnu.org --- The testcase is accepted with -fdefault-integer-8.

[Bug c++/85263] [concepts] ICE with parameter pack matching

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

[Bug c++/67491] [meta-bug] concepts issues

2021-04-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 85263, which changed state. Bug 85263 Summary: [concepts] ICE with parameter pack matching https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85263 What|Removed |Added

[Bug c++/100282] [11/12 Regression] ICE in dependent_type_p, at cp/pt.c:26813

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

[Bug c++/100031] ICE: in dependent_type_p, at cp/pt.c:26757

2021-04-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100031 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/100030] ICE: in dependent_type_p, at cp/pt.c:26757

2021-04-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100030 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/95872] Duplicated warning message in "-Wlogical-op"

2021-04-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95872 Marek Polacek changed: What|Removed |Added Last reconfirmed||2021-04-28 Ever confirmed|0

[Bug c++/19377] Using declaration in "private" part causes "protected" diagnostic

2021-04-28 Thread anthonysharp15 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19377 --- Comment #15 from Anthony Sharp --- This should now be fixed as part of my patch: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=be246ac2d26e1cb072f205bf97d5eac150220f3f

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

2021-04-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100217 --- Comment #12 from Jakub Jelinek --- For valgrind, the quick workaround would be -march=z13 when compiling the s390x tests that have register long double variables.

[Bug rtl-optimization/100225] [8/9/10/11/12 Regression] ICE in add_cross_iteration_register_deps, at ddg.c:291

2021-04-28 Thread zhroma at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100225 --- Comment #4 from Roman Zhuykov --- Created attachment 50704 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50704=edit Tested patch Fix in https://gcc.gnu.org/pipermail/gcc-patches/2021-April/569110.html, pushing to trunk tomorrow

[Bug c++/99465] Segmentation fault when put lambda into requires clause

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

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

2021-04-28 Thread wilson at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100316 Jim Wilson changed: What|Removed |Added CC||aoliva at gcc dot gnu.org,

[Bug c++/100248] ICE with global "default" keyword

2021-04-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100248 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[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 #12 from José Rui Faustino de Sousa --- (In reply to Dominique d'Humieres from comment #11) > Did you try to click on 'take' in > > Assignee: > Not yet assigned to anyone (edit) (take) > I do not have the "edit" or "take"

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

2021-04-28 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92621 --- Comment #13 from anlauf at gcc dot gnu.org --- (In reply to José Rui Faustino de Sousa from comment #12) > I do not have the "edit" or "take" links and if I click "Not yet assigned to > anyone" it tries to send an email to

[Bug libgomp/98391] Wrong results with small matrix size

2021-04-28 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98391 --- Comment #1 from Tom de Vries --- Minimal example openmp: ... program main implicit none integer :: i, j, k integer :: n = 2 real :: a(2), c(2,2), cc(2,2) a = 0.5 cc = 0 do j = 1, n do k = 1, n do i = 1, n

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

2021-04-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100313 --- Comment #2 from Marek Polacek --- Cleaned up: template struct Prop { void notify() { if constexpr (A != nullptr) { } } }; struct S { inline void fn() { } }; int main() { Prop<::fn> prop; prop.notify(); } Requires only

[Bug c++/100305] New: ICE in output_operand_lossage with -march=armv8.2-a -O3

2021-04-28 Thread gilles.gouaillardet at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100305 Bug ID: 100305 Summary: ICE in output_operand_lossage with -march=armv8.2-a -O3 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/100299] [11/12 Regression] cc1plus taking all RAM in EVRP

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

[Bug target/100306] New: aarch64: ICE (output_operand: invalid expression as operand) during final

2021-04-28 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100306 Bug ID: 100306 Summary: aarch64: ICE (output_operand: invalid expression as operand) during final Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

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

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

[Bug c++/100305] ICE in output_operand_lossage with -march=armv8.2-a -O3

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

[Bug c++/100305] ICE in output_operand_lossage with -march=armv8.2-a -O3

2021-04-28 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100305 --- Comment #3 from Alex Coplan --- The above ICEs with just -O3 or -O2 -ftree-vectorize

[Bug c++/100307] New: Wrong placement-new warning

2021-04-28 Thread s.rueckerl at tum dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100307 Bug ID: 100307 Summary: Wrong placement-new warning Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[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 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[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 gcov-profile/100289] [11/12 Regression] libgcc/libgcov.h: bootstrap failure due to missing #include

2021-04-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100289 --- Comment #5 from Richard Biener --- (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/Y6wFsSBdqv/ I wonder if you can attach this logfile in this bug

[Bug target/100306] aarch64: ICE (output_operand: invalid expression as operand) during final

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

[Bug c++/100305] ICE in output_operand_lossage with -march=armv8.2-a -O3

2021-04-28 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100305 Alex Coplan changed: What|Removed |Added CC||acoplan at gcc dot gnu.org --- Comment

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

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

  1   2   >