OSDN Git Service

2009-12-15 Paolo Bonzini <bonzini@gnu.org>
authorbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Dec 2009 00:20:03 +0000 (00:20 +0000)
committerbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Dec 2009 00:20:03 +0000 (00:20 +0000)
commit7dde752d904209f65b06e487d52f8312583b01c6
treecfeb179f5b57de2147e03bd05038051732204246
parent3dd43e3ea475fd9faa1f57d3c8fc8c332a733415
2009-12-15  Paolo Bonzini  <bonzini@gnu.org>
    Shujing Zhao  <pearly.zhao@oracle.com>

* intl.c (get_spaces): New.
* intl.h (get_spaces): New.

cp:
2009-12-15  Paolo Bonzini  <bonzini@gnu.org>
    Shujing Zhao  <pearly.zhao@oracle.com>

* Makefile.in (cp/pt.o): Depend on intl.h
* call.c (print_z_candidates): Make loop more compact,
choose head string depending on number of candidates,
extract creation of spaces string to intl.c.
* pt.c (print_overloaded_functions): Replace with...
(print_candidates_1): ... this rewrite.
(print_candidates): Rewrite to call print_candidates_1.
(most_specialized_class): Make loop more compact,
choose head string depending on number of candidates,
and size indents depending on translations.

testsuite:
2009-12-15  Shujing Zhao  <pearly.zhao@oracle.com>

* g++.dg/other/error20.C: Adjust dg-message strings.
* g++.dg/other/error31.C: Likewise.
* g++.dg/rtti/typeid6.C: Likewise.
* g++.dg/ext/ms-1.C: Likewise.
* g++.dg/parse/error19.C: Likewise.
* g++.dg/parse/crash5.C: Likewise.
* g++.dg/cpp0x/explicit4.C: Likewise.
* g++.dg/template/ptrmem4.C: Likewise.
* g++.dg/template/crash37.C: Likewise.
* g++.dg/template/qualttp5.C: Likewise.
* g++.dg/template/local6.C: Likewise.
* g++.dg/template/instantiate5.C: Likewise.
* g++.old-deja/g++.brendan/overload1.C: Likewise.
* g++.old-deja/g++.brendan/cvt3.C: Likewise.
* g++.old-deja/g++.brendan/overload4.C: Likewise.
* g++.old-deja/g++.jason/conversion11.C: Likewise.
* g++.old-deja/g++.jason/scoping10.C: Likewise.
* g++.old-deja/g++.other/expr1.C: Likewise.
* g++.old-deja/g++.other/pmf3.C: Likewise.
* g++.old-deja/g++.other/crash24.C: Likewise.
* g++.old-deja/g++.niklas/t120.C: Likewise.
* g++.old-deja/g++.niklas/t121.C: Likewise.
* g++.old-deja/g++.law/operators9.C: Likewise.
* g++.old-deja/g++.law/arm9.C: Likewise.
* g++.old-deja/g++.law/enum4.C: Likewise.
* g++.old-deja/g++.law/arg11.C: Likewise.
* g++.old-deja/g++.benjamin/15800-1.C: Likewise.
* g++.old-deja/g++.mike/p2431.C: Likewise.
* g++.old-deja/g++.mike/p438.C: Likewise.
* g++.old-deja/g++.mike/p9068.C: Likewise.
* g++.old-deja/g++.mike/p11110.C: Likewise.
* g++.old-deja/g++.bugs/900330_02.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155245 138bc75d-0d04-0410-961f-82ee72b054a4
40 files changed:
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/Make-lang.in
gcc/cp/call.c
gcc/cp/pt.c
gcc/intl.c
gcc/intl.h
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/explicit4.C
gcc/testsuite/g++.dg/ext/ms-1.C
gcc/testsuite/g++.dg/other/error20.C
gcc/testsuite/g++.dg/other/error31.C
gcc/testsuite/g++.dg/parse/crash5.C
gcc/testsuite/g++.dg/parse/error19.C
gcc/testsuite/g++.dg/rtti/typeid6.C
gcc/testsuite/g++.dg/template/crash37.C
gcc/testsuite/g++.dg/template/instantiate5.C
gcc/testsuite/g++.dg/template/local6.C
gcc/testsuite/g++.dg/template/ptrmem4.C
gcc/testsuite/g++.dg/template/qualttp5.C
gcc/testsuite/g++.old-deja/g++.benjamin/15800-1.C
gcc/testsuite/g++.old-deja/g++.brendan/cvt3.C
gcc/testsuite/g++.old-deja/g++.brendan/overload1.C
gcc/testsuite/g++.old-deja/g++.brendan/overload4.C
gcc/testsuite/g++.old-deja/g++.bugs/900330_02.C
gcc/testsuite/g++.old-deja/g++.jason/conversion11.C
gcc/testsuite/g++.old-deja/g++.jason/scoping10.C
gcc/testsuite/g++.old-deja/g++.law/arg11.C
gcc/testsuite/g++.old-deja/g++.law/arm9.C
gcc/testsuite/g++.old-deja/g++.law/enum4.C
gcc/testsuite/g++.old-deja/g++.law/operators9.C
gcc/testsuite/g++.old-deja/g++.mike/p11110.C
gcc/testsuite/g++.old-deja/g++.mike/p2431.C
gcc/testsuite/g++.old-deja/g++.mike/p438.C
gcc/testsuite/g++.old-deja/g++.mike/p9068.C
gcc/testsuite/g++.old-deja/g++.niklas/t120.C
gcc/testsuite/g++.old-deja/g++.niklas/t121.C
gcc/testsuite/g++.old-deja/g++.other/crash24.C
gcc/testsuite/g++.old-deja/g++.other/expr1.C
gcc/testsuite/g++.old-deja/g++.other/pmf3.C