diff options
author | Peter Bergner <bergner@linux.ibm.com> | 2025-02-07 13:39:42 -0600 |
---|---|---|
committer | Peter Bergner <bergner@linux.ibm.com> | 2025-02-07 13:40:15 -0600 |
commit | c9b8a8fc55168ba9ec5432fc7b86621074e1b887 (patch) | |
tree | 2d3c07ef00a19041cec13d91331997cd57e70491 /libgcc | |
parent | 66af77cbed6c5bf15c19573ad21ebfd0552cc4b2 (diff) | |
download | gcc-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.h | 2 |
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. */ |