[erlang-patches] DTrace patch, review draft #1
Scott Lystig Fritchie
Wed Nov 9 18:36:58 CET 2011
Mikael Pettersson <> wrote:
mp> If you or Trond believe there is a bug in gcc then _please_ report
mp> it to gcc's bugzilla for proper analysis. Neither this patch nor
mp> Trond's memcached patch contains enough detail for me to verify the
mp> presence or absence of the alleged bug.
Mikael, I don't know if that bug is already fixed. If memory serves me
correctly, the bug is in the version of GCC 4.2.1 that I use on Solaris
10. Assuming that the bug is indeed fixed in a later branch, expecting
Erlang users to correcly update their 64-bit compiler toolchain that is
otherwise not buggy enough to screw up anything else ... seems to me to
be a very high expectation.
Regarding the workaround, some research suggests that using 'asm("")'
instead of 'gcc_optimizer_hack++' might have the same effect. But I
don't know enough about C compilers to know if it would work with
More information about the erlang-patches