From: Pat Haugen Date: Thu, 26 Jul 2018 20:41:25 +0000 (+0000) Subject: re PR target/86612 (__strdup problem on power 9) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2686c842da8f402231d0c316687409dc1b821ea0;p=gcc.git re PR target/86612 (__strdup problem on power 9) PR target/86612 * gcc.target/powerpc/pr58673-2.c: Call strdup. From-SVN: r263020 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 30f528eea86..eccfcd0caec 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2018-07-26 Pat Haugen + + PR target/86612 + * gcc.target/powerpc/pr58673-2.c: Call strdup. + 2018-07-26 Martin Sebor PR tree-optimization/86043 diff --git a/gcc/testsuite/gcc.target/powerpc/pr58673-2.c b/gcc/testsuite/gcc.target/powerpc/pr58673-2.c index 108fff5fd37..af444b910aa 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr58673-2.c +++ b/gcc/testsuite/gcc.target/powerpc/pr58673-2.c @@ -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)