aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorPeter Bergner <bergner@linux.ibm.com>2025-02-07 13:39:42 -0600
committerPeter Bergner <bergner@linux.ibm.com>2025-02-07 13:40:15 -0600
commitc9b8a8fc55168ba9ec5432fc7b86621074e1b887 (patch)
tree2d3c07ef00a19041cec13d91331997cd57e70491 /libgcc
parent66af77cbed6c5bf15c19573ad21ebfd0552cc4b2 (diff)
downloadgcc-c9b8a8fc55168ba9ec5432fc7b86621074e1b887.zip
gcc-c9b8a8fc55168ba9ec5432fc7b86621074e1b887.tar.gz
gcc-c9b8a8fc55168ba9ec5432fc7b86621074e1b887.tar.bz2
rs6000: Add cast to avoid pointer to integer comparison warning [PR117674]
2025-02-07 Peter Bergner <bergner@linux.ibm.com> libgcc/ PR target/117674 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Add cast to avoid comparison between pointer and integer warning.
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/config/rs6000/linux-unwind.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgcc/config/rs6000/linux-unwind.h b/libgcc/config/rs6000/linux-unwind.h
index 97a9fbd..6fd3c90 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. */