From: J"orn Rennecke Date: Mon, 30 Oct 2006 17:55:33 +0000 (+0000) Subject: unwind-dw2.c (uw_init_context_1): Fix test that checks if dwarf_reg_size_table has... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7bec3e841841bcfa9502cec13f73f59d371dba38;p=gcc.git unwind-dw2.c (uw_init_context_1): Fix test that checks if dwarf_reg_size_table has been initialized. * unwind-dw2.c (uw_init_context_1): Fix test that checks if dwarf_reg_size_table has been initialized. From-SVN: r118188 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0c63a5501f0..0d5634b3fb1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-10-30 J"orn Rennecke + + * unwind-dw2.c (uw_init_context_1): Fix test that checks if + dwarf_reg_size_table has been initialized. + 2006-10-30 Roger Sayle * builtins.c (expand_builtin_mathfn_3): Correct coding style. 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