weak_import for VAR_DECLs
Geoffrey Keating
geoffk@apple.com
Wed Jan 5 22:40:00 GMT 2005
On 04/01/2005, at 9:53 PM, Mark Mitchell wrote:
> Geoffrey Keating wrote:
>> It turns out that variables were always supposed to be allowed to have
>> weak_import attached.
>
> +/* APPLE LOCAL file put in 4.1 */
>
> That needs to be removed.
Fixed as follows. Tested with 'make check'.
Index: testsuite/ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/ChangeLog,v
retrieving revision 1.4847
diff -u -p -u -p -r1.4847 ChangeLog
--- testsuite/ChangeLog 4 Jan 2005 19:39:07 -0000 1.4847
+++ testsuite/ChangeLog 5 Jan 2005 22:39:31 -0000
@@ -1,3 +1,7 @@
+2005-01-05 Geoffrey Keating <geoffk@apple.com>
+
+ * gcc.dg/darwin-weakimport-2.c: Remove stray 'APPLE LOCAL'
marker.
+
2005-01-04 Geoffrey Keating <geoffk@apple.com>
PR 19257
Index: testsuite/gcc.dg/darwin-weakimport-2.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/darwin-weakimport-2.c,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 darwin-weakimport-2.c
--- testsuite/gcc.dg/darwin-weakimport-2.c 3 Jan 2005 23:26:54
-0000 1.2
+++ testsuite/gcc.dg/darwin-weakimport-2.c 5 Jan 2005 22:39:31
-0000
@@ -1,4 +1,3 @@
-/* APPLE LOCAL file put in 4.1 */
/* { dg-do compile { target *-*-darwin* } } */
/* { dg-require-weak "" } */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2408 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050105/8e1c3d2f/attachment.p7s>
More information about the Gcc-patches
mailing list