This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[m68k] Fix PR 12968 (doc m68k -mshort)
- From: Bernardo Innocenti <bernie at develer dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 29 May 2004 18:17:35 +0200
- Subject: [m68k] Fix PR 12968 (doc m68k -mshort)
- Organization: Develer S.r.l.
OK for mainline?
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 aligned to a
+16-bit boundary even on targets whose API mandates promotion to 32-bit.
@item -mnobitfield
@opindex mnobitfield
--
// Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/ http://www.develer.com/