https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68302
--- Comment #11 from Steve Ellcey <sje at gcc dot gnu.org> --- Could you try adding 'debug_rtx (x); debug_rtx (y);' to the front of rtx_equal_for_cselib_1? It looks like this routine is in an infinite loop, I would like to see what input it is working on and see if the same input keeps re-occurring over and over.