public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "sje at cup dot hp dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/37839] New: st_parameter_dt has unwanted padding, is out of sync with compiler Date: Wed, 15 Oct 2008 17:54:00 -0000 [thread overview] Message-ID: <bug-37839-3107@http.gcc.gnu.org/bugzilla/> (raw) On systems where GFC_IO_INT is 8 bytes and requires 8 byte alignment the st_parameter_dt structure may be out of sync between the fortran library and compiler because the common field of st_parameter_dt is 28 bytes long (if pointers and ints are 4 bytes each) and the next field (rec) is of type GFC_IO_INT which is 8 bytes if 8 byte ints are supported. The padding between common and rec is not accounted for in the compiler when accessing the structure. On ia64-*-hpux* this cause gfortran.dg/f2003_io_[14567].f03 to fail in 32 bit mode. -- Summary: st_parameter_dt has unwanted padding, is out of sync with compiler Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Component: libfortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: sje at cup dot hp dot com GCC target triplet: ia64-*-hpux* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37839
next reply other threads:[~2008-10-15 17:54 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-10-15 17:54 sje at cup dot hp dot com [this message] 2008-10-15 23:10 ` [Bug libfortran/37839] " janis at gcc dot gnu dot org 2008-10-16 10:02 ` burnus at gcc dot gnu dot org 2008-10-16 15:24 ` sje at cup dot hp dot com 2008-10-16 15:33 ` dominiq at lps dot ens dot fr 2008-10-17 3:42 ` jvdelisle at gcc dot gnu dot org 2008-10-19 4:01 ` jvdelisle at gcc dot gnu dot org 2008-10-19 12:02 ` burnus at gcc dot gnu dot org 2008-10-20 15:04 ` sje at cup dot hp dot com 2008-10-28 18:28 ` sje at cup dot hp dot com 2008-11-01 12:18 ` jvdelisle at gcc dot gnu dot org 2008-11-06 14:04 ` dominiq at lps dot ens dot fr 2008-11-20 15:09 ` jakub at gcc dot gnu dot org 2008-11-21 12:44 ` howarth at nitro dot med dot uc dot edu 2008-11-21 12:45 ` jakub at gcc dot gnu dot org 2008-11-22 5:23 ` jvdelisle at gcc dot gnu dot org 2008-11-22 8:13 ` jakub at gcc dot gnu dot org 2008-11-22 8:32 ` jakub at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-37839-3107@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).