diff options
author | Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2007-09-11 14:53:02 +0000 |
---|---|---|
committer | François-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2007-09-11 14:53:02 +0000 |
commit | 257fafe0c91f84ad5dca36dcdf28980d512f1fec (patch) | |
tree | 411cffb3413cdc079d6c93ef5d10b6fea5fa67ad /libgfortran/runtime | |
parent | c47b0cb46626dd1df1aad35c5d1ee9f5be43debe (diff) | |
download | gcc-257fafe0c91f84ad5dca36dcdf28980d512f1fec.tar.gz |
re PR libfortran/33386 (Fortran SELECT statement miscompiles)
PR libfortran/33386
* runtime/select.c (select_string): Initialize default_jump.
From-SVN: r128379
Diffstat (limited to 'libgfortran/runtime')
-rw-r--r-- | libgfortran/runtime/select.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/runtime/select.c b/libgfortran/runtime/select.c index cecd0254118..44c353235a0 100644 --- a/libgfortran/runtime/select.c +++ b/libgfortran/runtime/select.c @@ -53,7 +53,7 @@ select_string (select_struct *table, int table_len, const char *selector, { select_struct *t; int i, low, high, mid; - int default_jump; + int default_jump = -1; if (table_len == 0) return -1; |