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-Tag: upstream/12.2.0~30152 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2686c842da8f402231d0c316687409dc1b821ea0;p=platform%2Fupstream%2Fgcc.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 30f528e..eccfcd0 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 108fff5..af444b9 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)