Commit 2686c842 by Pat Haugen Committed by Pat Haugen

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

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

From-SVN: r263020
parent aca8570e
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> 2018-07-26 Martin Sebor <msebor@redhat.com>
PR tree-optimization/86043 PR tree-optimization/86043
......
...@@ -140,7 +140,7 @@ pr_ff (t_coupl_rec * tcr, real time, t_idef * idef, t_commrec * cr, int nfile, ...@@ -140,7 +140,7 @@ pr_ff (t_coupl_rec * tcr, real time, t_idef * idef, t_commrec * cr, int nfile,
malloc malloc
(__len); (__len);
__retval;} __retval;}
)): __strdup (eoNames[i]))); )): strdup (eoNames[i])));
raleg[j++] = raleg[j++] =
(__extension__ (__extension__
(__builtin_constant_p (buf) (__builtin_constant_p (buf)
...@@ -165,7 +165,7 @@ pr_ff (t_coupl_rec * tcr, real time, t_idef * idef, t_commrec * cr, int nfile, ...@@ -165,7 +165,7 @@ pr_ff (t_coupl_rec * tcr, real time, t_idef * idef, t_commrec * cr, int nfile,
malloc malloc
(__len); (__len);
__retval;} __retval;}
)): __strdup (buf))); )): strdup (buf)));
} }
} }
if (tcr->nLJ) if (tcr->nLJ)
......
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