[PATCH] add the -mrecip driver flag and process its options

Sanjay Patel spatel at rotateright.com
Sun May 17 09:22:18 PDT 2015


In http://reviews.llvm.org/D8989#173974, @hfinkel wrote:

> > > '!' is used as the prefix to indicate disabling (not '-' as you
>
> >  > have here).
>
> > 
>
> > Hmm...how does this ever work as advertised?
>
> > 
>
> >   $ gcc -O2 -ffast-math -mrecip=!sqrt recip.c
>
> >   bash: !sqrt: event not found
>
>
> You need quotes.


Right; I'm just questioning whether it's worth following gcc on this interface that requires quotes/escapes in common shells when we have an existing syntax that works without it.


http://reviews.llvm.org/D8989

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list