This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/12968] doc m68k -mshort
- From: "bernie at develer dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 May 2004 16:19:44 -0000
- Subject: [Bug target/12968] doc m68k -mshort
- References: <20031108220805.12968.user42@zip.com.au>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bernie at develer dot com 2004-05-29 16:19 -------
Proposed fix:
http://gcc.gnu.org/ml/gcc-patches/2004-05/msg01937.html
2004-05-29 Bernardo Innocenti <bernie@develer.com>
PR target/12968
* doc/invoke.texi: Document stack alignment side-effect of
-mshort.
diff -u -p -r1.466 invoke.texi
--- gcc/doc/invoke.texi 25 May 2004 12:55:04 -0000 1.466
+++ gcc/doc/invoke.texi 29 May 2004 16:11:53 -0000
@@ -6349,6 +6349,8 @@ cross-compilation. The embedded targets
@item -mshort
@opindex mshort
Consider type @code{int} to be 16 bits wide, like @code{short int}.
+Additionally, parameters passed on the stack are also aligned to a
+16-bit boundary even on targets whose API mandates promotion to 32-bit.
@item -mnobitfield
@opindex mnobitfield
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Last reconfirmed|2004-05-11 04:26:26 |2004-05-29 16:19:43
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12968