This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch 5/11] Add -fpermitted-flt-eval-methods=[c11|ts-18661-3]
On Sep 30, 2016, at 10:34 AM, Jeff Law <law@redhat.com> wrote:
>> 2016-09-30 James Greenhalgh <james.greenhalgh@arm.com>
>>
>> * gcc.dg/fpermitted-flt-eval-methods_1.c: New.
>> * gcc.dg/fpermitted-flt-eval-methods_2.c: New.
> OK. Are you going to need to do something for C++ (or gasp ObjC) in the future
ObjC should come along for free as long as major rules of ettiquite aren't broken.
As test that says, make this work only for C, would be wrong. Conditionalizing a flag as only for C would be wrong. I glanced around and didn't see anything that would make it not work for ObjC.