[Ada] Add support for __builtin_prefetch

Eric Botcazou ebotcazou@adacore.com
Tue May 28 07:44:00 GMT 2019


This adds support for __builtin_prefetch in Ada.

Tested on x86_64-suse-linux, applied on the mainline.


2019-05-28  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc-interface/decl.c (intrin_arglists_compatible_p): Do not return
	false if the internal builtin uses a variable list.


2019-05-28  Eric Botcazou  <ebotcazou@adacore.com>

	* gnat.dg/prefetch1.ad[sb]: New test.

-- 
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.diff
Type: text/x-patch
Size: 649 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20190528/baf08231/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: prefetch1.ads
Type: text/x-adasrc
Size: 190 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20190528/baf08231/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: prefetch1.adb
Type: text/x-adasrc
Size: 718 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20190528/baf08231/attachment-0002.bin>


More information about the Gcc-patches mailing list