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

--- Comment #3 from Andre Vehreschild <vehre at gmx dot de> ---
Hi,

this is my first attempt on a patch. Please comment, when something is missing.

The error occurs in the translation phase, but I tracked its source to the
parse phase where parameter matching is done. The actual argument (array_ref)
is not interpreted correctly. In fact, was the current code ignoring the
array_ref and examined only the type of object to deref. 

Added check, if the actual argument is a deref.
Added testcase.
Found no regressions yet. 

- Andre

Reply via email to