[Bug middle-end/115022] -fstrub=disable and -minline-memops-threshold have a - in the index

2024-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115022 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug middle-end/115022] New: -fstrub=disable and -minline-memops-threshold have a - in the index

2024-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115022 Bug ID: 115022 Summary: -fstrub=disable and -minline-memops-threshold have a - in the index Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords:

[Bug target/114528] (0xFFFFFFFF0001FFFFULL - 0x00123000) constant forming could be done in 2 instructions

2024-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114528 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org ---

[Bug rtl-optimization/115021] New: [14/15 regression] unnecessary spill for vpternlog

2024-05-09 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115021 Bug ID: 115021 Summary: [14/15 regression] unnecessary spill for vpternlog Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/115014] GCC generates incorrect instructions for addressing the data segment through EBP register

2024-05-09 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115014 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #5

[Bug driver/114980] [14/15 Regression] -fdiagnostics-urls=never does not suppress URLs in `'-Werror=' argument '-Werror=...' not valid for ...` warnings

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

[Bug driver/114980] [14/15 Regression] -fdiagnostics-urls=never does not suppress URLs in `'-Werror=' argument '-Werror=...' not valid for ...` warnings

2024-05-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114980 --- Comment #11 from GCC Commits --- The releases/gcc-14 branch has been updated by Xi Ruoyao : https://gcc.gnu.org/g:21051de4bed3d541804bf965cbdc3e8047698777 commit r14-10192-g21051de4bed3d541804bf965cbdc3e8047698777 Author: Xi Ruoyao Date:

[Bug driver/114980] [14/15 Regression] -fdiagnostics-urls=never does not suppress URLs in `'-Werror=' argument '-Werror=...' not valid for ...` warnings

2024-05-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114980 --- Comment #10 from GCC Commits --- The master branch has been updated by Xi Ruoyao : https://gcc.gnu.org/g:f75806ec63ec1af2d76a194e5fa73e114b2b8857 commit r15-355-gf75806ec63ec1af2d76a194e5fa73e114b2b8857 Author: Xi Ruoyao Date: Wed May

[Bug target/114978] [14/15 regression] 548.exchange2_r 14%-28% regressions on Loongarch64 after gcc 14 snapshot 20240317

2024-05-09 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114978 --- Comment #15 from chenglulu --- (In reply to Chen Chen from comment #14) > (In reply to Xi Ruoyao from comment #13) > > (In reply to Chen Chen from comment #12) > > > > > No. I used system default gcc. > > > > AOSC backports *many* changes

[Bug target/114978] [14/15 regression] 548.exchange2_r 14%-28% regressions on Loongarch64 after gcc 14 snapshot 20240317

2024-05-09 Thread chz0808 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114978 --- Comment #14 from Chen Chen --- (In reply to Xi Ruoyao from comment #13) > (In reply to Chen Chen from comment #12) > > > No. I used system default gcc. > > AOSC backports *many* changes not in upstream GCC 13.2 to their "13.2": >

[Bug c++/115020] New: [modules] ICE in import_export_decl for GMF function definition in partition

2024-05-09 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115020 Bug ID: 115020 Summary: [modules] ICE in import_export_decl for GMF function definition in partition Product: gcc Version: 15.0 Status: UNCONFIRMED Severity:

[Bug c/115019] wraparound bug with with -O3 and int128

2024-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115019 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > /app/example.cpp:36:24: runtime error: negation of > 0x8000 cannot be represented in type '__int128'; > cast to an unsigned type to

[Bug c/115019] wraparound bug with with -O3 and int128

2024-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115019 --- Comment #2 from Andrew Pinski --- /app/example.cpp:36:24: runtime error: negation of 0x8000 cannot be represented in type '__int128'; cast to an unsigned type to negate this value to itself

[Bug c/115019] wraparound bug with with -O3 and int128

2024-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115019 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID

[Bug c/115019] New: wraparound bug with with -O3 and int128

2024-05-09 Thread djnz00 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115019 Bug ID: 115019 Summary: wraparound bug with with -O3 and int128 Product: gcc Version: 14.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug tree-optimization/115005] [gcc-13] bogus -Warray-bounds warning

2024-05-09 Thread sezeroz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115005 Ozkan Sezer changed: What|Removed |Added Attachment #58144|0 |1 is obsolete|

[Bug tree-optimization/115005] [gcc-13] bogus -Warray-bounds warning

2024-05-09 Thread sezeroz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115005 --- Comment #4 from Ozkan Sezer --- (In reply to Ozkan Sezer from comment #3) > > There is a jump threading there handling n==0 (aka numbits==-1u) and that is > > causing the warning. > > The thing is, n==0 is not guarding against

[Bug ipa/114985] [15 regression] internal compiler error: in discriminator_fail during stage2

2024-05-09 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114985 --- Comment #11 from Aldy Hernandez --- I have reverted the prange enabling patch until the IPA pass is fixed.

[Bug ipa/114985] [15 regression] internal compiler error: in discriminator_fail during stage2

2024-05-09 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114985 --- Comment #10 from Aldy Hernandez --- (In reply to David Edelsohn from comment #9) > The patch in comment 6 succeeds for me, but it seems more of a heavy-handed > band-aid that confirms the symptom, but covers up the problem. > > Something

[Bug tree-optimization/115009] [15 regression] AVR: ICE in alloc, at value-range-storage.cc:598

2024-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115009 --- Comment #12 from Andrew Pinski --- (In reply to Aldy Hernandez from comment #10) > I can test my proposed patch on a cross for avr, but for this testcase on > rl78-none and rl78-elf, I get: That was not a testcase but rather a copy of the

[Bug tree-optimization/115009] [15 regression] AVR: ICE in alloc, at value-range-storage.cc:598

2024-05-09 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115009 --- Comment #11 from Aldy Hernandez --- (In reply to Jeffrey A. Law from comment #8) > And on msp430-elf we're getting a codegen correctness issue on msp430-elf. > gcc.dg/pr66444.c fails in the simulator. The -O2 code difference looks like: >

[Bug tree-optimization/115009] [15 regression] AVR: ICE in alloc, at value-range-storage.cc:598

2024-05-09 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115009 --- Comment #10 from Aldy Hernandez --- (In reply to Andrew Pinski from comment #7) > For rl78: > static scalar_int_mode > rl78_addr_space_address_mode (addr_space_t addrspace) > { > switch (addrspace) > { > case ADDR_SPACE_GENERIC: >

[Bug tree-optimization/115009] [15 regression] AVR: ICE in alloc, at value-range-storage.cc:598

2024-05-09 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115009 Aldy Hernandez changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |aldyh at gcc dot gnu.org ---

[Bug target/115018] Incorrect data read/written at -O3 on aarch64 with 256-bit SVE SIMD width specified

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

[Bug target/115018] Incorrect data read/written at -O3 on aarch64 with 256-bit SVE SIMD width specified

2024-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115018 --- Comment #1 from Andrew Pinski --- First I can't reproduce it with the official releases GCC 13.2.0. Second with the trunk, I am not sure if this is a bug or not. With the trunk with `-O3 -Wall -Wextra -fno-strict-aliasing -fwrapv

[Bug c++/98056] coroutines: ICE tree check: expected record_type or union_type or qual_union_type, have array_type since r11-2183-g0f66b8486cea8668

2024-05-09 Thread public.melg8 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98056 melg melg changed: What|Removed |Added CC||public.melg8 at gmail dot com --- Comment

[Bug tree-optimization/115009] [15 regression] AVR: ICE in alloc, at value-range-storage.cc:598

2024-05-09 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115009 --- Comment #8 from Jeffrey A. Law --- And on msp430-elf we're getting a codegen correctness issue on msp430-elf. gcc.dg/pr66444.c fails in the simulator. The -O2 code difference looks like: *** good.s Thu May 9 20:41:37 2024 --- bad.s

[Bug tree-optimization/115009] [15 regression] AVR: ICE in alloc, at value-range-storage.cc:598

2024-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115009 --- Comment #7 from Andrew Pinski --- For rl78: static scalar_int_mode rl78_addr_space_address_mode (addr_space_t addrspace) { switch (addrspace) { case ADDR_SPACE_GENERIC: return HImode; case ADDR_SPACE_NEAR: return

[Bug tree-optimization/115009] [15 regression] AVR: ICE in alloc, at value-range-storage.cc:598

2024-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115009 --- Comment #6 from Andrew Pinski --- rl78 has __far which is a 32bit pointer (the normal ptr size there is 16bit).

[Bug tree-optimization/115009] [15 regression] AVR: ICE in alloc, at value-range-storage.cc:598

2024-05-09 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115009 Jeffrey A. Law changed: What|Removed |Added Target|avr |avr, rl78 --- Comment #5 from Jeffrey

[Bug c++/115018] New: Incorrect data read/written at -O3 on Arm with 256-bit SVE SIMD width specified

2024-05-09 Thread erik at kth dot se via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115018 Bug ID: 115018 Summary: Incorrect data read/written at -O3 on Arm with 256-bit SVE SIMD width specified Product: gcc Version: 13.2.0 Status: UNCONFIRMED

[Bug rtl-optimization/115013] [15 Regression] LRA: PR114810 fix result in ICE in the RISC-V Vector

2024-05-09 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115013 Jeffrey A. Law changed: What|Removed |Added CC||law at gcc dot gnu.org

[Bug tree-optimization/115009] [15 regression] AVR: ICE in alloc, at value-range-storage.cc:598

2024-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115009 Andrew Pinski changed: What|Removed |Added CC||law at gcc dot gnu.org --- Comment #4

[Bug tree-optimization/115017] [15 Regression] Ranger ICE

2024-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115017 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug tree-optimization/115017] New: [15 Regression] Ranger ICE

2024-05-09 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115017 Bug ID: 115017 Summary: [15 Regression] Ranger ICE Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization

[Bug tree-optimization/114995] C++23 Assume keyword not being used for vectorization

2024-05-09 Thread pratikc at live dot co.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114995 --- Comment #8 from Pratik Chowdhury --- > if you just try to compare __builtin_assume_aligned (x, 32) == x, it will > just fold as always true Aah. Dead code elimination. > CCing Aldy/Andrew for whether prange can or could be taught to

[Bug c++/114983] The -Wsizeof-array-div warning suppression using extra parenthesis (which is suggested by in the warning itself) doesn't work inside templated code

2024-05-09 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114983 --- Comment #2 from Marek Polacek --- Fixed on trunk so far, will backport to 14.

[Bug c++/114983] The -Wsizeof-array-div warning suppression using extra parenthesis (which is suggested by in the warning itself) doesn't work inside templated code

2024-05-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114983 --- Comment #1 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:646db3d30bd071a1b671b4f91c9ea2ab7f2be21c commit r15-351-g646db3d30bd071a1b671b4f91c9ea2ab7f2be21c Author: Marek Polacek Date:

[Bug tree-optimization/111499] -Wstringop-overread warning in std::vector less operator< for __builtin_memcmp call

2024-05-09 Thread lloyd at randombit dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111499 Jack Lloyd changed: What|Removed |Added CC||lloyd at randombit dot net --- Comment #5

[Bug c++/113798] [C++26] P2662R3 - Pack indexing

2024-05-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113798 --- Comment #2 from Jakub Jelinek --- Ignore me, functions can't return arrays.

[Bug rtl-optimization/114415] [13 Regression] wrong code with -Oz -fno-dce -fno-forward-propagate -flive-range-shrinkage -fweb since r13-1826

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

[Bug sanitizer/84508] Load of misaligned address using _mm_load_sd

2024-05-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84508 --- Comment #21 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:e02b5683e77c2b4317b23be72e43b6e6cc6c8e5b commit r15-350-ge02b5683e77c2b4317b23be72e43b6e6cc6c8e5b Author: Jakub Jelinek Date:

[Bug ada/81087] array index out of range in gnatlink, making test always false

2024-05-09 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81087 Nicolas Boulenguez changed: What|Removed |Added Attachment #41577|0 |1 is obsolete|

[Bug target/115010] m68k: invalid subl instruction generated

2024-05-09 Thread admin--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115010 --- Comment #9 from Thorsten Otto --- Doing some more testing: - a cross-compiler build for m68k-suse-linux gives the same error on the reduced testcase - the error only occurs when using -m68020-60 or -m68060 - older compiler versions (tested

[Bug c++/115016] New: False positive -Wfree-nonheap-object using std::vector with -O3

2024-05-09 Thread lloyd at randombit dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115016 Bug ID: 115016 Summary: False positive -Wfree-nonheap-object using std::vector with -O3 Product: gcc Version: 14.1.1 Status: UNCONFIRMED Severity: normal

[Bug modula2/115003] exporting a symbol to outer scope with a name clash causes ICE

2024-05-09 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115003 Gaius Mulley changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug modula2/115003] exporting a symbol to outer scope with a name clash causes ICE

2024-05-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115003 --- Comment #3 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:bc5afdf14ccf8375f7fb3de2be1121aaf550f8aa commit r15-349-gbc5afdf14ccf8375f7fb3de2be1121aaf550f8aa Author: Gaius Mulley Date: Thu

[Bug fortran/114827] Valgrind reports errors with class(*) assignment

2024-05-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114827 --- Comment #13 from GCC Commits --- The releases/gcc-14 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:a5046235509caa10a4dc309ca0a8e67892b27750 commit r14-10191-ga5046235509caa10a4dc309ca0a8e67892b27750 Author: Harald

[Bug tree-optimization/112659] missed-optimization: if (exp) return exp; else return 0;

2024-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112659 --- Comment #9 from Andrew Pinski --- (In reply to Andrew Pinski from comment #8) > Thinking about this slightly more, we should be able to handle (which LLVM > does not currently handles): > ``` > int optb(int v, int b) { > // b = 8; >

[Bug target/113859] popcount HI can be vectorized for non-SVE

2024-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113859 Andrew Pinski changed: What|Removed |Added Keywords||patch URL|

[Bug analyzer/110112] [11/12 Regression] gcc -fanalyzer takes an excessive amount of time

2024-05-09 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110112 David Malcolm changed: What|Removed |Added Summary|[11/12/13 Regression] gcc |[11/12 Regression] gcc

[Bug analyzer/109577] -Wanalyzer-allocation-size mishandles __builtin_mul_overflow

2024-05-09 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109577 David Malcolm changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug analyzer/110014] -Wanalyzer-allocation-size mishandles realloc (..., .... * sizeof (object))

2024-05-09 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110014 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug analyzer/110700] [12 Regression] ICE with -fanalyzer --analyzer-checker=taint on division of tainted floating-point values

2024-05-09 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110700 David Malcolm changed: What|Removed |Added Summary|[12/13 Regression] ICE with |[12 Regression] ICE with

[Bug analyzer/110882] ICE with -fanalyzer on zero-sized array

2024-05-09 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110882 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug analyzer/112889] [11/12 Regression] ICE with -fanalyzer seen on Linux kernel drivers/infiniband/hw/cxgb4/cm.c

2024-05-09 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112889 David Malcolm changed: What|Removed |Added Summary|[11/12/13 Regression] ICE |[11/12 Regression] ICE with

[Bug analyzer/106358] [meta-bug] tracker bug for building the Linux kernel with -fanalyzer

2024-05-09 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106358 Bug 106358 depends on bug 112790, which changed state. Bug 112790 Summary: -Wanalyzer-deref-before-check false positives seen in Linux kernel due to inlining https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112790 What|Removed

[Bug analyzer/112790] -Wanalyzer-deref-before-check false positives seen in Linux kernel due to inlining

2024-05-09 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112790 David Malcolm changed: What|Removed |Added Resolution|--- |FIXED Summary|[13

[Bug analyzer/113333] [11/12 Regression] analyzer: False positives with calloc()

2024-05-09 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11 David Malcolm changed: What|Removed |Added Summary|[11/12/13 Regression] |[11/12 Regression]

[Bug analyzer/112969] [11/12 Regression] -Wanalyzer-exposure-through-uninit-copy false positive seen on Linux kernel's drivers/net/ethernet/intel/ice/ice_ptp.c

2024-05-09 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112969 David Malcolm changed: What|Removed |Added Summary|[11/12/13 Regression] |[11/12 Regression]

[Bug analyzer/113253] [11/12 Regression] gcc -g causes -fanalyzer to issue false positive

2024-05-09 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113253 David Malcolm changed: What|Removed |Added Summary|[11/12/13 Regression] gcc |[11/12 Regression] gcc -g

[Bug analyzer/111289] Unwarranted -Wanalyzer-va-arg-type-mismatch warning

2024-05-09 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111289 David Malcolm changed: What|Removed |Added Summary|[13 Regression] Unwarranted |Unwarranted

[Bug analyzer/109251] -Wanalyzer-deref-before-check false positives seen in Linux kernel due to check in macros

2024-05-09 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109251 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Summary|[13

[Bug analyzer/114473] ICE: in deref_rvalue, at analyzer/region-model.cc:2780 with -fanalyzer -fanalyzer-call-summaries

2024-05-09 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114473 David Malcolm changed: What|Removed |Added Summary|[13 Regression] ICE: in |ICE: in deref_rvalue, at

[Bug analyzer/114408] ICE when invoking strcmp multiple times with -fsanitize=undefined -O1 -fanalyzer -flto

2024-05-09 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114408 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/115005] [gcc-13] bogus -Warray-bounds warning

2024-05-09 Thread sezeroz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115005 --- Comment #3 from Ozkan Sezer --- > There is a jump threading there handling n==0 (aka numbits==-1u) and that is > causing the warning. The thing is, n==0 is not guarding against numbits==-1u: it is guarding against 0 members of

[Bug libstdc++/115015] New: libstdc++ build with '-fno-rtti' is broken

2024-05-09 Thread alexey.lapshin at espressif dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115015 Bug ID: 115015 Summary: libstdc++ build with '-fno-rtti' is broken Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/115009] [15 regression] AVR: ICE in alloc, at value-range-storage.cc:598

2024-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115009 Andrew Pinski changed: What|Removed |Added Severity|normal |blocker CC|

[Bug target/115010] m68k: invalid subl instruction generated

2024-05-09 Thread admin--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115010 --- Comment #8 from Thorsten Otto --- I've never use cvise before, but it gave the attached short source. It inserted a strange recursive call at the end, but it gives me these error messages: test.c: In function 'void mul_hwi(bool*)':

[Bug target/115010] m68k: invalid subl instruction generated

2024-05-09 Thread admin--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115010 --- Comment #7 from Thorsten Otto --- Created attachment 58151 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58151=edit Shortened test case

[Bug middle-end/112684] ICE: in main, at toplev.cc:2327 with -ftarget-help -fdiagnostics-generate-patch

2024-05-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112684 --- Comment #5 from GCC Commits --- The releases/gcc-13 branch has been updated by David Malcolm : https://gcc.gnu.org/g:2a6f99aef7c8522471967b171180d9ba4136da90 commit r13-8760-g2a6f99aef7c8522471967b171180d9ba4136da90 Author: David Malcolm

[Bug analyzer/109251] [13 Regression] -Wanalyzer-deref-before-check false positives seen in Linux kernel due to check in macros

2024-05-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109251 --- Comment #3 from GCC Commits --- The releases/gcc-13 branch has been updated by David Malcolm : https://gcc.gnu.org/g:ed026106ce420c7d9dd4d89caac017b6f235e219 commit r13-8756-ged026106ce420c7d9dd4d89caac017b6f235e219 Author: David Malcolm

[Bug tree-optimization/115009] [15 regression] AVR: ICE in alloc, at value-range-storage.cc:598

2024-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115009 --- Comment #2 from Andrew Pinski --- Reduced testcase: ``` void pgm_copystring(const char __memx * p) { unsigned char c; c = *p; } ```

[Bug analyzer/111289] [13 Regression] Unwarranted -Wanalyzer-va-arg-type-mismatch warning

2024-05-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111289 --- Comment #8 from GCC Commits --- The releases/gcc-13 branch has been updated by David Malcolm : https://gcc.gnu.org/g:67d104f3a032ee64bae335269bf1b8434785cc63 commit r13-8755-g67d104f3a032ee64bae335269bf1b8434785cc63 Author: David Malcolm

[Bug driver/111700] ICE: SIGSEGV in needs_read_p (input.cc:598) with -fdiagnostics-format=sarif-file or -fdiagnostics-format=sarif-stderr on pre-processed input

2024-05-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111700 --- Comment #4 from GCC Commits --- The releases/gcc-13 branch has been updated by David Malcolm : https://gcc.gnu.org/g:230f672b3ed0f64c9110ef9dba616c17d713816d commit r13-8759-g230f672b3ed0f64c9110ef9dba616c17d713816d Author: David Malcolm

[Bug middle-end/114348] Corrupt SARIF output on stderr

2024-05-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114348 --- Comment #7 from GCC Commits --- The releases/gcc-13 branch has been updated by David Malcolm : https://gcc.gnu.org/g:b7a2697733d19a093cbdd0e200ffce069a4bc812 commit r13-8761-gb7a2697733d19a093cbdd0e200ffce069a4bc812 Author: David Malcolm

[Bug analyzer/113253] [11/12/13 Regression] gcc -g causes -fanalyzer to issue false positive

2024-05-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113253 --- Comment #5 from GCC Commits --- The releases/gcc-13 branch has been updated by David Malcolm : https://gcc.gnu.org/g:2c688f6afce4cbb414f5baab1199cd525f309fca commit r13-8754-g2c688f6afce4cbb414f5baab1199cd525f309fca Author: David Malcolm

[Bug analyzer/114473] [13 Regression] ICE: in deref_rvalue, at analyzer/region-model.cc:2780 with -fanalyzer -fanalyzer-call-summaries

2024-05-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114473 --- Comment #4 from GCC Commits --- The releases/gcc-13 branch has been updated by David Malcolm : https://gcc.gnu.org/g:810d35a7e054bcbb5b66d2e5924428e445f5fba9 commit r13-8757-g810d35a7e054bcbb5b66d2e5924428e445f5fba9 Author: David Malcolm

[Bug analyzer/113333] [11/12/13 Regression] analyzer: False positives with calloc()

2024-05-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11 --- Comment #5 from GCC Commits --- The releases/gcc-13 branch has been updated by David Malcolm : https://gcc.gnu.org/g:132eb1a210bc7806c4cf188ecac6c08339c94384 commit r13-8752-g132eb1a210bc7806c4cf188ecac6c08339c94384 Author: David Malcolm

[Bug jit/110466] jit.dg FAILs on ppc64le

2024-05-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110466 --- Comment #11 from GCC Commits --- The releases/gcc-13 branch has been updated by David Malcolm : https://gcc.gnu.org/g:60dcb710b6b4aa22ea96abc8df6dfe9067f3d7fe commit r13-8745-g60dcb710b6b4aa22ea96abc8df6dfe9067f3d7fe Author: David Malcolm

[Bug analyzer/112790] [13 Regression] -Wanalyzer-deref-before-check false positives seen in Linux kernel due to inlining

2024-05-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112790 --- Comment #5 from GCC Commits --- The releases/gcc-13 branch has been updated by David Malcolm : https://gcc.gnu.org/g:994477c41049d45b60a4d6db7f624fe5c89860fe commit r13-8751-g994477c41049d45b60a4d6db7f624fe5c89860fe Author: David Malcolm

[Bug analyzer/112889] [11/12/13 Regression] ICE with -fanalyzer seen on Linux kernel drivers/infiniband/hw/cxgb4/cm.c

2024-05-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112889 --- Comment #5 from GCC Commits --- The releases/gcc-13 branch has been updated by David Malcolm : https://gcc.gnu.org/g:a1cb188cb2ca2ad3f4e837dba2967f323669d36e commit r13-8750-ga1cb188cb2ca2ad3f4e837dba2967f323669d36e Author: David Malcolm

[Bug analyzer/114408] [13 Regression] ICE when invoking strcmp multiple times with -fsanitize=undefined -O1 -fanalyzer -flto

2024-05-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114408 --- Comment #8 from GCC Commits --- The releases/gcc-13 branch has been updated by David Malcolm : https://gcc.gnu.org/g:96f7a3694c3e4c72af6258cc9b38bce30e609bee commit r13-8758-g96f7a3694c3e4c72af6258cc9b38bce30e609bee Author: David Malcolm

[Bug analyzer/112969] [11/12/13 Regression] -Wanalyzer-exposure-through-uninit-copy false positive seen on Linux kernel's drivers/net/ethernet/intel/ice/ice_ptp.c

2024-05-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112969 --- Comment #4 from GCC Commits --- The releases/gcc-13 branch has been updated by David Malcolm : https://gcc.gnu.org/g:0593151221ad21c2a67dfda597539c458ab731d8 commit r13-8753-g0593151221ad21c2a67dfda597539c458ab731d8 Author: David Malcolm

[Bug analyzer/109577] [13 Regression] -Wanalyzer-allocation-size mishandles __builtin_mul_overflow

2024-05-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109577 --- Comment #7 from GCC Commits --- The releases/gcc-13 branch has been updated by David Malcolm : https://gcc.gnu.org/g:e0c52905f666e3d23881f82dbf39466a24f009f4 commit r13-8743-ge0c52905f666e3d23881f82dbf39466a24f009f4 Author: Tim Lange

[Bug analyzer/110882] [13 Regression] ICE with -fanalyzer on zero-sized array

2024-05-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110882 --- Comment #7 from GCC Commits --- The releases/gcc-13 branch has been updated by David Malcolm : https://gcc.gnu.org/g:a0b13d0860848dd5f2876897ada1e22e4e681e91 commit r13-8747-ga0b13d0860848dd5f2876897ada1e22e4e681e91 Author: David Malcolm

[Bug analyzer/110882] [13 Regression] ICE with -fanalyzer on zero-sized array

2024-05-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110882 --- Comment #8 from GCC Commits --- The releases/gcc-13 branch has been updated by David Malcolm : https://gcc.gnu.org/g:44968a0e00f656e9bb3e504bb2fa1a8282002015 commit r13-8748-g44968a0e00f656e9bb3e504bb2fa1a8282002015 Author: David Malcolm

[Bug analyzer/108171] [13/14 Regression] ICE in binding_key::make, at analyzer/store.cc:132 since r13-4529-gdfe2ef7f2b6cac70

2024-05-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108171 --- Comment #8 from GCC Commits --- The releases/gcc-13 branch has been updated by David Malcolm : https://gcc.gnu.org/g:44968a0e00f656e9bb3e504bb2fa1a8282002015 commit r13-8748-g44968a0e00f656e9bb3e504bb2fa1a8282002015 Author: David Malcolm

[Bug analyzer/110700] [12/13 Regression] ICE with -fanalyzer --analyzer-checker=taint on division of tainted floating-point values

2024-05-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110700 --- Comment #4 from GCC Commits --- The releases/gcc-13 branch has been updated by David Malcolm : https://gcc.gnu.org/g:0df1ee083434ac00ecb19582b1e5b25e105981b2 commit r13-8746-g0df1ee083434ac00ecb19582b1e5b25e105981b2 Author: David Malcolm

[Bug analyzer/110014] [13 Regression] -Wanalyzer-allocation-size mishandles realloc (..., .... * sizeof (object))

2024-05-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110014 --- Comment #4 from GCC Commits --- The releases/gcc-13 branch has been updated by David Malcolm : https://gcc.gnu.org/g:e0c52905f666e3d23881f82dbf39466a24f009f4 commit r13-8743-ge0c52905f666e3d23881f82dbf39466a24f009f4 Author: Tim Lange

[Bug jit/110466] jit.dg FAILs on ppc64le

2024-05-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110466 --- Comment #10 from GCC Commits --- The releases/gcc-13 branch has been updated by David Malcolm : https://gcc.gnu.org/g:b38472ffc1e631bd357573b44d956ce16d94e666 commit r13-8744-gb38472ffc1e631bd357573b44d956ce16d94e666 Author: David Malcolm

[Bug analyzer/109577] [13 Regression] -Wanalyzer-allocation-size mishandles __builtin_mul_overflow

2024-05-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109577 --- Comment #6 from GCC Commits --- The releases/gcc-13 branch has been updated by David Malcolm : https://gcc.gnu.org/g:ccf8d3e3d26c6ba3d5e11fffeed8d64018e9c060 commit r13-8742-gccf8d3e3d26c6ba3d5e11fffeed8d64018e9c060 Author: Tim Lange

[Bug analyzer/110112] [11/12/13 Regression] gcc -fanalyzer takes an excessive amount of time

2024-05-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110112 --- Comment #6 from GCC Commits --- The releases/gcc-13 branch has been updated by David Malcolm : https://gcc.gnu.org/g:89feb3557a018893cfe50c2e07f91559bd3cde2b commit r13-8741-g89feb3557a018893cfe50c2e07f91559bd3cde2b Author: David Malcolm

[Bug tree-optimization/115009] [15 regression] AVR: ICE in alloc, at value-range-storage.cc:598

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

[Bug c++/85889] lambda expression can capture structured bindings

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

[Bug c++/85889] lambda expression can capture structured bindings

2024-05-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85889 --- Comment #6 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:46bafd9a6b9b776142e0b1424a6ac02e3a2fd300 commit r15-348-g46bafd9a6b9b776142e0b1424a6ac02e3a2fd300 Author: Marek Polacek Date: Fri

[Bug target/115010] m68k: invalid subl instruction generated

2024-05-09 Thread admin--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115010 --- Comment #6 from Thorsten Otto --- Oh, yes, of course. command line that failed: m68k-atari-mint-g++-14.1.0 -m68020-60 "-fno-PIE" "-c" "-O2" "-fomit-frame-pointer" "-DIN_GCC" "-fno-exceptions" "-fno-rtti" "-fasynchronous-unwind-tables" "-W"

[Bug rtl-optimization/114415] [13 Regression] wrong code with -Oz -fno-dce -fno-forward-propagate -flive-range-shrinkage -fweb since r13-1826

2024-05-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114415 --- Comment #12 from GCC Commits --- The releases/gcc-13 branch has been updated by Vladimir Makarov : https://gcc.gnu.org/g:e30211cb0b3a2b88959e9bc40626a17461de52de commit r13-8740-ge30211cb0b3a2b88959e9bc40626a17461de52de Author: Vladimir

[Bug tree-optimization/115004] [11/12/13/14/15 Regression] Missed optimization for Dead Code Elimination

2024-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115004 --- Comment #1 from Andrew Pinski --- Note this works with the IR coming out of the C front-end but NOT the IR coming out from the C++ front-end. Yes the front-ends are different.

[Bug target/115010] m68k: invalid subl instruction generated

2024-05-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115010 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #5

  1   2   >