]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2017-05-10 Bernd Edlinger <bernd.edlinger@hotmail.de>
authoredlinger <edlinger@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 May 2017 13:34:07 +0000 (13:34 +0000)
committeredlinger <edlinger@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 May 2017 13:34:07 +0000 (13:34 +0000)
        * 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

gcc/ada/ChangeLog
gcc/ada/raise-gcc.c

index a99a53beafc74b755a32f0c11365cfc16f764984..72a42a96173d29daf7c79c73de401ffb3d03a95e 100644 (file)
@@ -1,3 +1,7 @@
+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
index 1264a726c63cccd2d2faf24c381529dcd85f4cfd..62a85dac12bbb753062a40e216cab361b983936e 100644 (file)
@@ -909,7 +909,8 @@ extern struct Exception_Data Non_Ada_Error;
 /* 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;