[prev in list] [next in list] [prev in thread] [next in thread] 

List:       coreutils
Subject:    Re: gcc10's -Wreturn-local-addr gives FP warning about lib/careadlinkat
From:       Jim Meyering <jim () meyering ! net>
Date:       2020-02-09 20:46:53
Message-ID: CA+8g5KHA_dydC3FNp53uK3Oa_FLozbrrpjRdCs1f1rOOWEUh8g () mail ! gmail ! com
[Download RAW message or body]

On Sat, Feb 8, 2020 at 5:54 PM Jim Meyering <jim@meyering.net> 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.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic