public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/104077] New: bogus/missing -Wdangling-pointer
@ 2022-01-17 22:12 msebor at gcc dot gnu.org
  2022-01-17 22:12 ` [Bug middle-end/104077] " msebor at gcc dot gnu.org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: msebor at gcc dot gnu.org @ 2022-01-17 22:12 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104077

            Bug ID: 104077
           Summary: bogus/missing -Wdangling-pointer
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: msebor at gcc dot gnu.org
  Target Milestone: ---

This meta-bug tracks false positives and negatives in the middle-end
-Wdangling-pointer, new in GCC 12.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug middle-end/104077] bogus/missing -Wdangling-pointer
  2022-01-17 22:12 [Bug middle-end/104077] New: bogus/missing -Wdangling-pointer msebor at gcc dot gnu.org
@ 2022-01-17 22:12 ` msebor at gcc dot gnu.org
  2022-01-18 16:49 ` msebor at gcc dot gnu.org
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: msebor at gcc dot gnu.org @ 2022-01-17 22:12 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104077

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2022-01-17
              Alias|                            |Wdangling-pointer
             Status|UNCONFIRMED                 |NEW
         Depends on|                            |104076
           Keywords|                            |diagnostic, meta-bug
     Ever confirmed|0                           |1


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104076
[Bug 104076] bogus -Wdangling-pointer on a conditional

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug middle-end/104077] bogus/missing -Wdangling-pointer
  2022-01-17 22:12 [Bug middle-end/104077] New: bogus/missing -Wdangling-pointer msebor at gcc dot gnu.org
  2022-01-17 22:12 ` [Bug middle-end/104077] " msebor at gcc dot gnu.org
@ 2022-01-18 16:49 ` msebor at gcc dot gnu.org
  2022-02-04  7:17 ` rguenth at gcc dot gnu.org
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: msebor at gcc dot gnu.org @ 2022-01-18 16:49 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104077
Bug 104077 depends on bug 104082, which changed state.

Bug 104082 Summary: Wdangling-pointer: 2 * false positive ?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104082

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug middle-end/104077] bogus/missing -Wdangling-pointer
  2022-01-17 22:12 [Bug middle-end/104077] New: bogus/missing -Wdangling-pointer msebor at gcc dot gnu.org
  2022-01-17 22:12 ` [Bug middle-end/104077] " msebor at gcc dot gnu.org
  2022-01-18 16:49 ` msebor at gcc dot gnu.org
@ 2022-02-04  7:17 ` rguenth at gcc dot gnu.org
  2022-02-08 23:01 ` msebor at gcc dot gnu.org
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-02-04  7:17 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104077
Bug 104077 depends on bug 104092, which changed state.

Bug 104092 Summary: [12 Regression] Invalid -Wdangling-pointer warning after writes by calls
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104092

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug middle-end/104077] bogus/missing -Wdangling-pointer
  2022-01-17 22:12 [Bug middle-end/104077] New: bogus/missing -Wdangling-pointer msebor at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2022-02-04  7:17 ` rguenth at gcc dot gnu.org
@ 2022-02-08 23:01 ` msebor at gcc dot gnu.org
  2022-03-03 21:02 ` msebor at gcc dot gnu.org
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: msebor at gcc dot gnu.org @ 2022-02-08 23:01 UTC (permalink / raw)
  To: 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                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug middle-end/104077] bogus/missing -Wdangling-pointer
  2022-01-17 22:12 [Bug middle-end/104077] New: bogus/missing -Wdangling-pointer msebor at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2022-02-08 23:01 ` msebor at gcc dot gnu.org
@ 2022-03-03 21:02 ` msebor at gcc dot gnu.org
  2022-03-15  0:27 ` msebor at gcc dot gnu.org
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: msebor at gcc dot gnu.org @ 2022-03-03 21:02 UTC (permalink / raw)
  To: 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                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug middle-end/104077] bogus/missing -Wdangling-pointer
  2022-01-17 22:12 [Bug middle-end/104077] New: bogus/missing -Wdangling-pointer msebor at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2022-03-03 21:02 ` msebor at gcc dot gnu.org
@ 2022-03-15  0:27 ` msebor at gcc dot gnu.org
  2022-04-25  7:57 ` rguenth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: msebor at gcc dot gnu.org @ 2022-03-15  0:27 UTC (permalink / raw)
  To: 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    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug middle-end/104077] bogus/missing -Wdangling-pointer
  2022-01-17 22:12 [Bug middle-end/104077] New: bogus/missing -Wdangling-pointer msebor at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2022-03-15  0:27 ` msebor at gcc dot gnu.org
@ 2022-04-25  7:57 ` rguenth at gcc dot gnu.org
  2022-04-27 10:03 ` [Bug middle-end/104077] [meta-bug] " rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-04-25  7:57 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104077
Bug 104077 depends on bug 104076, which changed state.

Bug 104076 Summary: bogus -Wdangling-pointer on a conditional
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104076

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug middle-end/104077] [meta-bug] bogus/missing -Wdangling-pointer
  2022-01-17 22:12 [Bug middle-end/104077] New: bogus/missing -Wdangling-pointer msebor at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2022-04-25  7:57 ` rguenth at gcc dot gnu.org
@ 2022-04-27 10:03 ` rguenth at gcc dot gnu.org
  2022-12-11  1:55 ` pinskia at gcc dot gnu.org
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-04-27 10:03 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104077
Bug 104077 depends on bug 104492, which changed state.

Bug 104492 Summary: [12 Regression] Bogus dangling pointer warning at -O3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104492

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug middle-end/104077] [meta-bug] bogus/missing -Wdangling-pointer
  2022-01-17 22:12 [Bug middle-end/104077] New: bogus/missing -Wdangling-pointer msebor at gcc dot gnu.org
                   ` (7 preceding siblings ...)
  2022-04-27 10:03 ` [Bug middle-end/104077] [meta-bug] " rguenth at gcc dot gnu.org
@ 2022-12-11  1:55 ` pinskia at gcc dot gnu.org
  2022-12-12 11:20 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-12-11  1:55 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104077
Bug 104077 depends on bug 106508, which changed state.

Bug 106508 Summary: Extra warnings with lambda captures
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106508

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug middle-end/104077] [meta-bug] bogus/missing -Wdangling-pointer
  2022-01-17 22:12 [Bug middle-end/104077] New: bogus/missing -Wdangling-pointer msebor at gcc dot gnu.org
                   ` (8 preceding siblings ...)
  2022-12-11  1:55 ` pinskia at gcc dot gnu.org
@ 2022-12-12 11:20 ` rguenth at gcc dot gnu.org
  2023-02-15 17:39 ` mpolacek at gcc dot gnu.org
  2023-06-23 10:30 ` rguenth at gcc dot gnu.org
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-12-12 11:20 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104077
Bug 104077 depends on bug 106868, which changed state.

Bug 106868 Summary: [12 Regression] Bogus -Wdangling-pointer warning with -O1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106868

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug middle-end/104077] [meta-bug] bogus/missing -Wdangling-pointer
  2022-01-17 22:12 [Bug middle-end/104077] New: bogus/missing -Wdangling-pointer msebor at gcc dot gnu.org
                   ` (9 preceding siblings ...)
  2022-12-12 11:20 ` rguenth at gcc dot gnu.org
@ 2023-02-15 17:39 ` mpolacek at gcc dot gnu.org
  2023-06-23 10:30 ` rguenth at gcc dot gnu.org
  11 siblings, 0 replies; 13+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2023-02-15 17:39 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104077
Bug 104077 depends on bug 106080, which changed state.

Bug 106080 Summary: Labels as values triggering -Wdangling-pointer
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106080

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug middle-end/104077] [meta-bug] bogus/missing -Wdangling-pointer
  2022-01-17 22:12 [Bug middle-end/104077] New: bogus/missing -Wdangling-pointer msebor at gcc dot gnu.org
                   ` (10 preceding siblings ...)
  2023-02-15 17:39 ` mpolacek at gcc dot gnu.org
@ 2023-06-23 10:30 ` rguenth at gcc dot gnu.org
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-06-23 10:30 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104077
Bug 104077 depends on bug 110055, which changed state.

Bug 110055 Summary: [13 Regression] Dangling pointer warning inside std::vector on RISC-V
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110055

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2023-06-23 10:30 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-17 22:12 [Bug middle-end/104077] New: bogus/missing -Wdangling-pointer msebor at gcc dot gnu.org
2022-01-17 22:12 ` [Bug middle-end/104077] " msebor at gcc dot gnu.org
2022-01-18 16:49 ` msebor at gcc dot gnu.org
2022-02-04  7:17 ` rguenth at gcc dot gnu.org
2022-02-08 23:01 ` msebor at gcc dot gnu.org
2022-03-03 21:02 ` msebor at gcc dot gnu.org
2022-03-15  0:27 ` msebor at gcc dot gnu.org
2022-04-25  7:57 ` rguenth at gcc dot gnu.org
2022-04-27 10:03 ` [Bug middle-end/104077] [meta-bug] " rguenth at gcc dot gnu.org
2022-12-11  1:55 ` pinskia at gcc dot gnu.org
2022-12-12 11:20 ` rguenth at gcc dot gnu.org
2023-02-15 17:39 ` mpolacek at gcc dot gnu.org
2023-06-23 10:30 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).