http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57603

--- Comment #1 from Andreas Krebbel <krebbel at gcc dot gnu.org> ---
The failure above was observed with r200057. Here the cc1 output:

cc1 -fpreprocessed -quiet -march=z9-109  -O1 t.c

t.c: In function ‘d_append_string’:
t.c:22:38: warning: incompatible implicit declaration of built-in function
‘strlen’ [enabled by default]
             d_append_buffer (dpi, s, strlen (s));
                                      ^
t.c: In function ‘d_demangle_callback’:
t.c:41:102: warning: incompatible implicit declaration of built-in function
‘strlen’ [enabled by default]
             else if ((__extension__ (__builtin_constant_p (8) &&
((__builtin_constant_p (mangled) && strlen (mangled) < ((size_t) (8))) ||
(__builtin_constant_p ("_GLOBAL_") && strlen ("_GLOBAL_") < ((size_t) (8)))) ?
__extension__ ({
                                                                               
                      ^
t.c: In function ‘__gcclibcxx_demangle_callback’:
t.c:60:15: internal compiler error: Segmentation fault
           int __gcclibcxx_demangle_callback (const char *mangled_name,        
                       void (*callback) (const char *, size_t, void *),        
                       void *opaque) {
               ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Reply via email to