From aff39734f4e88646ab9640291434652899b7b69d Mon Sep 17 00:00:00 2001 From: amylaar Date: Mon, 30 Oct 2006 17:55:33 +0000 Subject: * 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 --- gcc/unwind-dw2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/unwind-dw2.c') 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 -- cgit v1.2.1