OSDN Git Service

Fix bug with taking address of a variable when address does not escape.
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 May 2011 18:35:05 +0000 (18:35 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 May 2011 18:35:05 +0000 (18:35 +0000)
commitf325319b5e9e2562640986532989320d5f394f02
tree82ff0959989caa861c84bff4e6205b529671db90
parent4c7817e51f5f28a2462cea1c57c0dad42da7e3fa
Fix bug with taking address of a variable when address does not escape.

* go-gcc.cc (Gcc_backend::local_variable): Add is_address_taken
parameter.
(Gcc_backend::parameter_variable): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173712 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/ChangeLog
gcc/go/go-gcc.cc
gcc/go/gofrontend/backend.h
gcc/go/gofrontend/expressions.cc
gcc/go/gofrontend/gogo.cc
gcc/go/gofrontend/gogo.h