This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/12968] New: doc m68k -mshort
- From: "gcc-bugzilla at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Nov 2003 22:08:10 -0000
- Subject: [Bug c/12968] New: doc m68k -mshort
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
In the manual, "M680x0 Options" says that -mshort makes int 16-bits
the same as short. But if I'm not mistaken it also changes to just
16-bit alignment for parameters passed on the stack (instead of
32-bits for a normal SVR4 style system).
Perhaps "short" is an ABI I'm not familiar with or something, but it'd
be good if the stack alignment could be mentioned too, so it doesn't
read like the option is merely a type size change.
Environment:
System: NetBSD lax.swox.se 1.4.1 NetBSD 1.4.1 (GENERIC) #0: Wed Aug 11 04:56:57 CDT 1999 fredb@corwin.home:/usr/src/sys/arch/mac68k/compile/GENERIC mac68k
host: m68k-unknown-netbsd1.4.1
build: m68k-unknown-netbsd1.4.1
target: m68k-unknown-netbsd1.4.1
configured with: /u/gcc/gcc-3.2.1/configure --enable-languages=c,c++
How-To-Repeat:
.
--
Summary: doc m68k -mshort
Product: gcc
Version: 3.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: user42 at zip dot com dot au
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: m68k-unknown-netbsd1.4.1
GCC host triplet: m68k-unknown-netbsd1.4.1
GCC target triplet: m68k-unknown-netbsd1.4.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12968