[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gcc10's -Wreturn-local-addr gives FP warning about lib/careadlinkat
From: |
Jim Meyering |
Subject: |
Re: gcc10's -Wreturn-local-addr gives FP warning about lib/careadlinkat |
Date: |
Sun, 9 Feb 2020 12:46:53 -0800 |
On Sat, Feb 8, 2020 at 5:54 PM Jim Meyering <address@hidden> wrote:
...
> > > Hence, my last resort suggestion: disable that warning option for all
> > > gnulib compiles. Note that simply omitting the -W... option was
> > > insufficient (probably pulled in by some high-level one), so I
> > > resorted to adding -Wno-return-local-addr:
> >
> > +1
> >
> > This is a significant enough regression that it should be reported.
> > I didn't see a gcc bug report, only this meta bug:
> > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90556
>
> I've pushed that commit.
> Thanks for looking. I'll file a gcc report tomorrow.
Filed as https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93644
and connected it to 90556.
Re: gcc10's -Wreturn-local-addr gives FP warning about lib/careadlinkat, Kaz Kylheku (Coreutils), 2020/02/06