It’s now possible to build world and kernel on DragonFly using gcc 5, and Matthew Dillon has posted an announcement that describes how. He also separately lists the (small considering the included C++) effect on build time.
Note that gcc 4.7 remains the default compiler.