This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [v3] libstdc++/57920
- From: Chung-Ju Wu <jasonwucj at gmail dot com>
- To: Paolo Carlini <paolo dot carlini at oracle dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, "libstdc++" <libstdc++ at gcc dot gnu dot org>
- Date: Tue, 23 Jul 2013 18:45:06 +0800
- Subject: Re: [v3] libstdc++/57920
- References: <51ED2095 dot 9000403 at oracle dot com> <CADj25HPZQNgAMm4abc3_c6-vM22U4hCMWW6Q_-Dk0iKFvQ0EPg at mail dot gmail dot com> <51EE4C40 dot 7040803 at oracle dot com> <51EE4E02 dot 20007 at oracle dot com> <CADj25HNmohqFuQL3gAaMZzKdm1QqO=+jr2HWapQRyykeQO0_8w at mail dot gmail dot com> <51EE533D dot 1050600 at oracle dot com>
2013/7/23 Paolo Carlini <paolo.carlini@oracle.com>:
> ... in the future, when we manage to actually avoid including <cstdio> from
> <string> I think we can avoid including it from <random> if we play a bit
> with void*. Should be safe aliasing-wise. Something like the below,
> completely untested.
I tested it on my target. At least the elf toolchain can be
successfully built with such changes.
Best regards,
jasonwucj