https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86227
--- Comment #3 from zhonghao at pku dot org.cn --- (In reply to zhonghao from comment #2) > (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. With the flag, -pedantic -error, g++ produces a warning message, but the message seems to be irrelevant.