[Bug middle-end/104958] missing -Wdangling-pointer leaking local address through struct member

2022-03-16 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104958 Martin Sebor changed: What|Removed |Added Last reconfirmed||2022-03-16 Keywords|

[Bug middle-end/104958] New: missing -Wdangling-pointer leaking local address through struct member

2022-03-16 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104958 Bug ID: 104958 Summary: missing -Wdangling-pointer leaking local address through struct member Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/104077] bogus/missing -Wdangling-pointer

2022-03-14 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104077 Bug 104077 depends on bug 104436, which changed state. Bug 104436 Summary: [12 Regression] spurious -Wdangling-pointer assigning local address to a class passed by value https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104436 What

[Bug middle-end/104436] [12 Regression] spurious -Wdangling-pointer assigning local address to a class passed by value

2022-03-14 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104436 Martin Sebor changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug middle-end/103483] [12 regression] context-sensitive ranges change triggers stringop-overread

2022-03-14 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103483 --- Comment #23 from Martin Sebor --- (In reply to Richard Biener from comment #22) Your question may have been rhetorical but to be explicit, the real difference is hidden in the implementation (which is why these warnings can sometimes seem

[Bug middle-end/104854] -Wstringop-overread should not warn for strnlen, strndup and strncmp

2022-03-14 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104854 --- Comment #7 from Martin Sebor --- Moving warnings into the analyzer and scaling it up to be able to run by default, during development, sounds like a good long-term plan. Until that happens, rather than gratuitously removing warnings that

[Bug tree-optimization/104922] bogus -Wformat-overflow=2 due to missing range for related variables

2022-03-14 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104922 Martin Sebor changed: What|Removed |Added Keywords|lto |missed-optimization Ever

[Bug tree-optimization/104922] bogus -Wformat-overflow=2 due to missing range for related variables

2022-03-14 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104922 Bug 104922 depends on bug 104746, which changed state. Bug 104746 Summary: False positive for -Wformat-overflow=2 since r12-7033-g3c9f762ad02f398c https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104746 What|Removed

[Bug tree-optimization/104746] False positive for -Wformat-overflow=2 since r12-7033-g3c9f762ad02f398c

2022-03-14 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104746 Martin Sebor changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug tree-optimization/104922] New: bogus -Wformat-overflow=2 due to missing range for related variables

2022-03-14 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104922 Bug ID: 104922 Summary: bogus -Wformat-overflow=2 due to missing range for related variables Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords:

[Bug c++/104855] -Wclass-memaccess is too broad with valid code

2022-03-14 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104855 Martin Sebor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/104854] -Wstringop-overread should not warn for strnlen, strndup and strncmp

2022-03-14 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104854 --- Comment #5 from Martin Sebor --- It would be useful to separate these warnings into multiple levels: level 1 for invalid code, and higher levels for suspicious (or pointless) code, similarly to -Wformat-overflow.

[Bug tree-optimization/104789] [12 Regression] -Wstringop-overflow false positive at -O3 for an unrolled loop

2022-03-14 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104789 --- Comment #11 from Martin Sebor --- The direct store subset of -Wstringop-overflow that runs in the strlen pass (i.e., those handled in strlen_pass::handle_store) might be better handled in VRP and issued under -Warray-bounds. The challenge

[Bug tree-optimization/104746] False positive for -Wformat-overflow=2 since r12-7033-g3c9f762ad02f398c

2022-03-14 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104746 Martin Sebor changed: What|Removed |Added Resolution|--- |INVALID Status|NEW

[Bug middle-end/104854] -Wstringop-overread should not warn for strnlen and strndup

2022-03-09 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104854 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org

[Bug middle-end/98503] [11/12 regression] -Warray-bounds false positive with global variables at -O2 since r11-3306-g3f9a497d1b0dd9da

2022-03-07 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98503 --- Comment #17 from Martin Sebor --- *** Bug 104341 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/104341] [12 Regression] Bogus -Werror=array-bounds since r12-2582-gb9cbf8c9e0bc72f5

2022-03-07 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104341 Martin Sebor changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug tree-optimization/104746] False positive for -Wformat-overflow=2 since r12-7033-g3c9f762ad02f398c

2022-03-07 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104746 --- Comment #9 from Martin Sebor --- Martin, since the warning is working correctly (even if it's arguably not as clear as it could be), I'd like us to close this. If you agree, can you please go ahead and mark this as resolved (either invalid

[Bug tree-optimization/104789] [12 Regression] -Wstringop-overflow false positive at -O3 for an unrolled loop

2022-03-07 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104789 --- Comment #9 from Martin Sebor --- A much simplified test case that reproduces the same warning (with both GCC 12 and 11) is below. The underlying problem is that although GCC does have a way to represent simple disjoint ranges of variable

[Bug tree-optimization/104789] [12 Regression] New -Wstringop-overflow false positive since r12-5863-g9354a7d70caef1c9

2022-03-07 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104789 --- Comment #8 from Martin Sebor --- Created attachment 52574 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52574=edit Output of debug_ranger() for the affected function. The IL the first warning triggers for in the test case in comment

[Bug tree-optimization/104746] False positive for -Wformat-overflow=2 since r12-7033-g3c9f762ad02f398c

2022-03-03 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104746 --- Comment #8 from Martin Sebor --- Andrew, quoting from the documentation for the warning: Unknown string arguments whose length cannot be assumed to be bounded either by the directive’s precision, or by a finite set of string literals

[Bug middle-end/104077] bogus/missing -Wdangling-pointer

2022-03-03 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104077 Bug 104077 depends on bug 104761, which changed state. Bug 104761 Summary: [12 Regression] bogus -Wdangling-pointer with cleanup and infinite loop https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104761 What|Removed

[Bug middle-end/104761] [12 Regression] bogus -Wdangling-pointer with cleanup and infinite loop

2022-03-03 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104761 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/104702] [12 Regression] False positive -Wunused-value warning with -fno-exceptions

2022-03-03 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104702 --- Comment #3 from Martin Sebor --- The warning mapping needs to be updated whenever a location of a tree or gimple* changes (gimple_set_block() calls gimple_set_location() which calls copy_warning() so that part at least should work). I saw

[Bug tree-optimization/104746] False positive for -Wformat-overflow=2 since r12-7033-g3c9f762ad02f398c

2022-03-03 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104746 Martin Sebor changed: What|Removed |Added Summary|[12 Regression] False |False positive for

[Bug tree-optimization/104746] [12 Regression] False positive for -Wformat-overflow=2 since r12-7033-g3c9f762ad02f398c

2022-03-03 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104746 --- Comment #5 from Martin Sebor --- (In reply to Martin Liška from comment #3) This is an example of the "symbolic constraints involving multiple arguments" that I mentioned in comment #1. There is no logic to determine from the complex

[Bug middle-end/104761] [12 Regression] bogus -Wdangling-pointer with cleanup and infinite loop

2022-03-02 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104761 Martin Sebor changed: What|Removed |Added Summary|[12 Regression] False |[12 Regression] bogus

[Bug middle-end/104761] [12 Regression] False positive -Wdangling-pointer warning on NetworkManager since r12-6606

2022-03-02 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104761 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED Keywords|

[Bug tree-optimization/104603] [10/11/12 Regression] wrong detection of -Warray-bounds for interesting tail resusive case

2022-03-01 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104603 Martin Sebor changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/104746] [12 Regression] False positive for -Wformat-overflow=2 since r12-7033-g3c9f762ad02f398c

2022-03-01 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104746 Martin Sebor changed: What|Removed |Added Status|NEW |WAITING --- Comment #1 from Martin

[Bug middle-end/104692] Constant data at fixed address

2022-02-25 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104692 Martin Sebor changed: What|Removed |Added Last reconfirmed||2022-02-25 Ever confirmed|0

[Bug tree-optimization/104657] array subscript 0 is outside array bounds

2022-02-23 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104657 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment

[Bug middle-end/99578] [11/12 Regression] gcc-11 -Warray-bounds or -Wstringop-overread warning when accessing a pointer from integer literal

2022-02-23 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578 --- Comment #27 from Martin Sebor --- *** Bug 104655 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/104655] [12 Regression] array subscript 0 is outside array bounds of

2022-02-23 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104655 Martin Sebor changed: What|Removed |Added Resolution|--- |DUPLICATE CC|

[Bug middle-end/99578] [11/12 Regression] gcc-11 -Warray-bounds or -Wstringop-overread warning when accessing a pointer from integer literal

2022-02-23 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578 --- Comment #25 from Martin Sebor --- (In reply to Jakub Jelinek from comment #24) > (In reply to Martin Sebor from comment #1) > > The warning is by design. > > That just means the design is bad. Especially in the embedded world, using >

[Bug tree-optimization/56456] [meta-bug] bogus/missing -Warray-bounds

2022-02-16 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Bug 56456 depends on bug 102006, which changed state. Bug 102006 Summary: A false warning "Array subscript -N is outside array bounds warning" https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102006 What|Removed

[Bug tree-optimization/102006] A false warning "Array subscript -N is outside array bounds warning"

2022-02-16 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102006 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/104492] [12 Regression] Bogus dangling pointer warning at -O3

2022-02-14 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104492 --- Comment #5 from Martin Sebor --- Setting aside the question of warning about inequality expressions involving invalid pointers, it seems that if the annotation 'candidates ={v} {CLOBBER(eol)};' is to be interpreted as one would intuitively

[Bug middle-end/104492] [12 Regression] Bogus dangling pointer warning at -O3

2022-02-10 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104492 --- Comment #3 from Martin Sebor --- It might be possible to run the pass earlier to avoid this problem but I haven't managed to find a spot that didn't regress some -Wdangling-pointer tests (at least g++.dg/warn/Wdangling-pointer-2.C).

[Bug middle-end/104492] [12 Regression] Bogus dangling pointer warning at -O3

2022-02-10 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104492 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Component|c++

[Bug middle-end/104355] Misleading -Warray-bounds documentation says "always out of bounds"

2022-02-10 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104355 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #4 from Martin Sebor

[Bug middle-end/81524] Bogus or missing warnings when dereferencing pointer to deallocated stack memory

2022-02-10 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81524 Martin Sebor changed: What|Removed |Added Component|c |middle-end --- Comment #8 from Martin

[Bug tree-optimization/104475] [12 Regression] Wstringop-overflow + atomics incorrect warning on dynamic object

2022-02-09 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104475 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org Last

[Bug middle-end/98900] misleading -Wuninitialized using a variable outside its lifetime with -O2

2022-02-08 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98900 --- Comment #3 from Martin Sebor --- GCC 12 issues -Wdangling-poinnter for this bug now at all optimization levels. It still issues -Wuninitialized at -O1 and above, but with the dangling pointer warning I don't think it's a big deal. It

[Bug middle-end/104077] bogus/missing -Wdangling-pointer

2022-02-08 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104077 Bug 104077 depends on bug 81524, which changed state. Bug 81524 Summary: Bogus or missing warnings when dereferencing pointer to deallocated stack memory https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81524 What|Removed

[Bug c/81524] Bogus or missing warnings when dereferencing pointer to deallocated stack memory

2022-02-08 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81524 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org

[Bug middle-end/104355] Misleading -Warray-bounds documentation says "always out of bounds"

2022-02-08 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104355 Martin Sebor changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org

[Bug middle-end/104355] Misleading -Warray-bounds documentation says "always out of bounds"

2022-02-08 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104355 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment

[Bug middle-end/104436] [12 Regression] spurious -Wdangling-pointer assigning local address to a class passed by value

2022-02-08 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104436 Martin Sebor changed: What|Removed |Added Target Milestone|--- |12.0 Summary|spurious

[Bug tree-optimization/104165] [12 Regression] -Warray-bounds for unreachable code inlined from std::sort()

2022-02-08 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104165 Martin Sebor changed: What|Removed |Added URL||https://bugzilla.redhat.com

[Bug middle-end/104436] spurious -Wdangling-pointer assigning local address to a class passed by value

2022-02-07 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104436 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug middle-end/104436] spurious -Wdangling-pointer assigning local address to a class passed by value

2022-02-07 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104436 Martin Sebor changed: What|Removed |Added Last reconfirmed||2022-02-07 URL|

[Bug middle-end/104436] New: spurious -Wdangling-pointer assigning local address to a class passed by value

2022-02-07 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104436 Bug ID: 104436 Summary: spurious -Wdangling-pointer assigning local address to a class passed by value Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug middle-end/104260] [12 Regression] Misplaced waccess3 pass

2022-02-03 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104260 Martin Sebor changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c/104367] Possible improvements for -Wmisleading-indentation

2022-02-03 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104367 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment

[Bug tree-optimization/85741] [meta-bug] bogus/missing -Wformat-overflow

2022-02-03 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85741 Bug 85741 depends on bug 104119, which changed state. Bug 104119 Summary: [12 Regression] unexpected -Wformat-overflow after strlen in ILP32 since Ranger integration https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104119 What

[Bug tree-optimization/104119] [12 Regression] unexpected -Wformat-overflow after strlen in ILP32 since Ranger integration

2022-02-03 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104119 Martin Sebor changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/90524] [10/11 Regression] attribute name and argument mixed up in an error message

2022-02-03 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90524 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|NEW Summary|[10/11/12

[Bug c++/104359] GCC Treats bool with value != 1 as falsey when picking branches

2022-02-03 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104359 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment

[Bug middle-end/104076] bogus -Wdangling-pointer on a conditional

2022-02-02 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104076 --- Comment #5 from Martin Sebor --- Unlike the false positive -Wuse-after-free in pr104232, the instance of -Wdangling-pointer in this case (a PHI argument) is intentional so that we diagnose problems like those in the request for it

[Bug tree-optimization/101831] [11 Regression] Spurious maybe-uninitialized warning on std::array::size

2022-02-01 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101831 Martin Sebor changed: What|Removed |Added Summary|[11/12 Regression] Spurious |[11 Regression] Spurious

[Bug middle-end/104260] [12 Regression] Misplaced waccess3 pass

2022-02-01 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104260 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #3 from Martin Sebor

[Bug tree-optimization/104336] bogus -Wrestrict for std::string assignment with

2022-02-01 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104336 Martin Sebor changed: What|Removed |Added Keywords||diagnostic URL|

[Bug tree-optimization/104336] New: bogus -Wrestrict for std::string assignment with

2022-02-01 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104336 Bug ID: 104336 Summary: bogus -Wrestrict for std::string assignment with Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/101831] [11/12 Regression] Spurious maybe-uninitialized warning on std::array::size

2022-02-01 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101831 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #4 from Martin Sebor

[Bug middle-end/104075] bogus/missing -Wuse-after-free

2022-01-31 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104075 Bug 104075 depends on bug 104232, which changed state. Bug 104232 Summary: [12 Regression] spurious -Wuse-after-free after conditional free https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104232 What|Removed

[Bug middle-end/104232] [12 Regression] spurious -Wuse-after-free after conditional free

2022-01-31 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104232 Martin Sebor changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug middle-end/104232] [12 Regression] spurious -Wuse-after-free after conditional free

2022-01-31 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104232 --- Comment #4 from Martin Sebor --- The full link to the patch: https://gcc.gnu.org/pipermail/gcc-patches/2022-January/589366.html

[Bug middle-end/104075] bogus/missing -Wuse-after-free

2022-01-31 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104075 Bug 104075 depends on bug 104269, which changed state. Bug 104269 Summary: [12 Regression] Bogus -Wuse-after-free seen in xen https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104269 What|Removed |Added

[Bug middle-end/104232] [12 Regression] spurious -Wuse-after-free after conditional free

2022-01-31 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104232 --- Comment #3 from Martin Sebor --- *** Bug 104269 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/104269] [12 Regression] Bogus -Wuse-after-free seen in xen

2022-01-31 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104269 Martin Sebor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/104232] [12 Regression] spurious -Wuse-after-free after conditional free

2022-01-31 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104232 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #2 from Martin Sebor

[Bug tree-optimization/101831] [11/12 Regression] Spurious maybe-uninitialized warning on std::array::size

2022-01-27 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101831 Martin Sebor changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org

[Bug middle-end/104260] [12 Regression] Misplaced waccess3 pass

2022-01-27 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104260 Martin Sebor changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org

[Bug tree-optimization/101793] Incorrect -Wmaybe-uninitialized on an unreachable use at -O1

2022-01-26 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101793 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|msebor at gcc

[Bug middle-end/95485] missing warning writing into function text

2022-01-26 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95485 Martin Sebor changed: What|Removed |Added Assignee|msebor at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug middle-end/93848] missing -Warray-bounds warning for array subscript 1 is outside array bounds

2022-01-26 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93848 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|msebor at gcc dot

[Bug c++/69698] [meta-bug] flexible array members

2022-01-26 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69698 Bug 69698 depends on bug 91462, which changed state. Bug 91462 Summary: [9 Regression] missing -Warray-bounds writing to an empty flexible array member in a ctor https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91462 What|Removed

[Bug tree-optimization/56456] [meta-bug] bogus/missing -Warray-bounds

2022-01-26 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Bug 56456 depends on bug 91462, which changed state. Bug 91462 Summary: [9 Regression] missing -Warray-bounds writing to an empty flexible array member in a ctor https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91462 What|Removed

[Bug middle-end/91462] [9 Regression] missing -Warray-bounds writing to an empty flexible array member in a ctor

2022-01-26 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91462 Martin Sebor changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug middle-end/90404] No warning on attempts to modify a const object

2022-01-26 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90404 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|msebor at gcc dot

[Bug middle-end/90043] Turn on -Winit-self by default for -Wuninitialized

2022-01-26 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90043 Martin Sebor changed: What|Removed |Added Assignee|msebor at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug c/85931] -Wsizeof-pointer-memaccess for strncpy with size of source

2022-01-26 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85931 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/103360] [meta-bug] bogus/missing -Waddress

2022-01-26 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103360 Bug 103360 depends on bug 33925, which changed state. Bug 33925 Summary: [10/11 Regression] gcc -Waddress lost some useful warnings https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33925 What|Removed |Added

[Bug c++/33925] [10/11 Regression] gcc -Waddress lost some useful warnings

2022-01-26 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33925 Martin Sebor changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c/82914] 'struct __attribute__ ((aligned (N))) s' ignores 'aligned' attribute

2022-01-26 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82914 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|msebor at gcc dot

[Bug middle-end/78391] g++ (any version) at O0 (for O1, O2, O3 is ok) doesn't warn when class members are used uninitialized.

2022-01-26 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78391 Martin Sebor changed: What|Removed |Added Assignee|msebor at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug preprocessor/93419] __has_attribute(ifunc) false positive on hurd and kfreebsd

2022-01-26 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93419 Martin Sebor changed: What|Removed |Added Assignee|msebor at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug middle-end/94004] [9 Regression] missing -Walloca on calls to alloca due to -Wno-system-headers

2022-01-26 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94004 Martin Sebor changed: What|Removed |Added Assignee|msebor at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug middle-end/98405] missing -Wmaybe-uninitialized passing a member by reference in a ctor initializer list

2022-01-26 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98405 Martin Sebor changed: What|Removed |Added Assignee|msebor at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug middle-end/102934] missing warning passing address of first member to free()

2022-01-26 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102934 Martin Sebor changed: What|Removed |Added Assignee|msebor at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug c/98217] Prefer a warning for when VLAs declared on stack

2022-01-26 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98217 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|msebor at gcc dot

[Bug c++/89309] bogus -Wattributes ‘copy’ attribute ignored on a declaration of a different kind than referenced symbol

2022-01-26 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89309 Martin Sebor changed: What|Removed |Added Assignee|msebor at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug c++/88565] enhance -Warray-bounds for C++ trailing class member arrays

2022-01-26 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88565 Martin Sebor changed: What|Removed |Added Assignee|msebor at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug c/88718] Strange inconsistency between old style and new style definitions of inline functions.

2022-01-26 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88718 Martin Sebor changed: What|Removed |Added Assignee|msebor at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug middle-end/88397] attribute malloc ignored on function pointers when alloc_size is accepted

2022-01-26 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88397 Martin Sebor changed: What|Removed |Added Assignee|msebor at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug middle-end/87593] conflicting format_arg attributes on a declaration accepted

2022-01-26 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87593 Martin Sebor changed: What|Removed |Added Assignee|msebor at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug tree-optimization/86571] AIX NaNQ and NaNS output format conflicts with __builtin_sprintf

2022-01-26 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86571 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/86568] -Wnonnull warnings should highlight the relevant argument not the closing parenthesis

2022-01-26 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86568 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|msebor at gcc dot

[Bug tree-optimization/86199] warn on calls to strlen with same argument as in strnlen

2022-01-26 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86199 Martin Sebor changed: What|Removed |Added Assignee|msebor at gcc dot gnu.org |unassigned at gcc dot gnu.org

<    1   2   3   4   5   6   7   8   9   10   >