re PR target/86612 (__strdup problem on power 9)

PR target/86612
	* gcc.target/powerpc/pr58673-2.c: Call strdup.

From-SVN: r263020
This commit is contained in:
Pat Haugen 2018-07-26 20:41:25 +00:00 committed by Pat Haugen
parent aca8570e11
commit 2686c842da
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2018-07-26 Pat Haugen <pthaugen@us.ibm.com>
PR target/86612
* gcc.target/powerpc/pr58673-2.c: Call strdup.
2018-07-26 Martin Sebor <msebor@redhat.com>
PR tree-optimization/86043

View file

@ -140,7 +140,7 @@ pr_ff (t_coupl_rec * tcr, real time, t_idef * idef, t_commrec * cr, int nfile,
malloc
(__len);
__retval;}
)): __strdup (eoNames[i])));
)): strdup (eoNames[i])));
raleg[j++] =
(__extension__
(__builtin_constant_p (buf)
@ -165,7 +165,7 @@ pr_ff (t_coupl_rec * tcr, real time, t_idef * idef, t_commrec * cr, int nfile,
malloc
(__len);
__retval;}
)): __strdup (buf)));
)): strdup (buf)));
}
}
if (tcr->nLJ)