This is the mail archive of the
mailing list for the GCC project.
-misalign option for sparc
- From: "Einar Th. Einarsson" <einarth at f-prot dot com>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 17 Oct 2003 12:12:57 +0000
- Subject: -misalign option for sparc
-----BEGIN PGP SIGNED MESSAGE-----
Are there any plans to include an option to allow misaligned memory
read/writes for the sparc processor type, similar to the Sun compiler's
- -misalign option ? (mips could use this too IIRC).
I found 2 postings on the list requesting this feature but no informative
what this option should do (in it's most simple, basic and brute-force form)
would be to force all read/writes to be byte read/writes and generate code to
mask/shift as needed for the desired data type.
This also relates to other postings I've seen on the list, where structs are
created out of raw data from files fail to work because of misaligned
In any case, I'd like to add my vote in request this feature ;)
Madness takes its toll. Please have exact change.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
-----END PGP SIGNATURE-----