I tried to build gdc with the latest heads of gcc and gdc
Lots of warnings along the build and the it stops here:

../../gcc/gcc/d/d-objfile.cc:2031:52: error: no matching function for call to 'symtab_node::symtab_node(cgraph_node*&)'
     symtab_add_to_same_comdat_group ((symtab_node) thunk_node,
                                                    ^
../../gcc/gcc/d/d-objfile.cc:2031:52: note: candidates are:
In file included from ../../gcc/gcc/d/d-system.h:47:0,
                 from ../../gcc/gcc/d/d-objfile.cc:18:
../../gcc/gcc/cgraph.h:44:3: note: symtab_node::symtab_node()
   symtab_node
   ^
../../gcc/gcc/cgraph.h:44:3: note: candidate expects 0 arguments, 1 provided ../../gcc/gcc/cgraph.h:44:3: note: symtab_node::symtab_node(const symtab_node&) ../../gcc/gcc/cgraph.h:44:3: note: no known conversion for argument 1 from 'cgraph_node*' to 'const symtab_node&'

I want the latest version because I found there may be something wrong with inlining/optimization in my current arm compiler

Reply via email to