[Bug c/45821] Missed -Wreturn-local-addr when local variable address comes from within a statement expression

2020-10-28 Thread philiprbrenan at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45821 Philip R Brenan changed: What|Removed |Added CC||philiprbrenan at gmail dot com --- Com

[Bug c/97598] -Wself-init alone fails to warn of a pointless assignment

2020-10-27 Thread philiprbrenan at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97598 --- Comment #1 from Philip R Brenan --- Created attachment 49454 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49454&action=edit Test case

[Bug c/97598] New: -Wself-init alone fails to warn of a pointless assignment

2020-10-27 Thread philiprbrenan at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97598 Bug ID: 97598 Summary: -Wself-init alone fails to warn of a pointless assignment Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal Pri