[Bug c/117290] New: error: void value not ignored , pointing to the wrong function

2024-10-24 Thread markgaleck at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117290 Bug ID: 117290 Summary: error: void value not ignored , pointing to the wrong function Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal

[Bug c/111344] bogus "warning: suggest parentheses around assignment used as truth value [-Wparentheses]"

2023-09-08 Thread markgaleck at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111344 --- Comment #6 from Mark Galeck --- (In reply to Andrew Pinski from comment #5) > Reduced: > ``` > int *f(const char*); > int *g(int*); > int main() > { > int* pdir; > int* pentry; > > pdir = f("d"); > > while (pentry = g(pdir)) ; > } > ``

[Bug c/111344] bogus "warning: suggest parentheses around assignment used as truth value [-Wparentheses]"

2023-09-08 Thread markgaleck at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111344 --- Comment #4 from Mark Galeck --- I am getting seemingly bogus "warning: suggest parentheses around assignment used as truth value [-Wparentheses]". I see long time ago there were such reports, fixed at the time, but this is happening now for

[Bug c/111344] bogus "warning: suggest parentheses around assignment used as truth value [-Wparentheses]"

2023-09-08 Thread markgaleck at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111344 --- Comment #3 from Mark Galeck --- Created attachment 55859 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55859&action=edit preprocessed SSCCE foobar.i

[Bug c/111344] bogus "warning: suggest parentheses around assignment used as truth value [-Wparentheses]"

2023-09-08 Thread markgaleck at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111344 --- Comment #2 from Mark Galeck --- Created attachment 55858 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55858&action=edit preprocessed SSCCE foobar.i

[Bug c/111344] New: bogus "warning: suggest parentheses around assignment used as truth value [-Wparentheses]"

2023-09-08 Thread markgaleck at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111344 Bug ID: 111344 Summary: bogus "warning: suggest parentheses around assignment used as truth value [-Wparentheses]" Product: gcc Version: unknown Status: UNCONFIRMED