[Bug middle-end/93873] gcc or lto-wrapper does not consider individual bitfield values on static analysis and instead tests the whole value of all bitfield bits combined

2020-03-22 Thread emil.fihlman at aalto dot fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93873 --- Comment #4 from Emil Fihlman --- Problem persists with gcc 9.3, though it's no longer dependent on the bitfield. https://godbolt.org/z/RGu6hu If a free is behind a flag.

[Bug middle-end/93873] gcc or lto-wrapper does not consider individual bitfield values on static analysis and instead tests the whole value of all bitfield bits combined

2020-03-22 Thread emil.fihlman at aalto dot fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93873 --- Comment #5 from Emil Fihlman --- If a free is behind a flag gcc and the allocation is also behind a flag, gcc should not complain.

[Bug c/93873] New: gcc or lto-wrapper does not consider individual bitfield values on static analysis and instead tests the whole value of all bitfield bits combined

2020-02-21 Thread emil.fihlman at aalto dot fi
Product: gcc Version: 6.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: emil.fihlman at aalto dot fi Target Milestone: --- On gcc version 6.3.0 20170516

[Bug c/93873] gcc or lto-wrapper does not consider individual bitfield values on static analysis and instead tests the whole value of all bitfield bits combined

2020-02-21 Thread emil.fihlman at aalto dot fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93873 --- Comment #1 from Emil Fihlman --- Oh yeah and platform was Linux 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64 GNU/Linux

[Bug c/91134] New: Confusing error message: error: ‘*server’ is a pointer; did you mean to use ‘->’? when -> is used

2019-07-10 Thread emil.fihlman at aalto dot fi
FIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: emil.fihlman at aalto dot fi Target Milestone: --- gcc -Wall -Werror -Wextra -O3 -flto -o program program.c -lm program.c: In function ‘setupFu

[Bug c/91134] Confusing error message: error: ‘*server’ is a pointer; did you mean to use ‘->’? when -> is used

2019-07-10 Thread emil.fihlman at aalto dot fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91134 --- Comment #1 from Emil Fihlman --- The fix programming side is of course just wrapping *server in parentheses but the error message should still be amended imho.