summaryrefslogtreecommitdiff
path: root/libgfortran
diff options
context:
space:
mode:
authorkargl <kargl@138bc75d-0d04-0410-961f-82ee72b054a4>2006-11-09 03:57:44 +0000
committerkargl <kargl@138bc75d-0d04-0410-961f-82ee72b054a4>2006-11-09 03:57:44 +0000
commitc475da3041131bc5ee02932ba7bd9a592c386d24 (patch)
tree367b6f67af5d6aecb3ce4a7ea80f4b8f31721213 /libgfortran
parent74d61f290d37a821511ba57151a784fee3951de9 (diff)
downloadgcc-c475da3041131bc5ee02932ba7bd9a592c386d24.tar.gz
2006-11-08 Steven G. Kargl <kargl@gcc.gnu.org>
* io/read. (max_value): Hide "int n" in an #ifdef. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118613 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran')
-rw-r--r--libgfortran/ChangeLog4
-rw-r--r--libgfortran/io/read.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index f8a16721ff8..57adbe0fbdc 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -1,3 +1,7 @@
+2006-11-08 Steven G. Kargl <kargl@gcc.gnu.org>
+
+ * io/read. (max_value): Hide "int n" in an #ifdef.
+
2006-11-08 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/29752
diff --git a/libgfortran/io/read.c b/libgfortran/io/read.c
index 9477425e659..57a58929d4a 100644
--- a/libgfortran/io/read.c
+++ b/libgfortran/io/read.c
@@ -92,7 +92,9 @@ GFC_UINTEGER_LARGEST
max_value (int length, int signed_flag)
{
GFC_UINTEGER_LARGEST value;
+#if defined HAVE_GFC_REAL_16 || defined HAVE_GFC_REAL_10
int n;
+#endif
switch (length)
{