[Bug tree-optimization/104082] Wdangling-pointer: 2 * false positive ?

2022-01-18 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104082 Martin Sebor changed: What|Removed |Added Resolution|--- |INVALID Blocks|

[Bug tree-optimization/104082] Wdangling-pointer: 2 * false positive ?

2022-01-18 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104082 --- Comment #4 from David Binderman --- I just tried compiling a recent linux kernel with the new gcc trunk and the warning appeared seven times. Only one of them was a proper bug, which I have reported. The rest were false positives. So this

[Bug tree-optimization/104082] Wdangling-pointer: 2 * false positive ?

2022-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104082 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug tree-optimization/104082] Wdangling-pointer: 2 * false positive ?

2022-01-18 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104082 --- Comment #2 from David Binderman --- (In reply to Andrew Pinski from comment #1) > >I've no idea why the warning is generated, the code looks legal to me > > The warning is generated even though the code is valid, if someone > deferences met