[Bug other/109086] __builtin_strcmp generates wrong code if expand_simple_binop assigns new pseudo-register for result

2023-03-15 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109086 Xi Ruoyao changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |xry111 at gcc dot gnu.org

[Bug other/109086] __builtin_strcmp generates wrong code if expand_simple_binop assigns new pseudo-register for result

2023-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109086 --- Comment #11 from Richard Biener --- OK, so the issue is that expand_simple_binop will not necessarily return a register and emit_cmp_and_jump_insns eventually mangles things. The proposed fix looks OK, but please add a comment like /* For

[Bug c/109123] Bogus warning: pointer used after 'realloc' -Wuse-after-free with -O2

2023-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109123 --- Comment #9 from Richard Biener --- Created attachment 54668 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54668&action=edit patch The diagnostic pass (pass_warn_access) is already split into two modes, unfortunately the -Wuse-after-f

[Bug c/109139] New: ice in make_decl_rtl, at varasm.cc:1442

2023-03-15 Thread dcb314 at hotmail dot com via Gcc-bugs
;) for (; ipmi_ek_compare_link_record2_0;) { int link[COMPARE_CANDIDATE]; } } when compiled by today's gcc trunk, does this: $ ~/gcc/results.20230315/bin/gcc -c -w -O1 -ftrivial-auto-var-init=zero bug896.c during RTL pass: expand bug896.c: In function ‘ipmi_ek_compare_link’: bug89

[Bug sanitizer/109134] UBSan signed integer overflow check missing

2023-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109134 --- Comment #1 from Richard Biener --- Having that extra TYPE_OVERFLOW_SANITIZED really isn't sustainable. But the main issue is that the instrumentation happens after (some) folding has taken place. We probably also have still code second-gue

[Bug tree-optimization/109139] [13 Regression] ice in make_decl_rtl, at varasm.cc:1442

2023-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109139 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug driver/109135] Wrong make utility called with LTO testsuite

2023-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109135 --- Comment #6 from Richard Biener --- (In reply to Steve Kargl from comment #4) > On Tue, Mar 14, 2023 at 10:36:27PM +, sgk at troutmask dot > apl.washington.edu wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109135 > > > > --- Co

[Bug tree-optimization/109139] [13 Regression] ice in make_decl_rtl, at varasm.cc:1442

2023-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109139 --- Comment #2 from Andrew Pinski --- I am almost positive it is r13-6661-gbd6e566e9dc543cf4f6df69dcefb40bb8b4100f1 .

[Bug target/109137] [12/13 regression] Compiling ffmpeg with -m32 on x86_64-pc-linux-gnu hangs on libavcodec/h264_cabac.c since r12-9086-g489c81db7d4f75

2023-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109137 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.3 Known to fail|

[Bug tree-optimization/109138] wrong code at -O1 and above on x86_64-linux-gnu

2023-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109138 Richard Biener changed: What|Removed |Added Version|unknown |13.0 --- Comment #2 from Richard Biene

[Bug target/109137] [12/13 regression] Compiling ffmpeg with -m32 on x86_64-pc-linux-gnu hangs on libavcodec/h264_cabac.c since r12-9086-g489c81db7d4f75

2023-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109137 --- Comment #9 from Andrew Pinski --- (In reply to Richard Biener from comment #8) > Honza, the reporter uses -march=znver1 - why did these backports affect > anything but zen4? (X86_TUNE_AVX256_MOVE_BY_PIECES): Add znver1-3. (X86_TUNE_AVX256_

[Bug target/109087] [13 Regression] csmith: end of year runtime bug since r13-4839-geef81eefcdc2a581

2023-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109087 --- Comment #16 from Richard Biener --- I've pushed the more aggressive .DEFERRED_INIT removal so the issue might be only latent now.

[Bug target/109004] [10/11/12/13 Regression] wrong code for -O2 (any above -O0) with g++ 11.3 for POWER9 (cross-compiler on x86_64 host)

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

[Bug tree-optimization/109139] [13 Regression] ice in make_decl_rtl, at varasm.cc:1442

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

[Bug target/109087] [13 Regression] csmith: end of year runtime bug since r13-4839-geef81eefcdc2a581

2023-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109087 --- Comment #17 from Jakub Jelinek --- I think the rest is discussed in PR109093...

[Bug tree-optimization/109138] wrong code at -O1 and above on x86_64-linux-gnu

2023-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109138 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug fortran/58331] [OOP] Bogus rank checking with explicit-/assumed-size arrays and CLASS

2023-03-15 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58331 --- Comment #9 from Tobias Burnus --- COARRAYS: (In reply to anlauf from comment #7) > I tried other testcases that use coarrays, but e.g. the following scalar > coarray case produces an ICE later on. I believe this is a pre-existing > separate

[Bug target/109137] [12/13 regression] Compiling ffmpeg with -m32 on x86_64-pc-linux-gnu hangs on libavcodec/h264_cabac.c since r12-9086-g489c81db7d4f75

2023-03-15 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109137 --- Comment #10 from rguenther at suse dot de --- On Wed, 15 Mar 2023, pinskia at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109137 > > --- Comment #9 from Andrew Pinski --- > (In reply to Richard Biener from commen

[Bug modula2/109125] [13 regression] SIGBUS in m2pim_ldtoa_ldtoa

2023-03-15 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109125 --- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #2 from Gaius Mulley --- [...] > Version 2 of the patch catches some more cases found in the iso libraries. I've tried that one last night and most of the failures are go

[Bug target/109093] [13 regression] csmith: a February runtime bug ?

2023-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109093 --- Comment #18 from Jakub Jelinek --- I'd like to understand what is the difference between those .DEFERRED_INITs on unused vars and normal vars. If I try typedef int V __attribute__((vector_size (16))); __attribute__((noipa)) void foo () {

[Bug tree-optimization/109138] [10/11/12/13 Regression] wrong code at -O1 and above on x86_64-linux-gnu

2023-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109138 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P2 CC|

[Bug other/109086] __builtin_strcmp generates wrong code if expand_simple_binop assigns new pseudo-register for result

2023-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109086 --- Comment #12 from CVS Commits --- The master branch has been updated by Xi Ruoyao : https://gcc.gnu.org/g:45641f3a99281bb0a429649741a29c2aace4c63e commit r13-6690-g45641f3a99281bb0a429649741a29c2aace4c63e Author: Xi Ruoyao Date: Wed Mar

[Bug other/109086] __builtin_strcmp generates wrong code if expand_simple_binop assigns new pseudo-register for result

2023-03-15 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109086 Xi Ruoyao changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/109139] [13 Regression] ice in make_decl_rtl, at varasm.cc:1442

2023-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109139 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:0fc541efc340535d212cd685176bd9592905de8a commit r13-6691-g0fc541efc340535d212cd685176bd9592905de8a Author: Richard Biener Date:

[Bug tree-optimization/109139] [13 Regression] ice in make_decl_rtl, at varasm.cc:1442

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

[Bug tree-optimization/109138] [10/11/12/13 Regression] wrong code at -O1 and above on x86_64-linux-gnu

2023-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109138 Jakub Jelinek changed: What|Removed |Added Resolution|--- |INVALID Status|NEW

[Bug bootstrap/107299] [13 regression] ICE in stage 1 after r13-3307-g8efc38347a7444

2023-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107299 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/109140] New: ICE when building qemu (qemu-user, MIPS component) on sparc64-unknown-linux-gnu with -march=niagara4

2023-03-15 Thread sam at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109140 Bug ID: 109140 Summary: ICE when building qemu (qemu-user, MIPS component) on sparc64-unknown-linux-gnu with -march=niagara4 Product: gcc Version: 13.0 Status: UNCONFIRM

[Bug target/109140] ICE when building qemu (qemu-user, MIPS component) on sparc64-unknown-linux-gnu with -march=niagara4

2023-03-15 Thread sam at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109140 --- Comment #1 from Sam James --- Created attachment 54669 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54669&action=edit target_mips_tcg_lmmi_helper.c.i.xz

[Bug target/109140] ICE when building qemu (qemu-user, MIPS component) on sparc64-unknown-linux-gnu with -march=niagara4

2023-03-15 Thread sam at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109140 --- Comment #2 from Sam James --- Created attachment 54670 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54670&action=edit reduced.i Attached reduced version. ``` # sparc64-unknown-linux-gnu-gcc reduced.i -O2 -mcpu=niagara4 -c reduced.i

[Bug target/109140] ICE when building qemu (qemu-user, MIPS component) on sparc64-unknown-linux-gnu with -march=niagara4

2023-03-15 Thread sam at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109140 --- Comment #3 from Sam James --- I'll bisect later but someone is free to beat me if they want. I think 11 was fine, but need to check.

[Bug tree-optimization/106904] [12 Regression] Incorrect -Wstringop-overflow with partial memcpy() into a nested structure

2023-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106904 --- Comment #9 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:97d599e09b0fd389a7cbac8867e56977ec97900f commit r12-9254-g97d599e09b0fd389a7cbac8867e56977ec97900f Author: Richard Biener

[Bug analyzer/107396] [13 regression] new test case gcc.dg/analyzer/pipe-glibc.c in r13-3466-g792f039fc37faa fails with excess errors

2023-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107396 --- Comment #3 from Richard Biener --- The diagnostic is correct I think - I wonder why I do not see it on x86_64-linux. It probably depends on the glibc version (I have 2.31)

[Bug tree-optimization/107451] [11/12 Regression] Segmentation fault with vectorized code since r11-6434

2023-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107451 --- Comment #13 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:c722c6b061a5e909267eae53ffe5910fbe0a7d5e commit r12-9255-gc722c6b061a5e909267eae53ffe5910fbe0a7d5e Author: Richard Biene

[Bug tree-optimization/108500] [11/12 Regression] -O -finline-small-functions results in "internal compiler error: Segmentation fault" on a very large program (700k function calls)

2023-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108500 --- Comment #23 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:b955080a5ab8690902f7cc99a770f9c3da171d6f commit r12-9256-gb955080a5ab8690902f7cc99a770f9c3da171d6f Author: Richard Biene

[Bug tree-optimization/108724] [11/12 Regression] Poor codegen when summing two arrays without AVX or SSE

2023-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108724 --- Comment #7 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:21e7145aaf582c263e69a3ee05dfa9d42bdbd1aa commit r12-9258-g21e7145aaf582c263e69a3ee05dfa9d42bdbd1aa Author: Richard Biener

[Bug tree-optimization/108821] [11/12 Regression] LIM reissuing a violatile store when it cannot/should not

2023-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108821 --- Comment #6 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:dbbbaed64f39aae57f5f167174121c1be9d18282 commit r12-9261-gdbbbaed64f39aae57f5f167174121c1be9d18282 Author: Richard Biener

[Bug target/108950] [11/12 Regression] ICE: verify_gimple failed (error: conversion of register to a different size in 'view_convert_expr'; error: type mismatch in 'widen_sum_expr') since r11-418-g584

2023-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108950 --- Comment #5 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:f4e4108dd005084fc1c88bba14fda6b200e70daa commit r12-9262-gf4e4108dd005084fc1c88bba14fda6b200e70daa Author: Richard Biener

[Bug tree-optimization/108625] [11/12 Regression] forwprop introduces new UB

2023-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108625 --- Comment #4 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:e19e9c36abc7fff9c628cf744e55e4c0e686ea53 commit r12-9257-ge19e9c36abc7fff9c628cf744e55e4c0e686ea53 Author: Richard Biener

[Bug tree-optimization/108793] [12 Regression] ICE: verify_gimple failed since r12-3136-g3673dcf6d6baeb67

2023-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108793 --- Comment #6 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:0a3642dde799ee2be9f2b60ec361191176390005 commit r12-9259-g0a3642dde799ee2be9f2b60ec361191176390005 Author: Richard Biener

[Bug tree-optimization/108430] [12 Regression] Wrong code with -msve-vector-bits=512 since r13-707-g68e0063397

2023-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108430 Richard Biener changed: What|Removed |Added Known to work||13.0 Known to fail|13.0

[Bug tree-optimization/108816] [12 Regression] ICE in operator[], at vec.h:889

2023-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108816 --- Comment #5 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:02ff8c8ebcb7f9b0885946d17ff12523e7522b71 commit r12-9260-g02ff8c8ebcb7f9b0885946d17ff12523e7522b71 Author: Richard Biener

[Bug testsuite/108898] [13 Regression] Test introduced by r13-6278-g3da77f217c8b2089ecba3eb201e727c3fcdcd19d failed on i386

2023-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108898 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/107087] [13 Regression] bits/stl_algobase.h:431: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' reading between 8 and 2147483644 bytes from a region of siz

2023-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107087 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.0 Version|12.2.1

[Bug c++/108563] [10/11/12 Regression] [concepts] ICE (segfault) when requiring sizeof(variable_tempalate_v) since r10-7441-ga7ea3d2ced786c45

2023-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108563 Richard Biener changed: What|Removed |Added Summary|[10/11/12/13 Regression]|[10/11/12 Regression]

[Bug c++/108566] [11/12 Regression] ICE: tree check: expected tree that contains 'decl with visibility' structure, have 'field_decl' in write_unqualified_name with anonymous struct inside an anonymous

2023-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108566 Richard Biener changed: What|Removed |Added Known to work||13.0 Priority|P3

[Bug target/108807] [11/12/13 regression] gcc.target/powerpc/vsx-builtin-10d.c fails after r11-6857-gb29225597584b6 on power 9 BE

2023-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108807 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.4 Keywords|

[Bug target/109069] [12/13 Regression] Vector truncation test program produces incorrect result since r12-6537-g080a06fcb076b3

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

[Bug tree-optimization/108500] [11 Regression] -O -finline-small-functions results in "internal compiler error: Segmentation fault" on a very large program (700k function calls)

2023-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108500 Richard Biener changed: What|Removed |Added Known to work||12.2.1 Summary|[11/12 Regre

[Bug tree-optimization/108793] [12 Regression] ICE: verify_gimple failed since r12-3136-g3673dcf6d6baeb67

2023-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108793 Richard Biener changed: What|Removed |Added Known to work||12.2.1 Known to fail|

[Bug tree-optimization/108816] [12 Regression] ICE in operator[], at vec.h:889

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

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

2023-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443 Bug 88443 depends on bug 106904, which changed state. Bug 106904 Summary: [12 Regression] Incorrect -Wstringop-overflow with partial memcpy() into a nested structure https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106904 What|Removed

[Bug tree-optimization/106904] [12 Regression] Incorrect -Wstringop-overflow with partial memcpy() into a nested structure

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

[Bug target/109140] ICE (during RTL pass: internal compiler error: in extract_insn, at recog.cc:2791) when building qemu on sparc64-unknown-linux-gnu with -march=niagara4

2023-03-15 Thread sam at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109140 Sam James changed: What|Removed |Added Known to work||11.3.1 Known to fail|

[Bug tree-optimization/109141] New: failure to diagnose -Wuse-after-free early

2023-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109141 Bug ID: 109141 Summary: failure to diagnose -Wuse-after-free early Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-

[Bug c++/109142] New: auto tmp=*(data_type*)&v: expected primary-expression before ')' token

2023-03-15 Thread steve_green at qq dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109142 Bug ID: 109142 Summary: auto tmp=*(data_type*)&v: expected primary-expression before ')' token Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: norma

[Bug tree-optimization/109141] failure to diagnose -Wuse-after-free early

2023-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109141 Richard Biener changed: What|Removed |Added Last reconfirmed||2023-03-15 Status|UNCONFIR

[Bug testsuite/108898] [13 Regression] Test introduced by r13-6278-g3da77f217c8b2089ecba3eb201e727c3fcdcd19d failed on i386

2023-03-15 Thread ams at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108898 --- Comment #4 from Andrew Stubbs --- I did not know there was a way to do that! I'll add this to my to-do list.

[Bug c++/109083] [10/11/12/13 Regression] Incorrect static_assert shown in diagnostics

2023-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109083 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug tree-optimization/109138] [10/11/12/13 Regression] wrong code at -O1 and above on x86_64-linux-gnu

2023-03-15 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109138 --- Comment #6 from Zhendong Su --- Oh, good catch, Jakub! And sorry for the noise.

[Bug fortran/38220] C_LOC intrinsic non-pure and without explicit interface

2023-03-15 Thread jeff.science at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38220 Jeff Hammond changed: What|Removed |Added CC||jeff.science at gmail dot com --- Comment

[Bug c++/109083] [10/11/12/13 Regression] Incorrect static_assert shown in diagnostics

2023-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109083 Jakub Jelinek changed: What|Removed |Added Keywords|needs-bisection | --- Comment #3 from Jakub Jelinek ---

[Bug target/108933] [10/11/12/13 Regression] Missing bswap detection

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

[Bug c++/109142] auto tmp=*(data_type*)&v: expected primary-expression before ')' token

2023-03-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109142 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2023-03-15 Ever confirmed|0

[Bug target/107453] [13 Regression] New stdarg tests in r13-3549-g4fe34cdcc80ac2 fail

2023-03-15 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107453 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #9 fr

[Bug tree-optimization/109143] New: PTA compile-time hog with many calls

2023-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109143 Bug ID: 109143 Summary: PTA compile-time hog with many calls Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimi

[Bug tree-optimization/109143] PTA compile-time hog with many calls

2023-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109143 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/108179] [11/12/13 regression] ICE related to template template parameters in tsubst, at cp/pt.cc:15782

2023-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108179 --- Comment #4 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:3ea64aad06a2b32739028bae03b9b9a5691d2d30 commit r13-6693-g3ea64aad06a2b32739028bae03b9b9a5691d2d30 Author: Jason Merrill Date: Fr

[Bug c++/104107] [10 Regression] parsing crashes on class template instantiation since r9-6853-g17838af989014f5e

2023-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104107 --- Comment #10 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:3ea64aad06a2b32739028bae03b9b9a5691d2d30 commit r13-6693-g3ea64aad06a2b32739028bae03b9b9a5691d2d30 Author: Jason Merrill Date: F

[Bug c++/95036] [10 Regression] ICE with variadic template template parameters

2023-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95036 --- Comment #9 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:3ea64aad06a2b32739028bae03b9b9a5691d2d30 commit r13-6693-g3ea64aad06a2b32739028bae03b9b9a5691d2d30 Author: Jason Merrill Date: Fri

[Bug c++/58538] Injected class-name treated as type-name instead of template-name when used as a template-argument for a template template-parameter

2023-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58538 --- Comment #5 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:40c1352c5a4530350012d6a922435cf491663daa commit r13-6694-g40c1352c5a4530350012d6a922435cf491663daa Author: Jason Merrill Date: Tue

[Bug c++/108179] [11/12/13 regression] ICE related to template template parameters in tsubst, at cp/pt.cc:15782

2023-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108179 --- Comment #3 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:5ccbf162511b896672a72934c3cafd37a42d6438 commit r13-6692-g5ccbf162511b896672a72934c3cafd37a42d6438 Author: Jason Merrill Date: Tu

[Bug c++/108179] [11/12 regression] ICE related to template template parameters in tsubst, at cp/pt.cc:15782

2023-03-15 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108179 Jason Merrill changed: What|Removed |Added Summary|[11/12/13 regression] ICE |[11/12 regression] ICE

[Bug c++/108179] [11/12 regression] ICE related to template template parameters in tsubst, at cp/pt.cc:15782

2023-03-15 Thread s at stu dot scot via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108179 --- Comment #6 from stu t --- Thank you for looking into this! :)

[Bug target/109130] 464.h264ref regressed by 6.5% on a Neoverse-N1 CPU with PGO, LTO, -Ofast and -march=native

2023-03-15 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109130 --- Comment #1 from Tamar Christina --- I can't reproduce that. on a Neoverse-N1 I see between those two commits: ./bench-compare.sh 2fc55f51f99 bad177e8487 A 1457 files D 0 files M 0 files Extracted 'loose/2fc55f51f99:2fc55f5

[Bug c++/109142] auto tmp=*(data_type*)&v: expected primary-expression before ')' token

2023-03-15 Thread steve_green at qq dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109142 --- Comment #2 from steve02081504 --- Created attachment 54672 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54672&action=edit cpp file Here's the pre-processed file you want,hope it helps

[Bug c++/68608] [concepts] ICE with explicit class instantiation

2023-03-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68608 Patrick Palka changed: What|Removed |Added Status|NEW |RESOLVED CC|

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

2023-03-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 68608, which changed state. Bug 68608 Summary: [concepts] ICE with explicit class instantiation https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68608 What|Removed |Added ---

[Bug c++/96164] Constraints and explicit template instantiation

2023-03-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96164 Patrick Palka changed: What|Removed |Added CC||ryan.burn at gmail dot com --- Comment #

[Bug c/109113] [10/11/12/13 Regression] internal compiler error: in output_constructor_regular_field, at varasm.cc:5521

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

[Bug modula2/109125] [13 regression] SIGBUS in m2pim_ldtoa_ldtoa

2023-03-15 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109125 --- Comment #5 from Gaius Mulley --- readreal.mod requires the input file testnumber to be in the same directory as the executable invocation. Or manually create a text file containing: cat << EOF > testnumber 12.3456 EOF

[Bug d/109144] New: d: Closure fields don't get same alignment as local variable

2023-03-15 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109144 Bug ID: 109144 Summary: d: Closure fields don't get same alignment as local variable Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug modula2/109125] [13 regression] SIGBUS in m2pim_ldtoa_ldtoa

2023-03-15 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109125 --- Comment #6 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #5 from Gaius Mulley --- > readreal.mod requires the input file testnumber to be in the same directory as > the executable invocation. > > Or manually create a text file c

[Bug c/109113] [10/11/12/13 Regression] internal compiler error: in output_constructor_regular_field, at varasm.cc:5521

2023-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109113 --- Comment #8 from Jakub Jelinek --- And C++ ICEs on this starting with r8-4783-gd68ddd2b35078ab61f164b268b (again, accepts the g case). C++ used to ICE on struct C i = { .e = { { .b = 0, .c = { 1 } }, f } }; since that revision but since r8-53

[Bug modula2/109125] [13 regression] SIGBUS in m2pim_ldtoa_ldtoa

2023-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109125 Richard Biener changed: What|Removed |Added Priority|P3 |P4

[Bug testsuite/109145] New: new test case gcc.dg/tree-ssa/forwprop-39.c from r13-6624-geb337d28c32b1b fails

2023-03-15 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109145 Bug ID: 109145 Summary: new test case gcc.dg/tree-ssa/forwprop-39.c from r13-6624-geb337d28c32b1b fails Product: gcc Version: 13.0 Status: UNCONFIRMED Severity

[Bug c++/109083] [10/11/12/13 Regression] Incorrect static_assert shown in diagnostics

2023-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109083 --- Comment #4 from Richard Biener --- I wonder why we instantiate from unused_function (but don't diagnose) at all?

[Bug target/109072] [12/13 Regression] SLP costs for vec duplicate too high since g:4963079769c99c4073adfd799885410ad484cbbe

2023-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109072 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug analyzer/107396] [13 regression] new test case gcc.dg/analyzer/pipe-glibc.c in r13-3466-g792f039fc37faa fails with excess errors

2023-03-15 Thread dave.anglin at bell dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107396 --- Comment #4 from dave.anglin at bell dot net --- I currently have 2.36.

[Bug driver/109135] Wrong make utility called with LTO testsuite

2023-03-15 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109135 --- Comment #7 from Steve Kargl --- On Wed, Mar 15, 2023 at 08:35:41AM +, rguenth at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109135 > > --- Comment #6 from Richard Biener --- > (In reply to Steve Kargl from co

[Bug c++/109083] [10/11/12/13 Regression] Incorrect static_assert shown in diagnostics

2023-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109083 --- Comment #5 from Jakub Jelinek --- We don't instantiate in that case, just look up a specialization which might be or might not be later instantiated (which is when it is diagnosed). One way to fix this would be to drop locations from the exp

[Bug testsuite/109145] new test case gcc.dg/tree-ssa/forwprop-39.c from r13-6624-geb337d28c32b1b fails

2023-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109145 Richard Biener changed: What|Removed |Added Keywords||testsuite-fail Ever confirmed|0

[Bug analyzer/105909] RFE: SARIF output could contain metadata about limitations of the analysis

2023-03-15 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105909 --- Comment #1 from David Malcolm --- Perhaps via 3.58 notification object: https://docs.oasis-open.org/sarif/sarif/v2.1.0/os/sarif-v2.1.0-os.html#_Toc34317894 which: "describes a condition encountered during the execution of an analysis tool wh

[Bug testsuite/109146] New: Tail call prevention in frame-address.c is not correct

2023-03-15 Thread david.spickett at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109146 Bug ID: 109146 Summary: Tail call prevention in frame-address.c is not correct Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug testsuite/109146] Tail call prevention in frame-address.c is not correct

2023-03-15 Thread david.spickett at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109146 --- Comment #1 from David Spickett --- Correction. https://godbolt.org/z/fW5nsWE5e shows the issue when "!=" is used, the previous link used "==" instead.

[Bug c++/109142] auto tmp=*(data_type*)&v: expected primary-expression before ')' token

2023-03-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109142 Jonathan Wakely changed: What|Removed |Added Status|WAITING |UNCONFIRMED Ever confirmed|1

[Bug target/109140] ICE (during RTL pass: internal compiler error: in extract_insn, at recog.cc:2791) when building qemu on sparc64-unknown-linux-gnu with -march=niagara4

2023-03-15 Thread mikpelinux at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109140 Mikael Pettersson changed: What|Removed |Added CC||mikpelinux at gmail dot com --- Com

[Bug target/109140] ICE (during RTL pass: internal compiler error: in extract_insn, at recog.cc:2791) when building qemu on sparc64-unknown-linux-gnu with -march=niagara4

2023-03-15 Thread mikpelinux at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109140 --- Comment #6 from Mikael Pettersson --- With -O2 -ftree-vectorize -mcpu=niagara4 the ICE reproduces with gcc-10.4.0 but not with gcc-9.5.0.

[Bug c++/109142] auto tmp=*(data_type*)&v: expected primary-expression before ')' token

2023-03-15 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109142 --- Comment #4 from Xi Ruoyao --- template using data_type = decltype([](){return 1;}()); template auto get_precision(T v) { auto tmp = *(data_type *)&v; return tmp; } Clang and MSVC accept this with C++20, though I'm not sure if it's re

[Bug c++/109142] auto tmp=*(data_type*)&v: expected primary-expression before ')' token

2023-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109142 Andrew Pinski changed: What|Removed |Added Blocks||107430 Keywords|

  1   2   >