re PR c++/7804 (bad printing of fp constant in warning message)
authorKriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
Sat, 5 Oct 2002 12:28:16 +0000 (12:28 +0000)
committerKriang Lerdsuwanakij <lerdsuwa@gcc.gnu.org>
Sat, 5 Oct 2002 12:28:16 +0000 (12:28 +0000)
commiteb55ce4b2f1fdaa259518de829d04c7e8855185f
tree01de7251b305aa971ce9ce8b121339df1f03039b
parentf5b63cb6d7bb6b742d69f428cc80d60a93f45b3a
re PR c++/7804 (bad printing of fp constant in warning message)

PR c++/7804
* error.c (dump_expr) [REAL_CST]: Output in decimal format.

* g++.dg/other/warning1.C: New test.

From-SVN: r57843
gcc/cp/ChangeLog
gcc/cp/error.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/warning1.C [new file with mode: 0644]