From: Bernardo Innocenti Date: Mon, 31 May 2004 22:27:39 +0000 (+0200) Subject: re PR target/12968 (doc m68k -mshort) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5847e53ee7e2bb6665c0652f46a071aa78de90bd;p=gcc.git re PR target/12968 (doc m68k -mshort) PR target/12968 * doc/invoke.texi: Document stack alignment side-effect of -mshort. From-SVN: r82511 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5d10d0f8b7c..afd82a891f6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-06-01 Bernardo Innocenti + + PR target/12968 + * doc/invoke.texi: Document stack alignment side-effect of -mshort. + 2004-05-31 Joseph S. Myers PR c/15749 diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index fffb023e2a3..41c474f8df8 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -6349,6 +6349,8 @@ cross-compilation. The embedded targets @samp{m68k-*-aout} and @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