bug-gnulib
[Top][All Lists]
Advanced

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

regex_internal.h modification lead to GCC crash


From: Yoann Vandoorselaere
Subject: regex_internal.h modification lead to GCC crash
Date: Tue, 20 Sep 2005 01:37:57 +0200

Hi list,

Recently introduced modification to regex_internal.h lead to a crash
when compiling GnuLib regex module under FreeBSD-4.11 GCC-2.95.4. 

The same module is reported to compile successfully under FreeBSD-5.4,
GCC-3.4.2.
The GCC crash was traced down to the following addition:

+#if !__GNUC_PREREQ (3, 1)
+# define always_inline
+#endif

Commenting out the '# define always_inline' line fix the problem. 

Compilation log from the user who reported the problem (who is in copy
of this mail, and might be able to provide more information upon
request):

<oge> In file included from regex.c:57:
<oge> regex_internal.c: In function `re_string_allocate':
<oge> regex_internal.c:57: warning: cast discards qualifiers from
pointer target type
<oge> regex_internal.c: In function `re_string_construct':
<oge> regex_internal.c:80: warning: cast discards qualifiers from
pointer target type
<oge> regex_internal.c: In function `re_string_reconstruct':
<oge> regex_internal.c:580: warning: cast discards qualifiers from
pointer target type
<oge> regex_internal.c: In function `re_dfa_add_node':
<oge> regex_internal.c:1324: warning: unused variable `type'
<oge> gcc: Internal compiler error: program cc1 got fatal signal 11


Hope it help,

-- 
Yoann Vandoorselaere <address@hidden>





reply via email to

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