bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: regex workaround for gcc 2.95.3 core dump


From: Paul Eggert
Subject: Re: regex workaround for gcc 2.95.3 core dump
Date: Sat, 24 Sep 2005 21:21:44 -0700
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Derek Price <address@hidden> writes:

> <http://lists.gnu.org/archive/html/bug-gnulib/2005-09/msg00234.html>. 

Thanks for mentioning that.  Can you believe that I had forgotten all
about our earlier fix?  Anyway, I installed that patch in both
coreutils and gnulib, with this changelog entry:

2005-09-24  Paul Eggert  <address@hidden>

        * regex_internal.h (__GNUC_PREREQ, always_inline, inline, pure):
        Remove.
        (__attribute): Define to empty unless GCC 3.1 or later.
        This works around a core dump on OpenBSD 3.4, which has GCC
        2.95.3, which dumps core when given __attribute__(()).  It also
        simplifies other tests, since we really don't want to bother with
        worrying about which ancient version of GCC supported what.
        Original problem reported by Yoann Vandoorselaere, with part of
        the fix suggested by Derek Price.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]