Subject: Re: sparc64 double casting vs optimisation
To: None <tech-toolchain@netbsd.org>
From: gabriel rosenkoetter <gr@eclipsed.net>
List: tech-toolchain
Date: 04/29/2002 12:18:55
--UUBKWyapWpFAak7q
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Apr 27, 2002 at 09:34:23PM +0300, Jarkko Hietaniemi wrote:
> > Can you try with different levels of optimisation (no -O, -O, -O1, -O2,
> > -Os)?
>=20
> Hmmm.  Interesting:
>=20
> no -O	d =3D 0 9223372036854775808
> -O	d =3D 0 0
> -O1	d =3D 0 0
> -O2	d =3D 0 0
> -Os	d =3D 0 0
>=20
> It's rare that adding optimisation makes the bug to go away :-)

Uh... doesn't the lack of a -O get you -O(something) in gcc?

If you really want no optimization, you want -O0.

--=20
gabriel rosenkoetter
gr@eclipsed.net

--UUBKWyapWpFAak7q
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (NetBSD)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjzNcm8ACgkQ9ehacAz5CRoh2gCdGoIrRo/SF2MVc0ONVbL4524G
akIAnA3d+NLaHOTrJr9GelrOSUKqq2ns
=S9hG
-----END PGP SIGNATURE-----

--UUBKWyapWpFAak7q--