GNU bug report logs - #44535
grep-3.6 released [stable]

Previous Next

Package: grep;

Reported by: Andreas Schwab <schwab <at> suse.de>

Date: Mon, 9 Nov 2020 16:14:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #22 received at 44535-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Andreas Schwab <schwab <at> suse.de>
Cc: Gnulib bugs <bug-gnulib <at> gnu.org>, 44535-done <at> debbugs.gnu.org
Subject: Re: bug#44535: grep-3.6 released [stable]
Date: Sat, 21 Nov 2020 18:15:20 -0800
[Message part 1 (text/plain, inline)]
On 11/12/20 11:39 PM, Paul Eggert wrote:
> We have dueling compilers here, as Sun C complains if the return statements are 
> present[1], whereas gcc -Wreturn-type complains if they're absent. Since the 
> return statements are clearly bogus and unnecessary I'm inclined to continue to 
> omit them.

I looked into this some more, and found out that it's a known GCC bug. I 
installed the attached patch into Gnulib to work around the bug. Thanks for 
reporting the problem.
[0001-nl_langinfo-tests-work-around-GCC-bug-44511.patch (text/x-patch, attachment)]

This bug report was last modified 4 years and 183 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.