diff options
author | jb <jb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-10 07:23:25 +0000 |
---|---|---|
committer | jb <jb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-10 07:23:25 +0000 |
commit | 1942e0d83243dbbced6cf999df4dcb9e29a8fb4e (patch) | |
tree | 8509c804d12904a38df4e5c47b9757db6a474c6d /libgfortran/io/io.h | |
parent | 26ee6ceb292acff2d9a14c7d9b3db5813f5d15dc (diff) | |
download | gcc-1942e0d83243dbbced6cf999df4dcb9e29a8fb4e.tar.gz |
2009-04-10 Janne Blomqvist <jb@gcc.gnu.org>
PR libfortran/39665 libfortran/39702 libfortran/39709
* io/io.h (st_parameter_dt): Revert aligned attribute from u.p.value.
* io/list_read.c (read_complex): Read directly into user pointer.
(read_real): Likewise.
(list_formatted_read_scalar): Update read_complex and read_real calls.
(nml_read_obj): Read directly into user pointer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145875 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/io/io.h')
-rw-r--r-- | libgfortran/io/io.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libgfortran/io/io.h b/libgfortran/io/io.h index 5ee0979c1e8..7e4742ec294 100644 --- a/libgfortran/io/io.h +++ b/libgfortran/io/io.h @@ -500,9 +500,8 @@ typedef struct st_parameter_dt int expanded_read; /* Storage area for values except for strings. Must be large enough to hold a complex value (two reals) of the - largest kind. It must also be sufficiently aligned for - assigning any type we use into it. */ - char value[32] __attribute__ ((aligned (__BIGGEST_ALIGNMENT__))); + largest kind. */ + char value[32]; GFC_IO_INT size_used; } p; /* This pad size must be equal to the pad_size declared in |