Commit 9dfd55f5 by Daniel Jacobowitz Committed by Andrew Stubbs

unwind-arm.c (__gnu_unwind_pr_common): Correct test for barrier handlers.

2011-03-21  Daniel Jacobowitz  <dan@codesourcery.com>

	gcc/
	* config/arm/unwind-arm.c (__gnu_unwind_pr_common): Correct test
	for barrier handlers.

From-SVN: r171251
parent 732f37c6
2011-03-21 Daniel Jacobowitz <dan@codesourcery.com>
* config/arm/unwind-arm.c (__gnu_unwind_pr_common): Correct test
for barrier handlers.
2011-03-21 Michael Meissner <meissner@linux.vnet.ibm.com> 2011-03-21 Michael Meissner <meissner@linux.vnet.ibm.com>
* config/rs6000/rs6000.md (UNSPEC_*, UNSPECV_*): Redefine all * config/rs6000/rs6000.md (UNSPEC_*, UNSPECV_*): Redefine all
......
...@@ -1196,8 +1196,6 @@ __gnu_unwind_pr_common (_Unwind_State state, ...@@ -1196,8 +1196,6 @@ __gnu_unwind_pr_common (_Unwind_State state,
ucbp->barrier_cache.bitpattern[4] = (_uw) &data[1]; ucbp->barrier_cache.bitpattern[4] = (_uw) &data[1];
if (data[0] & uint32_highbit) if (data[0] & uint32_highbit)
phase2_call_unexpected_after_unwind = 1;
else
{ {
data += rtti_count + 1; data += rtti_count + 1;
/* Setup for entry to the handler. */ /* Setup for entry to the handler. */
...@@ -1207,6 +1205,8 @@ __gnu_unwind_pr_common (_Unwind_State state, ...@@ -1207,6 +1205,8 @@ __gnu_unwind_pr_common (_Unwind_State state,
_Unwind_SetGR (context, 0, (_uw) ucbp); _Unwind_SetGR (context, 0, (_uw) ucbp);
return _URC_INSTALL_CONTEXT; return _URC_INSTALL_CONTEXT;
} }
else
phase2_call_unexpected_after_unwind = 1;
} }
if (data[0] & uint32_highbit) if (data[0] & uint32_highbit)
data++; data++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment