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:
parent
3a71ddbcad
commit
e6208a60cd
@ -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.
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user