https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86227
--- Comment #2 from zhonghao at pku dot org.cn --- (In reply to Andrew Pinski from comment #1) > Did you add -pedantic-error or use -std=c++11 ? This is the decimal > floating point extension that gcc supports that llvm does not. I tried.g++ still accepts it and does not produce any error messages.