http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53882
--- Comment #1 from Matthias Klose <doko at gcc dot gnu.org> 2012-07-06 22:04:26 UTC --- [forwarded from http://bugs.debian.org/680521] "Seems related to optimization and nullptr in args. When nullptr is replaced with (void *)0, gcc compiles the code successfully."