Date: Mon, 24 Nov 2014 03:20:27 +0900 From: Izumi Tsutsui <tsut...@ceres.dti.ne.jp>
riastradh@ wrote: > As is, there are obviously violations, but we have papered over them > enough that GCC isn't smart enough to warn about them: the void * cast > through abcksum I'd like to hear your answer of my dumb question: http://mail-index.netbsd.org/source-changes-d/2014/11/16/msg007354.html `Then why don't you guys also complain to fix existing abcksum() function which is called at the suggested memcpy?' I didn't see it before. The existing abcksum violates strict-aliasing too. That's why I suggested taking your suggestion of falling back to -fno-strict-aliasing until someone is willing to turn it back on and go through all the code to make it safe, or rototill the whole thing into MI installboot.