re PR target/86612 (__strdup problem on power 9)
authorPat Haugen <pthaugen@us.ibm.com>
Thu, 26 Jul 2018 20:41:25 +0000 (20:41 +0000)
committerPat Haugen <pthaugen@gcc.gnu.org>
Thu, 26 Jul 2018 20:41:25 +0000 (20:41 +0000)
PR target/86612
* gcc.target/powerpc/pr58673-2.c: Call strdup.

From-SVN: r263020

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/pr58673-2.c

index 30f528eea86cc9f617150159c82bc71ec861a7a4..eccfcd0caec2fb1fd967548784d641e66f2d8e9b 100644 (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
index 108fff5fd37a2388b0b461bcf281c09d63892559..af444b910aa26b59614704f1a3f551142ed55788 100644 (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)