[Bug middle-end/117329] -Wnull-dereference error indicator in the wrong place.

2024-10-29 Thread o.putaans at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117329 --- Comment #6 from Oskars Putans --- (In reply to Andrew Pinski from comment #5) > That is ok because the underlying issue is the same though. Only the line > info for the `var = a;` assignment is there. Could I get confirmation of Wnull-deref

[Bug middle-end/117329] -Wnull-dereference error indicator in the wrong place.

2024-10-29 Thread o.putaans at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117329 --- Comment #4 from Oskars Putans --- (In reply to Andrew Pinski from comment #1) > I can't reproduce the warning for Wnull-dereference but I do get a warning > for -O2 -Warray-bounds that has the same line as what you reported. Oh no.. It see

[Bug c++/117329] New: -Wnull-dereference error indicator in the wrong place when inlining methods.

2024-10-28 Thread o.putaans at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117329 Bug ID: 117329 Summary: -Wnull-dereference error indicator in the wrong place when inlining methods. Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: