[PATCH] Support simd function declarations via a pre-include.
Martin Liška
mliska@suse.cz
Fri Nov 16 13:25:00 GMT 2018
On 11/15/18 9:54 PM, Jakub Jelinek wrote:
> On Thu, Nov 15, 2018 at 08:40:13PM +0100, Bernhard Reutner-Fischer wrote:
>> On 14 November 2018 12:35:27 CET, Jakub Jelinek <jakub@redhat.com> wrote:
>>
>>>> --- a/gcc/config/gnu-user.h
>>>> +++ b/gcc/config/gnu-user.h
>>>> @@ -170,3 +170,6 @@ see the files COPYING3 and COPYING.RUNTIME
>>> respectively. If not, see
>>>> LD_STATIC_OPTION " --whole-archive -llsan --no-whole-archive " \
>>>> LD_DYNAMIC_OPTION "}}%{!static-liblsan:-llsan}"
>>>> #endif
>>>> +
>>>> +#undef TARGET_F951_NOSTDINC_OPTIONS
>>>> +#define TARGET_F951_NOSTDINC_OPTIONS
>>> "%:fortran-header-file(-fpre-include= math-vector-fortran.h)"
>>>
>>> Too long line, use some \s to split it up.
>>>
>>
>> Can we use plain -include like in C?
>
> Wouldn't that be confusing whether it is included in preprocessor only or if
> it is included as a magic fortran include line at the beginning?
>
> Jakub
>
Agree with that, I'm sending updated version of the patch. It's tested on x86_64-linux-gnu,
where it survives regression tests and bootstraps.
I hope I addressed all notes that Jakub provided.
Thanks,
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Support-simd-function-declarations-via-a-pre-include.patch
Type: text/x-patch
Size: 14098 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20181116/79d80da0/attachment.bin>
More information about the Fortran
mailing list