Re: Prevent infinite recursion between simplification and CSE in FRE

2017-06-19 Thread Richard Biener
On Mon, Jun 19, 2017 at 12:09 PM, Marc Glisse wrote: > On Mon, 19 Jun 2017, Richard Biener wrote: > >> On Sat, Jun 17, 2017 at 9:35 AM, Marc Glisse wrote: >>> >>> Hello, >>> >>> see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80887#c10 for the >>> context. >>> FRE can go into an infinite recursi

Re: Prevent infinite recursion between simplification and CSE in FRE

2017-06-19 Thread Marc Glisse
On Mon, 19 Jun 2017, Richard Biener wrote: On Sat, Jun 17, 2017 at 9:35 AM, Marc Glisse wrote: Hello, see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80887#c10 for the context. FRE can go into an infinite recursion with some match.pd simplifications (that have been temporarily reverted). Li

Re: Prevent infinite recursion between simplification and CSE in FRE

2017-06-19 Thread Richard Biener
On Sat, Jun 17, 2017 at 9:35 AM, Marc Glisse wrote: > Hello, > > see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80887#c10 for the context. > FRE can go into an infinite recursion with some match.pd simplifications > (that have been temporarily reverted). > > Limiting the depth of recursive calls