]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/fortran/gfortran.h
re PR fortran/43217 (Output of Hollerith constants which are not a multiple of 4...
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Fri, 27 Aug 2010 06:50:03 +0000 (06:50 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Fri, 27 Aug 2010 06:50:03 +0000 (06:50 +0000)
commit401fcd3b8fd7158703263fd4de33a23faa7a2738
treeb23e60e3b6c1de5d17cec4f6a741db7d30a1e5bf
parent9f8f1def9dd5d303a437397c5e1aaa60aef468d9
re PR fortran/43217 (Output of Hollerith constants which are not a multiple of 4 bytes)

2010-08-27  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/43217
* primary.c (match_hollerith_constant): Calculate padding needed to
fill default integer and allocate string for that size.  Set pad bytes
to ' '.
* gfortran.h: Add hollerith pad value to type spec union.
* data.c (create_character_initializer): Fix spelling of function name.
Use hollerith pad value to calculate length.
* arith.c (hollerith2representation); Use hollerith pad value to
calculate length.

From-SVN: r163581
gcc/fortran/ChangeLog
gcc/fortran/arith.c
gcc/fortran/data.c
gcc/fortran/gfortran.h
gcc/fortran/primary.c