* raise-gcc.c (exception_class_eq): Make ec parameter const.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@247836
138bc75d-0d04-0410-961f-
82ee72b054a4
+2017-05-10 Bernd Edlinger <bernd.edlinger@hotmail.de>
+
+ * raise-gcc.c (exception_class_eq): Make ec parameter const.
+
2017-05-02 Richard Biener <rguenther@suse.de>
* gcc-interface/misc.c (gnat_post_options): Do not set
/* Return true iff the exception class of EXCEPT is EC. */
static int
-exception_class_eq (const _GNAT_Exception *except, _Unwind_Exception_Class ec)
+exception_class_eq (const _GNAT_Exception *except,
+ const _Unwind_Exception_Class ec)
{
#ifdef __ARM_EABI_UNWINDER__
return memcmp (except->common.exception_class, ec, 8) == 0;