compiler: set varargs lowered for imported call expressions
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 3 Jul 2019 22:27:51 +0000 (22:27 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 3 Jul 2019 22:27:51 +0000 (22:27 +0000)
commit651c754cfbd1928abd8ac6b3121fc37c85907dcb
treea1b956eacf43ba6ac1d052faad8a2df8f4f6ef5a
parent67699bf667313820add5a0ba24dd3baa0734eb4c
compiler: set varargs lowered for imported call expressions

    Fix compiler buglet: varargs lowering happens before inlinable
    function bodies are written out to export data, so set the "varargs
    lowered" flag on call expressions that we import.

    Fixes golang/go#32922

    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/184919

From-SVN: r273026
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/expressions.cc