Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Fwd: 5.8: LTO exposes some new issues



On Mon, Jul 27, 2020 at 4:19 PM Roman Perepelitsa
<roman.perepelitsa@xxxxxxxxx> wrote:
>
> On Mon, Jul 27, 2020 at 2:47 PM Tomasz Kłoczko <kloczko.tomasz@xxxxxxxxx> wrote:
> > Here is whole list of compile and linking warnings:
> >
> > utils.c: In function 'getkeystring':
> > lto1: warning: function may return address of local variable [-Wreturn-local-addr]
> > utils.c:6644:16: note: declared here
> >  6644 |     char *buf, tmp[1];
> >       |                ^
>
> This one might be a real bug. [...]
> I'm attaching a patch [...]

kloczko.tomasz@xxxxxxxxx has informed me privately that this patch
doesn't silence the warning. I won't be applying it or pursuing this
matter any further.

Roman.



Messages sorted by: Reverse Date, Date, Thread, Author