diff options
author | tobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-02-27 16:17:56 +0000 |
---|---|---|
committer | tobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-02-27 16:17:56 +0000 |
commit | 81aff3ddf41ba05845f3b58d043d844045a60dfd (patch) | |
tree | 73554e7745fbe1b6cd6e22f610aa28c5b83fbe40 /libgfortran | |
parent | 504f6b1e5a74925a74f80dd65bdee6d559b6a216 (diff) | |
download | gcc-81aff3ddf41ba05845f3b58d043d844045a60dfd.tar.gz |
libgfortran/
* io/write.c (output_float): Fix typo in condition.
gcc/testsuite/
* gfortran.dg/e_d_fmt.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95615 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran')
-rw-r--r-- | libgfortran/ChangeLog | 4 | ||||
-rw-r--r-- | libgfortran/io/write.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 03793e852ac..c7b5821e890 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,7 @@ +2004-02-27 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de> + + * io/write.c (output_float): Fix typo in condition. + 2005-02-25 Peter O'Gorman <peter@pogman.com> Toon Moene <toon@moene.indiv.nluug.nl> diff --git a/libgfortran/io/write.c b/libgfortran/io/write.c index 19744d294c0..d4ee605de29 100644 --- a/libgfortran/io/write.c +++ b/libgfortran/io/write.c @@ -395,7 +395,7 @@ output_float (fnode *f, double value, int len) nafter = d; } - if (ft = FMT_E) + if (ft == FMT_E) expchar = 'E'; else expchar = 'D'; |