https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104958
Martin Sebor changed:
What|Removed |Added
Last reconfirmed||2022-03-16
Keywords|
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
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|Re
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104436
Martin Sebor changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
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
i
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 we
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104922
Martin Sebor changed:
What|Removed |Added
Keywords|lto |missed-optimization
Ever confirmed|0
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104746
Martin Sebor changed:
What|Removed |Added
Status|REOPENED|RESOLVED
Resolution|---
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: diagnosti
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104855
Martin Sebor changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
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.
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 t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104746
Martin Sebor changed:
What|Removed |Added
Resolution|--- |INVALID
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104854
Martin Sebor changed:
What|Removed |Added
CC||msebor at gcc dot gnu.org
Sum
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. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104341
Martin Sebor changed:
What|Removed |Added
Resolution|--- |DUPLICATE
Status|NEW
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
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 va
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&action=edit
Output of debug_ranger() for the affected function.
The IL the first warning triggers for in the test case in c
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 they
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104761
Martin Sebor changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
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 c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104746
Martin Sebor changed:
What|Removed |Added
Summary|[12 Regression] False |False positive for
|po
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 relat
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104761
Martin Sebor changed:
What|Removed |Added
Summary|[12 Regression] False |[12 Regression] bogus
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104761
Martin Sebor changed:
What|Removed |Added
Status|NEW |ASSIGNED
Keywords|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104603
Martin Sebor changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104746
Martin Sebor changed:
What|Removed |Added
Status|NEW |WAITING
--- Comment #1 from Martin Sebor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104692
Martin Sebor changed:
What|Removed |Added
Last reconfirmed||2022-02-25
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104657
Martin Sebor changed:
What|Removed |Added
CC||msebor at gcc dot gnu.org
--- Comment #3
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. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104655
Martin Sebor changed:
What|Removed |Added
Resolution|--- |DUPLICATE
CC|
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
> memor
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 |A
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102006
Martin Sebor changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
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 e
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). Alterna
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104492
Martin Sebor changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Component|c++
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104355
Martin Sebor changed:
What|Removed |Added
Keywords||patch
--- Comment #4 from Martin Sebor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81524
Martin Sebor changed:
What|Removed |Added
Component|c |middle-end
--- Comment #8 from Martin Seb
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104475
Martin Sebor changed:
What|Removed |Added
CC||msebor at gcc dot gnu.org
Last reconfi
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 should
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81524
Martin Sebor changed:
What|Removed |Added
CC||msebor at gcc dot gnu.org
Sta
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104355
Martin Sebor changed:
What|Removed |Added
CC||msebor at gcc dot gnu.org
--- Comment #2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104436
Martin Sebor changed:
What|Removed |Added
Target Milestone|--- |12.0
Summary|spurious -Wdangl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104165
Martin Sebor changed:
What|Removed |Added
URL||https://bugzilla.redhat.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104436
Martin Sebor changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104436
Martin Sebor changed:
What|Removed |Added
Last reconfirmed||2022-02-07
URL|
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
Severity:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104260
Martin Sebor changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104367
Martin Sebor changed:
What|Removed |Added
CC||msebor at gcc dot gnu.org
--- Comment #2
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|Removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104119
Martin Sebor changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90524
Martin Sebor changed:
What|Removed |Added
Status|ASSIGNED|NEW
Summary|[10/11/12 Regressi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104359
Martin Sebor changed:
What|Removed |Added
CC||msebor at gcc dot gnu.org
--- Comment #5
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 (pr63272),
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101831
Martin Sebor changed:
What|Removed |Added
Summary|[11/12 Regression] Spurious |[11 Regression] Spurious
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104260
Martin Sebor changed:
What|Removed |Added
Keywords||patch
--- Comment #3 from Martin Sebor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104336
Martin Sebor changed:
What|Removed |Added
Keywords||diagnostic
URL|
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
Component:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101831
Martin Sebor changed:
What|Removed |Added
Keywords||patch
--- Comment #4 from Martin Sebor
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 |Add
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104232
Martin Sebor changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
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
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
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. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104269
Martin Sebor changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104232
Martin Sebor changed:
What|Removed |Added
Keywords||patch
--- Comment #2 from Martin Sebor
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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101793
Martin Sebor changed:
What|Removed |Added
Status|ASSIGNED|NEW
Assignee|msebor at gcc dot
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93848
Martin Sebor changed:
What|Removed |Added
Status|ASSIGNED|NEW
Assignee|msebor at gcc dot
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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91462
Martin Sebor changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90404
Martin Sebor changed:
What|Removed |Added
Status|ASSIGNED|NEW
Assignee|msebor at gcc dot
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85931
Martin Sebor changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
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
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33925
Martin Sebor changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82914
Martin Sebor changed:
What|Removed |Added
Status|ASSIGNED|NEW
Assignee|msebor at gcc dot
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
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
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
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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98217
Martin Sebor changed:
What|Removed |Added
Status|ASSIGNED|NEW
Assignee|msebor at gcc dot
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
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
---
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
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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86571
Martin Sebor changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86568
Martin Sebor changed:
What|Removed |Added
Status|ASSIGNED|NEW
Assignee|msebor at gcc dot
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
101 - 200 of 1255 matches
Mail list logo