I pushed the following fix as obvious after testing the build and verifying the warning was silenced.
Peter rs6000: Add cast to avoid pointer to integer comparison warning [PR117674] libgcc/ PR target/117674 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Add cast to avoid comparison between pointer and integer warning. diff --git a/libgcc/config/rs6000/linux-unwind.h b/libgcc/config/rs6000/linux-unwind.h index 97a9fbd2d1a..6fd3c908ae8 100644 --- a/libgcc/config/rs6000/linux-unwind.h +++ b/libgcc/config/rs6000/linux-unwind.h @@ -395,7 +395,7 @@ ppc_backchain_fallback (struct _Unwind_Context *context, void *a) current = context->cfa; /* If the trace CFA is not the context CFA the backtrace is done. */ - if (arg == NULL || arg->cfa != current) + if (arg == NULL || arg->cfa != (_Unwind_Word) current) return; /* Start with next address. */