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.
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.
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
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
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
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.