[BRIGFE] Support BRIG_KIND_NONE directives.
authorPekka Jääskeläinen <visit0r@gcc.gnu.org>
Mon, 9 Oct 2017 13:06:01 +0000 (13:06 +0000)
committerPekka Jääskeläinen <visit0r@gcc.gnu.org>
Mon, 9 Oct 2017 13:06:01 +0000 (13:06 +0000)
commit14108eda7ee4aaaa4840be8728b3161f8c7bd364
tree90e07f8e99ffe3f619d831f8feef8101f7b489e4
parent63eea5dcb5735565779abda3475fb178f7a605fd
[BRIGFE] Support BRIG_KIND_NONE directives.

These directives are legal everywhere.  They can be used to
patch away BRIG entries at the binary level.

Also add extra error detection for zeroed regions: make sure
the byteCount field is never zero.

The call code still failed a few PRM test cases. Now all PRM
branch cases pass again.

From-SVN: r253545
gcc/brig/ChangeLog
gcc/brig/brigfrontend/brig-branch-inst-handler.cc
gcc/brig/brigfrontend/brig-to-generic.cc
gcc/brig/brigfrontend/phsa.h