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

--- Comment #3 from Paul Thomas <pault at gcc dot gnu.org> ---
Created attachment 62822
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62822&action=edit
Fix for this PR

This fixes the testcase. In trying to match the optional typespec in the array
constructor, the first element of the array constructor is taken and correctly
returns MATCH_NO. However, in the course of this attempted match, the namespace
is changed to that of the main programme, which then causes the failure to find
the parameter 'junk'.

So I don't agree with the title change but am not sufficiently concerned to
change it again.

Paul

Reply via email to