This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/37839] st_parameter_dt has unwanted padding, is out of sync with compiler
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Oct 2008 03:40:54 -0000
- Subject: [Bug libfortran/37839] st_parameter_dt has unwanted padding, is out of sync with compiler
- References: <bug-37839-3107@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from jvdelisle at gcc dot gnu dot org 2008-10-17 03:40 -------
What if we do something like this:
typedef struct st_parameter_common
{
GFC_INTEGER_4 flags;
GFC_INTEGER_4 unit;
const char *filename;
GFC_INTEGER_4 line;
CHARACTER2 (iomsg);
GFC_INTEGER_4 *iostat;
#ifdef NEED_TO_PAD
GFC_INTEGER_4 padit;
#endif
}
st_parameter_common;
Defining NEED_TO_PAD based on platform and whether or not -m32 ?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37839