r114927 - in /trunk/gcc: ChangeLog config/i386/...

dannysmith@gcc.gnu.org dannysmith@gcc.gnu.org
Fri Jun 23 08:25:00 GMT 2006


Author: dannysmith
Date: Fri Jun 23 08:25:33 2006
New Revision: 114927

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114927
Log:
	PR target/27789
	* config/i386/winnt.c (ix86_handle_selectany_attribute): Move check
	for initialization and setting of one_only flag to ...
	(i386_pe_encode_section_info): ...here.
	(i386_pe_dllimport_p): Check for DECL_DLLIMPORT_P also.
	Recheck that the symbol has not been defined.

cp
	* decl.c (start_decl): Check that dllimports are not initialized.

testsuite
	* g++.dg/ext/dllimport4.C. Add more tests for invalid
	initialization.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/winnt.c
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/ext/dllimport4.C



More information about the Gcc-cvs mailing list