[Bug rtl-optimization/109035] meaningless memory store on RISC-V and LoongArch

2023-03-10 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109035 --- Comment #6 from chenglulu --- I tried changing the code, diff --git a/gcc/lra-eliminations.cc b/gcc/lra-eliminations.cc index 4220639..efaea6922b5 100644 --- a/gcc/lra-eliminations.cc +++ b/gcc/lra-eliminations.cc @@ -914,6 +914,11 @@

[Bug rtl-optimization/109035] meaningless memory store on RISC-V and LoongArch

2023-03-10 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109035 --- Comment #5 from chenglulu --- On AARCH64: $cat t.c int test(int x) { char buf[128 << 10]; return buf[x]; } $cat t-1.c int test(int x) { char buf[0xfff]; return buf[x]; } The generated assemblies are as

[Bug other/109103] New: Missing function internal_error_at

2023-03-10 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109103 Bug ID: 109103 Summary: Missing function internal_error_at Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other

[Bug modula2/109102] New: Wrong quotes in diagnostic

2023-03-10 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109102 Bug ID: 109102 Summary: Wrong quotes in diagnostic Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2

[Bug fortran/109101] New: Wrong quotes in OpenMP diagnostic

2023-03-10 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109101 Bug ID: 109101 Summary: Wrong quotes in OpenMP diagnostic Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug target/109100] Possible typo CRS

2023-03-10 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109100 --- Comment #1 from Roland Illig --- While here: In that same message, there is a single space between sentences 1 and 2, but 2 spaces between sentences 2 and 3. While here: can not is usually spelled cannot.

[Bug target/109100] New: Possible typo CRS

2023-03-10 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109100 Bug ID: 109100 Summary: Possible typo CRS Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee:

[Bug tree-optimization/105135] [11/12/13 Regression] Optimization regression for handrolled branchless assignment since r11-4717-g3e190757fa332d32

2023-03-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105135 Andrew Pinski changed: What|Removed |Added Component|target |tree-optimization --- Comment #7 from

[Bug target/105135] [11/12/13 Regression] Optimization regression for handrolled branchless assignment since r11-4717-g3e190757fa332d32

2023-03-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105135 --- Comment #6 from Andrew Pinski --- If we change all char to "unsigned char", it is still different and for to_lower_3 we get on the tree level: if (_1 <= 25) goto ; [34.00%] else goto ; [66.00%] [local count: 365072224]:

[Bug fortran/109099] New: Assignment in NAMELIST input does not fill in row-column order

2023-03-10 Thread urbanjost at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109099 Bug ID: 109099 Summary: Assignment in NAMELIST input does not fill in row-column order Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/105532] [11 Regression] UBSAN: gcc/hwint.h:293:61: runtime error: shift exponent 64 is too large for 64-bit type 'long unsigned int'

2023-03-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105532 Andrew Pinski changed: What|Removed |Added Known to fail||10.1.0, 12.1.0, 12.2.0

[Bug tree-optimization/105532] [11/12 Regression] UBSAN: gcc/hwint.h:293:61: runtime error: shift exponent 64 is too large for 64-bit type 'long unsigned int'

2023-03-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105532 --- Comment #10 from CVS Commits --- The releases/gcc-12 branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:67608f7a2cf3eff99654ab3f44d5183049e3b36c commit r12-9241-g67608f7a2cf3eff99654ab3f44d5183049e3b36c Author: Andrew Pinski

[Bug analyzer/109098] Encoding errors on SARIF output for non-UTF-8 source files

2023-03-10 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109098 Hans-Peter Nilsson changed: What|Removed |Added CC||hp at gcc dot gnu.org --- Comment

[Bug analyzer/109098] Encoding errors on SARIF output for non-UTF-8 source files

2023-03-10 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109098 --- Comment #4 from David Malcolm --- (In reply to Andrew Pinski from comment #2) > So I think there is a bug in that code ... The issue is in sarif_builder::maybe_make_artifact_content_object, which uses; char *text_utf8 = maybe_read_file

[Bug analyzer/109098] Encoding errors on SARIF output for non-UTF-8 source files

2023-03-10 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109098 --- Comment #3 from David Malcolm --- (In reply to Andrew Pinski from comment #1) > I would have assumed you need -finput-charset= for the non-utf8 ones really > if your LANG/LANGUAGE is not set to C/UTF8 really. Yeah, but when complaining

[Bug analyzer/109098] Encoding errors on SARIF output for non-UTF-8 source files

2023-03-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109098 --- Comment #2 from Andrew Pinski --- https://gcc.gnu.org/onlinedocs/gcc-12.2.0/gcc/Preprocessor-Options.html#index-finput-charset Even has the following: -finput-charset=charset Set the input character set, used for translation from the

[Bug analyzer/109098] Encoding errors on SARIF output for non-UTF-8 source files

2023-03-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109098 --- Comment #1 from Andrew Pinski --- I would have assumed you need -finput-charset= for the non-utf8 ones really if your LANG/LANGUAGE is not set to C/UTF8 really.

[Bug analyzer/109098] Encoding errors on SARIF output for non-UTF-8 source files

2023-03-10 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109098 David Malcolm changed: What|Removed |Added Last reconfirmed||2023-03-11

[Bug analyzer/109098] New: Encoding errors on SARIF output for non-UTF-8 source files

2023-03-10 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109098 Bug ID: 109098 Summary: Encoding errors on SARIF output for non-UTF-8 source files Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug analyzer/109097] New: No SARIF output happens on an ICE

2023-03-10 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109097 Bug ID: 109097 Summary: No SARIF output happens on an ICE Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: analyzer

[Bug libstdc++/109074] SIGABRT signal without using -lpthread at Linux RHEL 7.3

2023-03-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109074 --- Comment #11 from Andrew Pinski --- (In reply to Murugesan Nagarajan from comment #10) > (In reply to Murugesan Nagarajan from comment #9) > > Thank you again. Reason for Porting this comment: > > Libc Library having core dump issue.hence

[Bug libstdc++/109074] SIGABRT signal without using -lpthread at Linux RHEL 7.3

2023-03-10 Thread murugesandins at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109074 --- Comment #10 from Murugesan Nagarajan --- (In reply to Murugesan Nagarajan from comment #9) > Thank you again. Reason for Porting this comment: > Libc Library having core dump issue.hence thought of sharing this bug at > Libc Library. Hence

[Bug c++/109096] __has_unique_object_representations does not account for unnamed bitfield

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

[Bug c++/109096] __has_unique_object_representations does not account for unnamed bitfield

2023-03-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109096 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2023-03-10 Ever confirmed|0

[Bug c++/109095] ICE when specializing a template with an auto nontype template template parameter

2023-03-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109095 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2023-03-10 Ever confirmed|0

[Bug c++/109096] __has_unique_object_representations does not account for unnamed bitfield

2023-03-10 Thread gcc at jonathanmueller dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109096 --- Comment #1 from Jonathan Müller --- Sorry, wrong godbolt link: https://godbolt.org/z/f1fGExsr7

[Bug tree-optimization/108684] [12 Regression] ICE: verify_ssa failed

2023-03-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108684 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/108684] [12 Regression] ICE: verify_ssa failed

2023-03-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108684 --- Comment #15 from CVS Commits --- The releases/gcc-12 branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:657e1e89d34b114ca47fe1f2c5366927c5850af7 commit r12-9239-g657e1e89d34b114ca47fe1f2c5366927c5850af7 Author: Andrew Pinski

[Bug c++/109096] New: __has_unique_object_representations does not account for unnamed bitfield

2023-03-10 Thread gcc at jonathanmueller dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109096 Bug ID: 109096 Summary: __has_unique_object_representations does not account for unnamed bitfield Product: gcc Version: 13.0 Status: UNCONFIRMED Severity:

[Bug libstdc++/109074] SIGABRT signal without using -lpthread at Linux RHEL 7.3

2023-03-10 Thread murugesandins at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109074 --- Comment #9 from Murugesan Nagarajan --- Thank you again. Reason for Porting this comment: Libc Library having core dump issue.hence thought of sharing this bug at Libc Library.

[Bug fortran/106945] [10/11/12/13 Regression] ICE: 'verify_gimple' failed

2023-03-10 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106945 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug c++/109095] New: ICE when specializing a template with an auto nontype template template parameter

2023-03-10 Thread n.morales.0 at proton dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109095 Bug ID: 109095 Summary: ICE when specializing a template with an auto nontype template template parameter Product: gcc Version: 12.2.0 Status: UNCONFIRMED

[Bug target/104039] [10/11 Regression] AArch64 Redundant instruction moving general to vector register

2023-03-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104039 Andrew Pinski changed: What|Removed |Added Summary|[10/11/12/13 Regression]|[10/11 Regression] AArch64

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

2023-03-10 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109093 --- Comment #4 from David Binderman --- Created attachment 54639 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54639=edit C source code A third example that fails at the same git hash.

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

2023-03-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109093 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0 Summary|csmith: a

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

2023-03-10 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109093 --- Comment #3 from David Binderman --- Created attachment 54638 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54638=edit C source code This C code seems to fail in the same way. Possible duplicate.

[Bug c/16186] gcc should have an option to warn about enumerations with duplicate values

2023-03-10 Thread trashyankes at wp dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16186 trashyankes at wp dot pl changed: What|Removed |Added CC||trashyankes at wp dot pl ---

[Bug analyzer/109094] [13 Regression] ICE in -fanalyzer seen in qemu's target/i386/tcg/translate.c

2023-03-10 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109094 --- Comment #1 from David Malcolm --- Created attachment 54637 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54637=edit Unreduced reproducer

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

2023-03-10 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109093 David Binderman changed: What|Removed |Added CC||jakub at redhat dot com --- Comment

[Bug analyzer/109094] New: [13 Regression] ICE in -fanalyzer seen in qemu's target/i386/tcg/translate.c

2023-03-10 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109094 Bug ID: 109094 Summary: [13 Regression] ICE in -fanalyzer seen in qemu's target/i386/tcg/translate.c Product: gcc Version: 13.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/103725] [10/11/12/13 Regression] warning: assuming signed overflow does not occur when simplifying conditional to constant

2023-03-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103725 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection --- Comment #6 from

[Bug target/107703] TImode to __bf16 conversions and __bf16 to TImode conversions aren't implemented in libgcc

2023-03-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107703 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Assignee|unassigned

[Bug c++/107558] [10/11/12 Regression] ICE in fld_incomplete_type_of with -fmerge-all-constants and openmp and LTO since r11-16-ga2f32550a085984f

2023-03-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107558 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug c++/109039] [12 Regression] Miscompilation with no_unique_address and bitfields

2023-03-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109039 Jakub Jelinek changed: What|Removed |Added Summary|[12/13 Regression] |[12 Regression]

[Bug target/107703] TImode to __bf16 conversions and __bf16 to TImode conversions aren't implemented in libgcc

2023-03-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107703 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:c227508d06a63f9b8fede3fd88813accb447060e commit r13-6599-gc227508d06a63f9b8fede3fd88813accb447060e Author: Jakub Jelinek Date:

[Bug target/107703] TImode to __bf16 conversions and __bf16 to TImode conversions aren't implemented in libgcc

2023-03-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107703 --- Comment #2 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:246127ab238bac6aa71a9b4ee1f6fabf776b5ccb commit r13-6598-g246127ab238bac6aa71a9b4ee1f6fabf776b5ccb Author: Jakub Jelinek Date:

[Bug c++/107558] [10/11/12/13 Regression] ICE in fld_incomplete_type_of with -fmerge-all-constants and openmp and LTO since r11-16-ga2f32550a085984f

2023-03-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107558 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:60b6f5c0a334db3f8f6dffaf0b9aab42fd5c54a2 commit r13-6597-g60b6f5c0a334db3f8f6dffaf0b9aab42fd5c54a2 Author: Jakub Jelinek Date:

[Bug c++/109039] [12/13 Regression] Miscompilation with no_unique_address and bitfields

2023-03-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109039 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:991f9eb2da3a268b7b08346761fa0078ab55f506 commit r13-6596-g991f9eb2da3a268b7b08346761fa0078ab55f506 Author: Jakub Jelinek Date:

[Bug tree-optimization/92342] [10/11/12 Regression] a small missed transformation into x?b:0

2023-03-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92342 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|10.5

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

2023-03-10 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 Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

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

2023-03-10 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109093 --- Comment #1 from David Binderman --- Current git range is g:7478278f88ba1753 .. g:fea34ee491104f32 This is 7 commits. 6 of them seem to be libstdc++ and then there is this one: commit 866555b170016c49beb869a78cbecdeb07c63135 Author: Jakub

[Bug c++/108972] [13 Regression] ICE: tree check: expected tree that contains 'decl common' structure, have 'error_mark' in compare_lambda_template_head, at cp/lambda.cc:1551 since r13-3601-g2b0e81d5c

2023-03-10 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108972 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/108972] [13 Regression] ICE: tree check: expected tree that contains 'decl common' structure, have 'error_mark' in compare_lambda_template_head, at cp/lambda.cc:1551 since r13-3601-g2b0e81d5c

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

[Bug sanitizer/108060] [10/11/12 Regression] UBsan missed an out-of-bound bug at -O0 since r7-1900-g8a1b7b7fd75a3847

2023-03-10 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108060 Marek Polacek changed: What|Removed |Added Summary|[10/11/12/13 Regression]|[10/11/12 Regression] UBsan

[Bug sanitizer/109050] UBsan failed to detect out-of-bound at -O0/1/2/s

2023-03-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109050 --- Comment #2 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:4d0baeae315ebe7d0ec7682ea3e7c0516027c2b8 commit r13-6593-g4d0baeae315ebe7d0ec7682ea3e7c0516027c2b8 Author: Marek Polacek Date:

[Bug sanitizer/108060] [10/11/12/13 Regression] UBsan missed an out-of-bound bug at -O0 since r7-1900-g8a1b7b7fd75a3847

2023-03-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108060 --- Comment #8 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:4d0baeae315ebe7d0ec7682ea3e7c0516027c2b8 commit r13-6593-g4d0baeae315ebe7d0ec7682ea3e7c0516027c2b8 Author: Marek Polacek Date:

[Bug libstdc++/108882] [13 Regression] Wrong symver on 4 new libstdc++ symbols on ppc64le

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

[Bug fortran/104332] [10/11/12/13 Regression] ICE in resolve_symbol, at fortran/resolve.cc:15815

2023-03-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104332 --- Comment #9 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:e20e5d9dc11b64e8eabce6803c91cb5768207083 commit r13-6592-ge20e5d9dc11b64e8eabce6803c91cb5768207083 Author: Harald Anlauf Date:

[Bug target/108938] Missing bswap detection

2023-03-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108938 Bug 108938 depends on bug 108874, which changed state. Bug 108874 Summary: [10/11/12/13 Regression] Missing bswap detection https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108874 What|Removed |Added

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

2023-03-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108933 Bug 108933 depends on bug 108874, which changed state. Bug 108874 Summary: [10/11/12/13 Regression] Missing bswap detection https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108874 What|Removed |Added

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

2023-03-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108874 Andrew Pinski changed: What|Removed |Added Known to work||13.0 Status|ASSIGNED

[Bug tree-optimization/94094] [meta-bug] store-merging and/or bswap load/store-merging missed optimizations

2023-03-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94094 Bug 94094 depends on bug 108874, which changed state. Bug 108874 Summary: [10/11/12/13 Regression] Missing bswap detection https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108874 What|Removed |Added

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

2023-03-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108874 --- Comment #13 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:fcbc5c190c40b51c82f827830ce403c07d628960 commit r13-6591-gfcbc5c190c40b51c82f827830ce403c07d628960 Author: Andrew Pinski Date:

[Bug target/108994] [13 Regression] LLVM JIT segfaults in libgcc after upgrading from gcc 12.2.1 to 13.0.1 since r13-2706-g6e80a1d164d1f9

2023-03-10 Thread tstellar at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108994 --- Comment #16 from Tom Stellard --- I looked into this a little more, and I think the s390x failures may be an LLVM bug. It's trying to JIT an X86 ELF file on s390x, and I think maybe the layout of the frames is different due to endianness.

[Bug target/109092] [13 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1932 when building libgcc on riscv64

2023-03-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109092 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2023-03-10 Target Milestone|---

[Bug c/109093] New: csmith: a February runtime bug ?

2023-03-10 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109093 Bug ID: 109093 Summary: csmith: a February runtime bug ? Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug rtl-optimization/109092] New: [13 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1932 when building libgcc on riscv64

2023-03-10 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109092 Bug ID: 109092 Summary: [13 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1932 when building libgcc on riscv64 Product: gcc

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

2023-03-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109087 --- Comment #10 from Andrew Pinski --- (In reply to David Binderman from comment #9) > (In reply to Richard Biener from comment #6) > > Try -fno-tree-vectorize? > > I tried that, and it made no difference at all. > > I also tried dropping the

[Bug c++/107532] [13 Regression] -Werror=dangling-reference false positives in libcamera-0.0.1

2023-03-10 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107532 --- Comment #19 from Marek Polacek --- (In reply to Barnabás Pőcze from comment #17) > The simple test case with std::span still triggers the warning: > https://gcc.godbolt.org/z/43cKxdqr3. I feel that without deeper code > analysis such a

[Bug target/108994] [13 Regression] LLVM JIT segfaults in libgcc after upgrading from gcc 12.2.1 to 13.0.1 since r13-2706-g6e80a1d164d1f9

2023-03-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108994 --- Comment #15 from Jakub Jelinek --- So I guess the primary question would be, are threads involved in the reproducer or not? All the backtraces don't include start_thread, so the crashes are from the initial thread, but that doesn't mean

[Bug c++/107532] [13 Regression] -Werror=dangling-reference false positives in libcamera-0.0.1

2023-03-10 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107532 --- Comment #18 from Marek Polacek --- (In reply to Jonathan Wakely from comment #16) > Span is a view, so it is like reference-wrapper. The lifetime of the > underlying data is not tied to the lifetime of the Span. Aha, I could add a check

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

2023-03-10 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109087 --- Comment #9 from David Binderman --- (In reply to Richard Biener from comment #6) > Try -fno-tree-vectorize? I tried that, and it made no difference at all. I also tried dropping the -march= setting back to znver1 and that also made no

[Bug libgomp/90596] 'GOACC_parallel_keyed' should use 'GOMP_MAP_VARS_TARGET'

2023-03-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90596 --- Comment #1 from CVS Commits --- The master branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:f8332e52a498df480f72303de32ad0751ad899fe commit r13-6590-gf8332e52a498df480f72303de32ad0751ad899fe Author: Thomas Schwinge Date:

[Bug analyzer/109059] -Wanalyzer-malloc-leak false +ve seen on haproxy's cfgparse.c: cfg_register_postparser

2023-03-10 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109059 David Malcolm changed: What|Removed |Added Last reconfirmed||2023-03-10 Ever confirmed|0

[Bug c++/107532] [13 Regression] -Werror=dangling-reference false positives in libcamera-0.0.1

2023-03-10 Thread pobrn at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107532 --- Comment #17 from Barnabás Pőcze --- The simple test case with std::span still triggers the warning: https://gcc.godbolt.org/z/43cKxdqr3. I feel that without deeper code analysis such a warning will generate too many false positives and

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

2023-03-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109087 --- Comment #8 from Andrew Pinski --- (In reply to Martin Liška from comment #7) > With gcc pr109087.c -w -ftrivial-auto-var-init=zero -g -O3 -march=znver3 > -fno-strict-aliasing -fno-tree-vectorize -fno-tree-slp-vectorize > it started with

[Bug analyzer/109059] -Wanalyzer-malloc-leak false +ve seen on haproxy's cfgparse.c: cfg_register_postparser

2023-03-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109059 --- Comment #1 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:14f5e56a8a766c6f48c2a07b301fce2db1a19a3c commit r13-6589-g14f5e56a8a766c6f48c2a07b301fce2db1a19a3c Author: David Malcolm Date:

[Bug c++/107532] [13 Regression] -Werror=dangling-reference false positives in libcamera-0.0.1

2023-03-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107532 --- Comment #16 from Jonathan Wakely --- Span is a view, so it is like reference-wrapper. The lifetime of the underlying data is not tied to the lifetime of the Span.

[Bug c++/107532] [13 Regression] -Werror=dangling-reference false positives in libcamera-0.0.1

2023-03-10 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107532 --- Comment #15 from Marek Polacek --- Hmm, so it's this line const FrameMetadata::Plane = buffer->metadata().planes()[i]; and we complain because we have libcamera::Span::operator[] (_EXPR (buffer)>))>, (size_type) VIEW_CONVERT_EXPR(i))

[Bug c++/92851] Lambda capture of *this with mutable is not mutable

2023-03-10 Thread flast at flast dot jp via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92851 --- Comment #3 from Kohei Takahashi --- It's still rejected in GCC 13.0. https://wandbox.org/permlink/jKItc5W8KnYR7JN1

[Bug target/108910] [12/13 Regression] Further ICE in aarch64_layout_arg

2023-03-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108910 --- Comment #11 from Jakub Jelinek --- To be exact, it is more complicated than that. Some types with extra types are created using build_variant_type_copy and so their TYPE_MAIN_VARIANT is without the attributes. Example is

[Bug c++/109091] New: AIX: thread_local is not being internally linked

2023-03-10 Thread miladfarca at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109091 Bug ID: 109091 Summary: AIX: thread_local is not being internally linked Product: gcc Version: 10.3.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/109071] -Warray-bounds warning when array index checked via inline

2023-03-10 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109071 qinzhao at gcc dot gnu.org changed: What|Removed |Added CC||qinzhao at gcc dot gnu.org

[Bug sanitizer/109090] [10/11/12/13 Regression] UBSan signed integer overflow check missing.

2023-03-10 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109090 --- Comment #4 from Marek Polacek --- Dunno, this doesn't seem to be fixed by the patch in PR108995.

[Bug sanitizer/109090] [10/11/12/13 Regression] UBSan signed integer overflow check missing.

2023-03-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109090 --- Comment #3 from Martin Liška --- A dup of PR108995?

[Bug sanitizer/109090] [10/11/12/13 Regression] UBSan signed integer overflow check missing.

2023-03-10 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109090 --- Comment #2 from Marek Polacek --- Started with r8-343-g2bf54d93f15921 it seems: commit 2bf54d93f159210d0c05a07c655eb847c069365c Author: Richard Biener Date: Tue May 2 12:43:47 2017 + common.opt (fstrict-overflow): Alias

[Bug c/109090] [10/11/12/13 Regression] UBSan signed integer overflow check missing.

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

[Bug target/109087] [13 Regression] csmith: end of year runtime bug ?

2023-03-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109087 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c/109090] New: UBSan signed integer overflow check missing.

2023-03-10 Thread cbossut21 at gatech dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109090 Bug ID: 109090 Summary: UBSan signed integer overflow check missing. Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug target/108910] [12/13 Regression] Further ICE in aarch64_layout_arg

2023-03-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108910 --- Comment #10 from Jakub Jelinek --- (In reply to Christophe Lyon from comment #9) > So is it expected that the alignment of TYPE_MAIN_VARIANT(type) is 512? Yes, it is. aligned attribute on non-aggregate types create a distinct type, and

[Bug target/108910] [12/13 Regression] Further ICE in aarch64_layout_arg

2023-03-10 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108910 Christophe Lyon changed: What|Removed |Added CC||rearnsha at gcc dot gnu.org ---

[Bug tree-optimization/109041] Bogus compile time check by __builtin_memset? error: ‘__builtin_memset’ writing 4 bytes into a region of size 0 overflows the destination [-Werror=stringop-overflow=]

2023-03-10 Thread ishikawa at yk dot rim.or.jp via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109041 --- Comment #9 from ishikawa,chiaki --- Thank you for the confirmation for the fix in GCC-12. Now I have to figure out how GCC-12 seems to miscompile something in Thunderbird mail client to report a run-time assertion error. (Compiling

[Bug tree-optimization/109088] GCC does not always vectorize conditional reduction

2023-03-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109088 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2023-03-10 Severity|normal

[Bug tree-optimization/109088] GCC fail auto-vectorization

2023-03-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109088 --- Comment #4 from Andrew Pinski --- Created attachment 54635 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54635=edit testcase

[Bug c++/108542] [13 Regression] ICE in instantiate_type, at cp/class.cc:8833

2023-03-10 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108542 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug analyzer/109060] -Wanalyzer-deref-before-check false positives seen in haproxy's cfgparse.c: parse_process_number

2023-03-10 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109060 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug analyzer/108475] -Wanalyzer-deref-before-check false positives seen in haproxy's tcpcheck.c

2023-03-10 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108475 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[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-10 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108566 Jason Merrill changed: What|Removed |Added Summary|[11/12/13 Regression] ICE: |[11/12 Regression] ICE:

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

2023-03-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108566 --- Comment #6 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:e1c8cf9006bd278e969ab7ed35178067ce128f32 commit r13-6582-ge1c8cf9006bd278e969ab7ed35178067ce128f32 Author: Jason Merrill Date:

[Bug analyzer/108475] -Wanalyzer-deref-before-check false positives seen in haproxy's tcpcheck.c

2023-03-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108475 --- Comment #1 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:c4fd232f9843bb800548a906653aeb0723cdb411 commit r13-6581-gc4fd232f9843bb800548a906653aeb0723cdb411 Author: David Malcolm Date:

  1   2   >