mpx-dg.exp: Fix warning in check_effective_target_mpx test.

gcc/testsuite/

	* lib/mpx-dg.exp: Fix warning in check_effective_target_mpx
	test.

From-SVN: r233333
This commit is contained in:
Ilya Enkovich 2016-02-11 09:26:23 +00:00 committed by Ilya Enkovich
parent 3a71ddbcad
commit e6208a60cd
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2016-02-11 Ilya Enkovich <enkovich.gnu@gmail.com>
* lib/mpx-dg.exp: Fix warning in check_effective_target_mpx
test.
2016-02-11 Richard Biener <rguenther@suse.de>
* g++.dg/tree-ssa/pr61034.C: Adjust.

View File

@ -22,7 +22,7 @@ proc check_effective_target_mpx {} {
int *foo (int *arg) { return arg; }
int main (void)
{
int *p = __builtin_malloc (sizeof (int));
int *p = (int *)__builtin_malloc (sizeof (int));
int res = foo (p) == 0;
__builtin_free (p);
return res;