https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82939

--- Comment #4 from Eric Gallager <egallager at gcc dot gnu.org> ---
Created attachment 42594
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42594&action=edit
genmatch crash report

(In reply to Richard Biener from comment #3)
> Hmm, GCC 4.2 as host compiler and using non-standard flags (-Os).  Can you
> try
> with standard flags?  It's probably miscompiling libcpp and/or genmatch.

When removing -Os it instead segfaults:

build/genmatch --gimple ../../gcc/match.pd \
            > tmp-gimple-match.c
/bin/sh: line 1: 76756 Segmentation fault      build/genmatch --gimple
../../gcc/match.pd > tmp-gimple-match.c
make[3]: *** [s-match] Error 139
make[2]: *** [all-stage1-gcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2

Attaching the crash reporter log.

Reply via email to