https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98315

--- Comment #5 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot 
Uni-Bielefeld.DE> ---
> --- Comment #3 from Nathan Sidwell <nathan at acm dot org> ---
[...]
>> Unfortunately not: there are still two instances of the problem:
>
> There is another path to get to a poisoned bcopy.  Fixed thusly.
>
>         gcc/cp/
>          * mapper-resolver.cc: #include sys/socket before system.h
>          due to poisoned bcopy use.

Thanks.  But doesn't gcc/cp/module.cc need a similar treatment to deal
with the second part?

In file included from /usr/include/sys/socket.h:25,
                 from /vol/gcc/src/hg/master/local/gcc/../libcody/cody.hh:29,
                 from /vol/gcc/src/hg/master/local/gcc/cp/mapper-client.h:26,
                 from /vol/gcc/src/hg/master/local/gcc/cp/module.cc:232:
/usr/include/sys/uio.h:192:3: error: attempt to use poisoned "bzero"
   bzero(&(xuiop)->xu_hint, sizeof ((xuiop)->xu_hint)); \
   ^

Reply via email to