add some reference solutions for GCC 4.8 and GCC 4.4