]> git.ipfire.org Git - thirdparty/gcc.git/commit
compiler: Don't crash on invalid print call.
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Aug 2015 17:43:55 +0000 (17:43 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Aug 2015 17:43:55 +0000 (17:43 +0000)
commit32e3ff6906f3bddd5f10556d277193abca6bb01c
tree23b169f2af167f4dd70aba8b1e72e6ae453315a1
parent274434054a510c809532aab8b03bc175c953eeea
compiler: Don't crash on invalid print call.

    When the print builtins are called with no arguments, the compiler
    issues a warning and crashes when trying to produce the backend
    representation for the arguments.

    Fixes golang/go#11526.

    Reviewed-on: https://go-review.googlesource.com/13131

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227039 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/expressions.cc