summaryrefslogtreecommitdiff
path: root/libgfortran/io
diff options
context:
space:
mode:
authorjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>2006-04-07 23:05:12 +0000
committerjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>2006-04-07 23:05:12 +0000
commitc241d292be69e31a072c484f72eeaaa3b59548bd (patch)
tree40511739cedbd3ba2641ac67815d2e6e57bae7e6 /libgfortran/io
parent2d3dcfaad60f9b7e1298c50d278f7ea5106ec2b3 (diff)
downloadgcc-c241d292be69e31a072c484f72eeaaa3b59548bd.tar.gz
2006-04-07 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/26890 * io/io.h: Revert change to pad size made on 2006-03-30. Add comment explaining dependency with fortran/trans-io.c. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112769 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/io')
-rw-r--r--libgfortran/io/io.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libgfortran/io/io.h b/libgfortran/io/io.h
index b14576c5c0f..b829ad44005 100644
--- a/libgfortran/io/io.h
+++ b/libgfortran/io/io.h
@@ -436,7 +436,9 @@ typedef struct st_parameter_dt
char value[32];
gfc_offset size_used;
} p;
- char pad[16 * sizeof (char *) + 34 * sizeof (int) - sizeof (gfc_offset)];
+ /* This pad size must be greater than or equal to the pad_size declared in
+ trans-io.c (gfc_build_io_library_fndecls) */
+ char pad[16 * sizeof (char *) + 34 * sizeof (int)];
} u;
}
st_parameter_dt;