summaryrefslogtreecommitdiff
path: root/gcc/unwind-dw2.c
diff options
context:
space:
mode:
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2006-10-30 17:55:33 +0000
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2006-10-30 17:55:33 +0000
commitaff39734f4e88646ab9640291434652899b7b69d (patch)
tree158bf6c9c8d4f961cdf073f0c823b374cf5f9498 /gcc/unwind-dw2.c
parent7d4c98bc234e9c1fbfa070d262872cc6d5999979 (diff)
downloadgcc-aff39734f4e88646ab9640291434652899b7b69d.tar.gz
* unwind-dw2.c (uw_init_context_1): Fix test that checks if
dwarf_reg_size_table has been initialized. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118188 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/unwind-dw2.c')
-rw-r--r--gcc/unwind-dw2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/unwind-dw2.c b/gcc/unwind-dw2.c
index a3fd9e0f9f3..9cc4e28e173 100644
--- a/gcc/unwind-dw2.c
+++ b/gcc/unwind-dw2.c
@@ -1374,7 +1374,7 @@ uw_init_context_1 (struct _Unwind_Context *context,
{
static __gthread_once_t once_regsizes = __GTHREAD_ONCE_INIT;
if (__gthread_once (&once_regsizes, init_dwarf_reg_size_table) != 0
- || dwarf_reg_size_table[0] == 0)
+ && dwarf_reg_size_table[0] == 0)
init_dwarf_reg_size_table ();
}
#else