> > --- gcc/config/aarch64/aarch64.c    (revision 217394)
> > +++ gcc/config/aarch64/aarch64.c    (working copy)
> > @@ -10224,6 +10224,9 @@ aarch64_use_by_pieces_infrastructure_p
> (unsigned i
> >   #define TARGET_USE_BY_PIECES_INFRASTRUCTURE_P \
> >     aarch64_use_by_pieces_infrastructure_p
> >
> > +#undef TARGET_CAN_USE_DOLOOP_P
> > +#define TARGET_CAN_USE_DOLOOP_P can_use_doloop_if_innermost
> > +
> >   struct gcc_target targetm = TARGET_INITIALIZER;
> >
> >   #include "gt-aarch64.h"
> >
> 
> Hi Felix,
> 
> This patch causes https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64240
> when sms-3 is tested with -fPIC. It runs fine when I reverse this patch out.
> 
> Please could you have a look?
> 
> Thanks,
> Tejas.

OK, I have reproduced with -fPIC option. Will take a look.  

Reply via email to