From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14466 invoked by alias); 9 Jan 2005 10:03:31 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 14445 invoked from network); 9 Jan 2005 10:03:31 -0000 Received: from unknown (HELO Cantor.suse.de) (195.135.220.2) by sourceware.org with SMTP; 9 Jan 2005 10:03:31 -0000 Received: from hermes.suse.de (hermes-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id B57AF1301F96 for ; Sun, 9 Jan 2005 11:03:30 +0100 (CET) Received: from aj by arthur.inka.de with local (Exim 4.42) id 1CnZuy-0003cU-UI for libc-hacker@sources.redhat.com; Sun, 09 Jan 2005 11:03:28 +0100 From: Andreas Jaeger To: Glibc hackers Subject: Fix warnings in bits/link.h Date: Sun, 09 Jan 2005 10:03:00 -0000 Message-ID: User-Agent: Gnus/5.110003 (No Gnus v0.3) XEmacs/21.4 (Security Through Obscurity, linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-SW-Source: 2005-01/txt/msg00011.txt.bz2 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-length: 1142 With GCC 4 CVS I get lots of: ../sysdeps/x86_64/bits/link.h:66: warning: use __attribute__ ((vector_size)= ) instead Is the appended patch the right thing to do? Andreas 2005-01-09 Andreas Jaeger * sysdeps/x86_64/bits/link.h: Use vector_size for GCC 4.0. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Index: sysdeps/x86_64/bits/link.h --- sysdeps/x86_64/bits/link.h 6 Jan 2005 22:40:14 -0000 1.3 +++ sysdeps/x86_64/bits/link.h 9 Jan 2005 10:02:49 -0000 @@ -63,7 +63,12 @@ __END_DECLS #else =20 /* Registers for entry into PLT on x86-64. */ +# if __GNUC_PREREQ (4,0) +typedef float La_x86_64_xmm __attribute__ ((vector_size (16))); +# else typedef float La_x86_64_xmm __attribute__ ((__mode__ (__V4SF__))); +# endif + typedef struct La_x86_64_regs { uint64_t lr_rdx; --=20 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany GPG fingerprint =3D 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 --=-=-= Content-Type: application/pgp-signature Content-length: 188 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQBB4QFwOJpWPMJyoSYRAo9yAJwM5hlzHctk9vVT1iHlq3VKgpV46wCdHak3 QeHiw6nY6Ozd7zEkBbGdkVQ= =mCQc -----END PGP SIGNATURE----- --=-=-=--