r234960 - in /trunk/gcc: ChangeLog cfgexpand.c ...

jason@gcc.gnu.org jason@gcc.gnu.org
Wed Apr 13 20:11:00 GMT 2016


Author: jason
Date: Wed Apr 13 20:11:29 2016
New Revision: 234960

URL: https://gcc.gnu.org/viewcvs?rev=234960&root=gcc&view=rev
Log:
	Warn about empty parameter ABI with -Wabi=9.

	* call.c (empty_class_msg, mark_for_abi_warning)
	(warn_empty_class_abi): New.
	(build_call_a): Use them.
	* decl.c (store_parm_decls): Use mark_for_abi_warning.
	* error.c (pp_format_to_string): New.

Added:
    trunk/gcc/testsuite/g++.dg/abi/empty12.C
    trunk/gcc/testsuite/g++.dg/abi/empty12.h
    trunk/gcc/testsuite/g++.dg/abi/empty12a.c
    trunk/gcc/testsuite/g++.dg/abi/empty13.C
    trunk/gcc/testsuite/g++.dg/abi/empty13.h
    trunk/gcc/testsuite/g++.dg/abi/empty13a.c
    trunk/gcc/testsuite/g++.dg/abi/empty14.C
    trunk/gcc/testsuite/g++.dg/abi/empty14.h
    trunk/gcc/testsuite/g++.dg/abi/empty14a.c
    trunk/gcc/testsuite/g++.dg/abi/empty15.C
    trunk/gcc/testsuite/g++.dg/abi/empty15.h
    trunk/gcc/testsuite/g++.dg/abi/empty15a.c
    trunk/gcc/testsuite/g++.dg/abi/empty16.C
    trunk/gcc/testsuite/g++.dg/abi/empty16.h
    trunk/gcc/testsuite/g++.dg/abi/empty16a.c
    trunk/gcc/testsuite/g++.dg/abi/empty17.C
    trunk/gcc/testsuite/g++.dg/abi/empty17.h
    trunk/gcc/testsuite/g++.dg/abi/empty17a.c
    trunk/gcc/testsuite/g++.dg/abi/empty18.C
    trunk/gcc/testsuite/g++.dg/abi/empty18.h
    trunk/gcc/testsuite/g++.dg/abi/empty18a.c
    trunk/gcc/testsuite/g++.dg/abi/empty19.C
    trunk/gcc/testsuite/g++.dg/abi/empty19.h
    trunk/gcc/testsuite/g++.dg/abi/empty19a.c
    trunk/gcc/testsuite/g++.dg/abi/empty20.C
    trunk/gcc/testsuite/g++.dg/abi/empty21.C
    trunk/gcc/testsuite/g++.dg/abi/pr60336-1.C
    trunk/gcc/testsuite/g++.dg/abi/pr60336-10.C
    trunk/gcc/testsuite/g++.dg/abi/pr60336-11.C
    trunk/gcc/testsuite/g++.dg/abi/pr60336-12.C
    trunk/gcc/testsuite/g++.dg/abi/pr60336-2.C
    trunk/gcc/testsuite/g++.dg/abi/pr60336-3.C
    trunk/gcc/testsuite/g++.dg/abi/pr60336-4.C
    trunk/gcc/testsuite/g++.dg/abi/pr60336-5.C
    trunk/gcc/testsuite/g++.dg/abi/pr60336-6.C
    trunk/gcc/testsuite/g++.dg/abi/pr60336-7.C
    trunk/gcc/testsuite/g++.dg/abi/pr60336-8.C
    trunk/gcc/testsuite/g++.dg/abi/pr60336-9.C
    trunk/gcc/testsuite/g++.dg/abi/pr68355.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cfgexpand.c
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/decl.c
    trunk/gcc/cp/error.c
    trunk/gcc/expr.c



More information about the Gcc-cvs mailing list