From: Janis Johnson Date: Wed, 8 Jan 2003 01:17:11 +0000 (+0000) Subject: re PR other/8947 (Please add a Warning about "-malign-double" in docs) X-Git-Tag: releases/gcc-3.2.2~130 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=892e7ea839aea92e70960089e8ade63cdbbb4e13;p=thirdparty%2Fgcc.git re PR other/8947 (Please add a Warning about "-malign-double" in docs) 2003-01-07 Janis Johnson PR other/8947 * doc/invoke.texi (-malign-double): Explain that the option breaks binary compatibility. From-SVN: r61028 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c9eaded12b9b..2c97554f75f2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2003-01-07 Janis Johnson + + PR other/8947 + * doc/invoke.texi (-malign-double): Explain that the option breaks + binary compatibility. + 2003-01-07 Benjamin Kosnik Sunil Davasam diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 8fc989df9497..9df7218063ac 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -1,12 +1,12 @@ @c Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -@c 2000, 2001, 2002 Free Software Foundation, Inc. +@c 2000, 2001, 2002, 2003 Free Software Foundation, Inc. @c This is part of the GCC manual. @c For copying conditions, see the file gcc.texi. @ignore @c man begin COPYRIGHT Copyright @copyright{} 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, -1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. +1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or @@ -7497,9 +7497,11 @@ boundary. Aligning @code{double} variables on a two word boundary will produce code that runs somewhat faster on a @samp{Pentium} at the expense of more memory. -@strong{Warning:} if you use the @samp{-malign-double} switch, +@strong{Warning:} if you use the @option{-malign-double} switch, structures containing the above types will be aligned differently than -the published application binary interface specifications for the 386. +the published application binary interface specifications for the 386 +and will not be binary compatible with structures in code compiled +without that switch. @item -m128bit-long-double @opindex m128bit-long-double