https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84141

--- Comment #37 from paul.richard.thomas at gmail dot com <paul.richard.thomas 
at gmail dot com> ---
Hi Richi,

> So the fix quite possibly only papers over the problem in general
> - it changes to use a new, non-cached variant in this place but I see
> many more callers to gfc_get_dtype.  Eventually they will be all for
> different types but who knows.

The problem of many more callers is exactly what worried me.

> I suggest to remove the caching from gfc_get_dtype.

Can this Bear-of-Little-Brain ask how this might be accomplished? I
fear that the lowering from generic to gimple is something about which
I have a very vague grasp.

Do I take it that the caching you are referring to is the use of
GFC_TYPE_ARRAY_DTYPE if it is there? If it is nothing more
subtle/clever than that, I can get on with what is needed :-)

Cheers

Paul

On 8 February 2018 at 12:36, rguenth at gcc dot gnu.org
<gcc-bugzi...@gcc.gnu.org> wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84141
> Bug 84141 depends on bug 84155, which changed state.
>
> Bug 84155 Summary: [8 Regression] program hangs on valid code
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84155
>
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|RESOLVED                    |REOPENED
>          Resolution|FIXED                       |---
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
> You are the assignee for the bug.

Reply via email to