diff options
author | Danny Smith <dannysmith@gcc.gnu.org> | 2006-06-23 08:25:33 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@gcc.gnu.org> | 2006-06-23 08:25:33 +0000 |
commit | 4e2bb0a4b816a3dc9dbcd871c6ad8e9c678146a5 (patch) | |
tree | 708dd600878c8dfe4cd831930197553a97ae4c13 /gcc/java/expr.c | |
parent | ecf7b86fb84c46a26473a1f9ad148e69189e6db4 (diff) | |
download | gcc-4e2bb0a4b816a3dc9dbcd871c6ad8e9c678146a5.zip gcc-4e2bb0a4b816a3dc9dbcd871c6ad8e9c678146a5.tar.gz gcc-4e2bb0a4b816a3dc9dbcd871c6ad8e9c678146a5.tar.bz2 |
re PR target/27789 (attribute handling fallout from DECL_INITIAL changes)
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.
From-SVN: r114927
Diffstat (limited to 'gcc/java/expr.c')
0 files changed, 0 insertions, 0 deletions