This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: __sync_swap* [ rename sync builtins ]


On 06/21/2011 06:26 PM, Graham Stott wrote:
All

--- On Tue, 21/6/11, Richard Henderson<rth@redhat.com> wrote:

This looks to have broken the go frontend

gcc/gcc/go/gofrontend/gogo-tree.cc: In member function âvoid Gogo::define_builtin_function_trees()â:
/usr/local/src/gcc4.7/gcc/gcc/go/gofrontend/gogo-tree.cc:94:18: error: âBUILT_IN_ADD_AND_FETCH_1â was not declared in this scope
/usr/local/src/gcc4.7/gcc/gcc/go/gofrontend/gogo-tree.cc:99:19: error: âBUILT_IN_ADD_AND_FETCH_2â was not declared in this scope
/usr/local/src/gcc4.7/gcc/gcc/go/gofrontend/gogo-tree.cc:104:18: error: âBUILT_IN_ADD_AND_FETCH_4â was not declared in this scope
/usr/local/src/gcc4.7/gcc/gcc/go/gofrontend/gogo-tree.cc:109:18: error: âBUILT_IN_ADD_AND_FETCH_8â was not declared in this scope

Graham
ah, missed it's .cc file, and I guess it doesn't build by default :-P

This ought to fix it, checking in as obvious...

Andrew


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]