> -----Original Message----- > From: Gcc-patches <gcc-patches-boun...@gcc.gnu.org> On Behalf Of Andre > Vieira (lists) > Sent: 07 April 2020 10:02 > To: gcc-patches@gcc.gnu.org > Cc: Kyrill Tkachov <kyrylo.tkac...@foss.arm.com> > Subject: [PATCH][GCC][Arm]: MVE: Do not use typeof for pointer > parameters > > Hi, > > To make sure our inlining of _Generic doesn't go crazy we added an in > between declaration of the parameters used for _Generic selection. > However, this will not work if the parameter being passed in is an array. > Since none of our intrinsics return pointers we do not need to use > typeof here as we will never be able to nest intrinsics through this > parameter. I also removed the unnecessary const pointers in mve_typeid. > > Regression tested on arm-none-eabi. > > Is this OK for trunk?
Ok. Thanks, Kyrill > > gcc/ChangeLog: > 2020-04-07 Andre Vieira <andre.simoesdiasvie...@arm.com> > > * config/arm/arm_mve.h: Remove use of typeof for addr pointer > parameters and > remove const_ptr enums.