https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30609
Thomas Koenig <tkoenig at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |tkoenig at gcc dot
gnu.org
--- Comment #4 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Let's see.
We could do this like the function elimination pass, making
a list of eligible gfc_expr *, and then iterating over it
to find duplicates.
If we put in the gfc_expr * from top to bottom, this should
also make sure that we find any bigger expressions before
smaller expressions.