https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78718
--- Comment #3 from Jim MacArthur ---
It looks to me like the assertion failure is because the symbol in the argument
expression doesn't have the attr.referenced bit set. resolve_actual_arglist
replaces the symtree in the 'z' expression when it f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78718
Jim MacArthur changed:
What|Removed |Added
CC||jim.macarthur at codethink dot
co.
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: jim.macarthur at codethink dot co.uk
Target Milestone: ---
Created attachment 37128
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37128&action=edit
Reproduction test case.
Trying to include a directo
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68544
--- Comment #2 from Jim MacArthur ---
Sun f90 output:
CALL sub(t)
^
"pass-type-constructor-as-function.f", Line = 10, Column = 16: ERROR: This use
of derived type "T" is not valid.
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: jim.macarthur at codethink dot co.uk
Target Milestone: ---
Created attachment 36839
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36839&action=edit
Minimal test case
The a