compiler: Store flags for division checks in Gogo object instead of using global...
commit5c3f3470f97a047819f593b60db38cf7a34b8187
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 May 2014 13:50:01 +0000 (6 13:50 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 May 2014 13:50:01 +0000 (6 13:50 +0000)
treecbfe6afa638ce0b18b2e51c55acff495e07956d6
parent50f39f787f5c84125870758b4a346b5b975c7317
compiler: Store flags for division checks in Gogo object instead of using global variables.

* go-c.h (go_create_gogo): Update declaration to add
check_divide_zero and check_divide_overflow parameters.
* go-lang.c (go_langhook_init): Pass new arguments to
go_create_gogo.

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