GNU bug report logs - #77301
Is this a bug?

Previous Next

Package: grep;

Reported by: George R Goffe <grgoffe <at> yahoo.com>

Date: Thu, 27 Mar 2025 06:33:05 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#77301: closed (Is this a bug?)
Date: Thu, 27 Mar 2025 17:56:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 27 Mar 2025 11:55:10 -0600
with message-id <750dcc11-c55a-4654-bd87-d92f929d94dc <at> cs.ucla.edu>
and subject line Re: bug#77301: Is this a bug?
has caused the debbugs.gnu.org bug report #77301,
regarding Is this a bug?
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
77301: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77301
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: George R Goffe <grgoffe <at> yahoo.com>
To: "bug-grep <at> gnu.org" <bug-grep <at> gnu.org>
Subject: Is this a bug?
Date: Thu, 27 Mar 2025 06:32:06 +0000 (UTC)
Howdy,

Apparently the gcc folks have been busy, tightening up the "rules". I'm not sure this isn't one so I'm reporting it.

Best regards,

George...

This is output from gcc (GCC) 15.0.1 20250325 (experimental) but the non-experimental version shows the same output.

mv fgrep-t fgrep
pcresearch.c: In function 'Pcompile':
pcresearch.c:222:23: error: initializer-string for array of 'char' is too long [-Werror=unterminated-string-initialization]
  222 |         wprefix[10] = "(?<!\\w)(?:", wsuffix[7] = ")(?!\\w)";
      |                       ^~~~~~~~~~~~~
pcresearch.c:222:51: error: initializer-string for array of 'char' is too long [-Werror=unterminated-string-initialization]
  222 |         wprefix[10] = "(?<!\\w)(?:", wsuffix[7] = ")(?!\\w)";
      |                                                   ^~~~~~~~~~
cc1: all warnings being treated as errors



[Message part 3 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: George R Goffe <grgoffe <at> yahoo.com>
Cc: 77301-done <at> debbugs.gnu.org
Subject: Re: bug#77301: Is this a bug?
Date: Thu, 27 Mar 2025 11:55:10 -0600
It's not a bug in grep. We pacified GCC's false alarm in grep commit 
08c4ce064b7f42acc023a9b28d1076a81feb6143.


This bug report was last modified 54 days ago.

Previous Next


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