http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55611
Marc Glisse <glisse at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #28931|0 |1 is obsolete| | --- Comment #4 from Marc Glisse <glisse at gcc dot gnu.org> 2013-03-12 13:04:28 UTC --- Created attachment 29652 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29652 Use tree code to determine the canonical order (2) With this slight tweak to simplify_associative_operation it now passes bootstrap+testsuite on x86_64-linux-gnu, both in this order and the reverse order. I am not sure it is the best way to break the infinite recursion, but it seems to work.