This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: linux test results for the 2.33 branch


On Fri, Sep 20, 2019 at 1:27 AM Alan Modra <amodra@gmail.com> wrote:
>
> On Thu, Sep 19, 2019 at 02:39:31PM +0200, Matthias Klose wrote:
> > On Ubuntu powerpc64le-linux-gnu I see one failure:
> >
> > Running /<<PKGBUILDDIR>>/ld/testsuite/ld-plugin/lto.exp ...
> > FAIL: Run pr24406-1
>
> I've seen that one.  It's a compiler array-bounds warning.  HJ could
> you take a look at your testcase?
>

I didn't see the failure with GCC 9 on Fedora 30.  Can you try this

diff --git a/ld/testsuite/ld-plugin/pr24406-1.c
b/ld/testsuite/ld-plugin/pr24406-1.c
index 43995bdb07..fc706d3f71 100644
--- a/ld/testsuite/ld-plugin/pr24406-1.c
+++ b/ld/testsuite/ld-plugin/pr24406-1.c
@@ -12,6 +12,6 @@ __wrap_read (int fd, void *buffer, size_t count)
 int
 main ()
 {
-  int i = read (1, "abc", 5);
+  int i = read (1, "abc", 4);
   return i == 0;
 }


-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]