From 2686c842da8f402231d0c316687409dc1b821ea0 Mon Sep 17 00:00:00 2001 From: Pat Haugen Date: Thu, 26 Jul 2018 20:41:25 +0000 Subject: [PATCH] re PR target/86612 (__strdup problem on power 9) PR target/86612 * gcc.target/powerpc/pr58673-2.c: Call strdup. From-SVN: r263020 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/powerpc/pr58673-2.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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) -- 2.30.2