2013-08-12 Paolo Carlini <paolo.carlini@oracle.com>
commit122218c7bdc3758fe04f0c65b59c312e5538e6d0
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Aug 2013 22:37:20 +0000 (12 22:37 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Aug 2013 22:37:20 +0000 (12 22:37 +0000)
treea50a3bcb13160b753b6b834e91070769cfe841fa
parentc2d6bf83d71c62b2f841c60671eb66e2ffde9b0f
2013-08-12  Paolo Carlini  <paolo.carlini@oracle.com>

* config/i386/i386.c (ix86_function_versions): Use error + inform.

/cp
2013-08-12  Paolo Carlini  <paolo.carlini@oracle.com>

* decl.c (warn_extern_redeclared_static, duplicate_decls,
check_elaborated_type_specifier): Use error + inform.
* friend.c (make_friend_class): Likewise.
* semantics.c (finish_id_expression): Likewise.

/testsuite
2013-08-12  Paolo Carlini  <paolo.carlini@oracle.com>

* g++.dg/cpp0x/constexpr-function2.C: Adjust for error -> inform
changes.
* g++.dg/cpp0x/constexpr-neg1.C: Likewise.
* g++.dg/cpp0x/defaulted2.C: Likewise.
* g++.dg/cpp0x/defaulted31.C: Likewise.
* g++.dg/cpp0x/error6.C: Likewise.
* g++.dg/cpp0x/gen-attrs-32.C: Likewise.
* g++.dg/cpp0x/override2.C: Likewise.
* g++.dg/cpp0x/parse1.C: Likewise.
* g++.dg/cpp0x/scoped_enum.C: Likewise.
* g++.dg/cpp0x/temp_default4.C: Likewise.
* g++.dg/ext/attrib32.C: Likewise.
* g++.dg/ext/gnu-inline-global-reject.C: Likewise.
* g++.dg/ext/mv13.C: Likewise.
* g++.dg/ext/mv7.C: Likewise.
* g++.dg/ext/mv9.C: Likewise.
* g++.dg/ext/pr57362.C: Likewise.
* g++.dg/ext/typeof10.C: Likewise.
* g++.dg/lookup/anon6.C: Likewise.
* g++.dg/lookup/crash6.C: Likewise.
* g++.dg/lookup/name-clash5.C: Likewise.
* g++.dg/lookup/name-clash6.C: Likewise.
* g++.dg/other/anon4.C: Likewise.
* g++.dg/other/error15.C: Likewise.
* g++.dg/other/error8.C: Likewise.
* g++.dg/other/redecl2.C: Likewise.
* g++.dg/parse/crash16.C: Likewise.
* g++.dg/parse/crash21.C: Likewise.
* g++.dg/parse/crash38.C: Likewise.
* g++.dg/parse/redef2.C: Likewise.
* g++.dg/parse/struct-as-enum1.C: Likewise.
* g++.dg/template/crash39.C: Likewise.
* g++.dg/template/redecl3.C: Likewise.
* g++.dg/tls/diag-3.C: Likewise.
* g++.dg/warn/Wredundant-decls-spec.C: Likewise.
* g++.old-deja/g++.benjamin/typedef01.C: Likewise.
* g++.old-deja/g++.benjamin/warn02.C: Likewise.
* g++.old-deja/g++.brendan/crash16.C: Likewise.
* g++.old-deja/g++.brendan/crash18.C: Likewise.
* g++.old-deja/g++.brendan/err-msg4.C: Likewise.
* g++.old-deja/g++.brendan/redecl1.C: Likewise.
* g++.old-deja/g++.brendan/static3.C: Likewise.
* g++.old-deja/g++.bugs/900127_02.C: Likewise.
* g++.old-deja/g++.jason/binding.C: Likewise.
* g++.old-deja/g++.jason/crash4.C: Likewise.
* g++.old-deja/g++.jason/crash7.C: Likewise.
* g++.old-deja/g++.jason/lineno.C: Likewise.
* g++.old-deja/g++.jason/scoping7.C: Likewise.
* g++.old-deja/g++.mike/misc3.C: Likewise.
* g++.old-deja/g++.mike/net44.C: Likewise.
* g++.old-deja/g++.mike/ns3.C: Likewise.
* g++.old-deja/g++.ns/alias4.C: Likewise.
* g++.old-deja/g++.ns/ns11.C: Likewise.
* g++.old-deja/g++.other/crash23.C: Likewise.
* g++.old-deja/g++.other/decl8.C: Likewise.
* g++.old-deja/g++.other/linkage3.C: Likewise.
* g++.old-deja/g++.other/typeck1.C: Likewise.
* g++.old-deja/g++.other/typedef5.C: Likewise.
* g++.old-deja/g++.pt/explicit34.C: Likewise.
* g++.old-deja/g++.pt/friend36.C: Likewise.
* obj-c++.dg/method-8.mm: Likewise.
* obj-c++.dg/tls/diag-3.mm: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201671 138bc75d-0d04-0410-961f-82ee72b054a4
68 files changed:
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/friend.c
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/constexpr-function2.C
gcc/testsuite/g++.dg/cpp0x/constexpr-neg1.C
gcc/testsuite/g++.dg/cpp0x/defaulted2.C
gcc/testsuite/g++.dg/cpp0x/defaulted31.C
gcc/testsuite/g++.dg/cpp0x/error6.C
gcc/testsuite/g++.dg/cpp0x/gen-attrs-32.C
gcc/testsuite/g++.dg/cpp0x/override2.C
gcc/testsuite/g++.dg/cpp0x/parse1.C
gcc/testsuite/g++.dg/cpp0x/scoped_enum.C
gcc/testsuite/g++.dg/cpp0x/temp_default4.C
gcc/testsuite/g++.dg/ext/attrib32.C
gcc/testsuite/g++.dg/ext/gnu-inline-global-reject.C
gcc/testsuite/g++.dg/ext/mv13.C
gcc/testsuite/g++.dg/ext/mv7.C
gcc/testsuite/g++.dg/ext/mv9.C
gcc/testsuite/g++.dg/ext/pr57362.C
gcc/testsuite/g++.dg/ext/typeof10.C
gcc/testsuite/g++.dg/lookup/anon6.C
gcc/testsuite/g++.dg/lookup/crash6.C
gcc/testsuite/g++.dg/lookup/name-clash5.C
gcc/testsuite/g++.dg/lookup/name-clash6.C
gcc/testsuite/g++.dg/other/anon4.C
gcc/testsuite/g++.dg/other/error15.C
gcc/testsuite/g++.dg/other/error8.C
gcc/testsuite/g++.dg/other/redecl2.C
gcc/testsuite/g++.dg/parse/crash16.C
gcc/testsuite/g++.dg/parse/crash21.C
gcc/testsuite/g++.dg/parse/crash38.C
gcc/testsuite/g++.dg/parse/redef2.C
gcc/testsuite/g++.dg/parse/struct-as-enum1.C
gcc/testsuite/g++.dg/template/crash39.C
gcc/testsuite/g++.dg/template/redecl3.C
gcc/testsuite/g++.dg/tls/diag-3.C
gcc/testsuite/g++.dg/warn/Wredundant-decls-spec.C
gcc/testsuite/g++.old-deja/g++.benjamin/typedef01.C
gcc/testsuite/g++.old-deja/g++.benjamin/warn02.C
gcc/testsuite/g++.old-deja/g++.brendan/crash16.C
gcc/testsuite/g++.old-deja/g++.brendan/crash18.C
gcc/testsuite/g++.old-deja/g++.brendan/err-msg4.C
gcc/testsuite/g++.old-deja/g++.brendan/redecl1.C
gcc/testsuite/g++.old-deja/g++.brendan/static3.C
gcc/testsuite/g++.old-deja/g++.bugs/900127_02.C
gcc/testsuite/g++.old-deja/g++.jason/binding.C
gcc/testsuite/g++.old-deja/g++.jason/crash4.C
gcc/testsuite/g++.old-deja/g++.jason/crash7.C
gcc/testsuite/g++.old-deja/g++.jason/lineno.C
gcc/testsuite/g++.old-deja/g++.jason/scoping7.C
gcc/testsuite/g++.old-deja/g++.mike/misc3.C
gcc/testsuite/g++.old-deja/g++.mike/net44.C
gcc/testsuite/g++.old-deja/g++.mike/ns3.C
gcc/testsuite/g++.old-deja/g++.ns/alias4.C
gcc/testsuite/g++.old-deja/g++.ns/ns11.C
gcc/testsuite/g++.old-deja/g++.other/crash23.C
gcc/testsuite/g++.old-deja/g++.other/decl8.C
gcc/testsuite/g++.old-deja/g++.other/linkage3.C
gcc/testsuite/g++.old-deja/g++.other/typeck1.C
gcc/testsuite/g++.old-deja/g++.other/typedef5.C
gcc/testsuite/g++.old-deja/g++.pt/explicit34.C
gcc/testsuite/g++.old-deja/g++.pt/friend36.C
gcc/testsuite/obj-c++.dg/method-8.mm
gcc/testsuite/obj-c++.dg/tls/diag-3.mm