genmatch infinite loop during bootstrap on AIX

David Edelsohn dje.gcc@gmail.com
Mon Oct 27 14:56:00 GMT 2014


On Mon, Oct 27, 2014 at 2:37 AM, Richard Biener
<richard.guenther@gmail.com> wrote:
> On October 27, 2014 1:49:54 AM CET, David Edelsohn <dje.gcc@gmail.com> wrote:
>>Richi,
>>
>>Does genmatch rely on static constructors or implicitly rely on the
>>order of static constructors? Sometimes those cause problems on AIX.
>
> No, it doesn't.
>
>>Bootstrap on AIX succeeds prior to r216631, e.g., r216624.  It works
>>after your commit r216619 to correct Makefile.in, or prior to that by
>>manually editing Makefile.in to add LIBICONV and LIBINTL.
>
> OK, so this would mean that r216631 causes a miscompile for you. Though that does not match up with you seeing this happening during stage1...
>
> Bah.
>
> The place where it is looping is using std::map <std::string, unsigned>.
>
> Does -static-libstdc++ work for you host compilers?
>
> Can you try emptying gcc/match.pd for a non-working rev.?

Empty file: success.

Header comment: success.

define_predicates stanza: success.

Any "simplify" stanza (with or without "for" loop): HANG.

- David



More information about the Gcc-patches mailing list