diff options
author | Richard Henderson <rth@redhat.com> | 2006-10-09 09:27:14 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2006-10-09 09:27:14 -0700 |
commit | a98d4769d5d5449e3ed3a524143b37e6c8a045ec (patch) | |
tree | 3b365f54da686b951378eabd14acdaf98bd0eb15 /gcc/fortran/trans-common.c | |
parent | 5771bd91eccb16e766ed13f533bdb4695c705da7 (diff) | |
download | gcc-a98d4769d5d5449e3ed3a524143b37e6c8a045ec.zip gcc-a98d4769d5d5449e3ed3a524143b37e6c8a045ec.tar.gz gcc-a98d4769d5d5449e3ed3a524143b37e6c8a045ec.tar.bz2 |
Revert emutls patch.
From-SVN: r117578
Diffstat (limited to 'gcc/fortran/trans-common.c')
-rw-r--r-- | gcc/fortran/trans-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/trans-common.c b/gcc/fortran/trans-common.c index e580494..5350eac 100644 --- a/gcc/fortran/trans-common.c +++ b/gcc/fortran/trans-common.c @@ -388,7 +388,7 @@ build_common_decl (gfc_common_head *com, tree union_type, bool is_init) gfc_set_decl_location (decl, &com->where); - if (com->threadprivate) + if (com->threadprivate && targetm.have_tls) DECL_TLS_MODEL (decl) = decl_default_tls_model (decl); /* Place the back end declaration for this common block in |