Status: New
Owner: ----
New issue 1564 by [email protected]: src/deoptimizer.cc:1465: warning:
dereferencing type-punned pointer will break strict-aliasing rules
http://code.google.com/p/v8/issues/detail?id=1564
r8556 introduced a change that makes the build fail with gcc 4.2.1 on i386
freebsd.
v->VisitPointer(reinterpret_cast<Object**>(&function_));
Raises a warning (and stops the build since -Werror is in effect):
src/deoptimizer.cc:1465: warning: dereferencing type-punned pointer will
break strict-aliasing rules
Output of `gcc -v`:
Using built-in specs.
Target: i386-undermydesk-freebsd
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 4.2.1 20070719 [FreeBSD]
Tested with the current bleeding edge (r8666).
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev