Do not instrument void variables with MPX (PR tree-opt/79987).
authorMartin Liska <mliska@suse.cz>
Fri, 11 Aug 2017 10:01:13 +0000 (12:01 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 11 Aug 2017 10:01:13 +0000 (10:01 +0000)
commitfe8a99d8cdcfacf14b603b99a7730d18ce0ccd1f
tree811303a849108a7aac4ab132aa9d5b1becc7e2df
parenta8b522b483ebb8c972ecfde8779a7a6ec16aecd6
Do not instrument void variables with MPX (PR tree-opt/79987).

2017-08-11  Martin Liska  <mliska@suse.cz>

PR tree-opt/79987
* tree-chkp.c (chkp_get_bounds_for_decl_addr): Do not instrument
variables of void type.
2017-08-11  Martin Liska  <mliska@suse.cz>

PR tree-opt/79987
* gcc.target/i386/mpx/pr79987.c: New test.

From-SVN: r251049
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/mpx/pr79987.c [new file with mode: 0644]
gcc/tree-chkp.c