Commit e6208a60 by Ilya Enkovich Committed by Ilya Enkovich

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
parent 3a71ddbc
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.
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment