------- Comment #9 from kargl at gcc dot gnu dot org 2008-11-12 23:02 ------- The problem appears to be with the reference to SAME() in
subroutine xmain() call foo(trim_append(["a"],same(["b"]))) end subroutine xmain If one changes this to call foo(trim_append(["a"],["b"])) the code compiles. So, it appears that a temporary array is not be probably created. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38095