]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/darwin.c
darwin.c (darwin_handle_weak_import_attribute): Permit VAR_DECLs to have weak_import...
authorGeoffrey Keating <geoffk@apple.com>
Mon, 3 Jan 2005 23:26:54 +0000 (23:26 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Mon, 3 Jan 2005 23:26:54 +0000 (23:26 +0000)
commitd7001ae593744a2243c7674cae610f645ab18252
tree715b198064e6dd14dd879b254826896000dafdf4
parenta035080cbcedd9c8c595f9fa336f4fcd140eb296
darwin.c (darwin_handle_weak_import_attribute): Permit VAR_DECLs to have weak_import attribute.

2005-01-03  Geoffrey Keating  <geoffk@apple.com>

* config/darwin.c (darwin_handle_weak_import_attribute): Permit
VAR_DECLs to have weak_import attribute.

Index: testsuite/ChangeLog
2005-01-03  Geoffrey Keating  <geoffk@apple.com>

* gcc.dg/darwin-weakimport-1.c: Remove check for variables
producing warning.
* gcc.dg/darwin-weakimport-2.c: New.

From-SVN: r92871
gcc/ChangeLog
gcc/config/darwin.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/darwin-weakimport-1.c
gcc/testsuite/gcc.dg/darwin-weakimport-2.c [new file with mode: 0644]