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

Paul Thomas <pault at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pault at gcc dot gnu.org

--- Comment #7 from Paul Thomas <pault at gcc dot gnu.org> ---
For reasons that I do not see at the present, the right hand side, ie. 'expr',
in the offending assignment is being converted into a messed up structure
constructor. The parse tree shows:

    ASSIGN summary:res summary_i % component % _vptr % summary[[((summary:self
% component))]]

Interestingly, when procedure 'summary' is put in 'outer_m', we find

    ASSIGN summary:res summary_i % component % _vptr % summary[[((summary:self
% component))]]

ie. exactly the same! So, the resolution of the TBP is being thrown by the
assignment being in a submodule. This rings a bell.

I will dig further.

Paul

Reply via email to