jit: implement BT_CONST_VOLATILE_PTR [PR 95306]
authorDavid Malcolm <dmalcolm@redhat.com>
Wed, 3 Jun 2020 12:59:23 +0000 (08:59 -0400)
committerDavid Malcolm <dmalcolm@redhat.com>
Wed, 3 Jun 2020 15:14:46 +0000 (11:14 -0400)
commit6d36cc21b69d952967a4df6653954f572a101796
treeaf6dacdc104c68187adfdc46efddffdf28ab3a27
parent779ae320bfadc5d867ecaeddf394838d546b57b9
jit: implement BT_CONST_VOLATILE_PTR [PR 95306]

gcc/jit/ChangeLog:
PR jit/95306
* jit-builtins.c (builtins_manager::make_primitive_type):
Implement BT_CONST_VOLATILE_PTR.

gcc/testsuite/ChangeLog:
PR jit/95306
* jit.dg/test-pr95306-builtin-types.c (create_code): Add
test of getting __atomic_load.
gcc/jit/jit-builtins.c
gcc/testsuite/jit.dg/test-pr95306-builtin-types.c