[PATCH] for cross-compiling integral check

Stephen Paul Weber <[email protected]> Mon, 7 Jan 2013 17:06:11 -0500
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <20130107220611.GA1825@singpolyma-svelti>
--===============7906334481973196985==
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature"; boundary="0F1p//8PRICkK4MW"
Content-Disposition: inline


--0F1p//8PRICkK4MW
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Somebody signing messages as Stephen Paul Weber wrote:
>Somebody claiming to be Daniel Fischer wrote:
>>On Monday 07 January 2013, 12:17:41, Stephen Paul Weber wrote:
>>>I think my vote would be to restructure the checks such that non-integral
>>>types are specially handled.
>>
>>The purpose of the test was to check whether two types have the same size=
, if
>>I recall correctly?
>
>Yes, and that is already partly specially handled.  The "is it integral"=
=20
>check is sort of interesting

I'm not 100% sure that the attached patch is the right solution, but it=20
seems to work both on my local system as well as with my cross-compiler, an=
d=20
is not so dramatic as to remove the integralness check entirely.

Feedback welcome.

--=20
Stephen Paul Weber, @singpolyma
See <http://singpolyma.net> for how I prefer to be contacted
edition right joseph

--0F1p//8PRICkK4MW
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJQ60bSAAoJENEcKRHOUZze1GQQAJSSNlvXNd/BMPOVKU4VRn+g
bmzIfAF5UDYQkBQd+vYWEXyni/Vb4WPdOGa7posmG1yhp5+9gvy43+Ss/+Gw4hNz
DIVg9azK2SV0NRmx/6Q/5clV+H+jhINoeJs/VhLax8W/S+JHS5PpWqWqPvoxCwJr
zw4b+LU8yvT0rx8QxIN5W5ICWpiofFB8eDmKc9nX5oh6f5fYvXfW68DRLop1Q+q9
akrG24Ve4tYrhKWcu0Fu0H8FtVGJ6qSHWks/8JgPxXHHWGiUjThA3KcLH7pKdvwB
vHZEiiNqVvYwR3aoay0XQTwt5xz4dCK0f+7oD0iJdhLrTQqTTuGsMFnf5mMmdLCe
XsNCPvrg3odq5lWXTTHKZLVKe99mAiA2OTGjbsXg6yBVnewL38iQNgDvd57swKgx
CBVrNwjyHBKnG/xEIYG0D3lungyVLlAP0vvTRABhjAZQ5tDNYAZJJMgze5hOFT9K
UPg6esbjDEBq5zoAse4hlnLX5PAgIZUrXTu9YkT/34ZFZVQNvdaXd4VLDcN2NZIO
TKeRqMsugQEjoXzUhWjUIjzLTkisB64DHRpCcBPqm1GCU2eaoldHzEkONwGavT8k
qYmBkhrTBlal86OiEBLUDgYlJlYmBegmzsxLrxigMY7qgOjisy63mffreqx+eeC2
2y7TNfWq66K/gSmAug4x
=wIRo
-----END PGP SIGNATURE-----

--0F1p//8PRICkK4MW--


--===============7906334481973196985==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

--===============7906334481973196985==--