[GCC-XML] bug report

Roman Yakovenko roman.yakovenko at gmail.com
Sun Jul 10 07:51:09 EDT 2005


Hi I don't know whether this is a bug in gcc or GCC_XML but here is description:

code:

struct X{};
const X& ref_x();
void do_smth( const X& x = ref_x() );

after running GCC_XML here is function description:

- <Function id="_3" name="do_smth" returns="_6" context="_1"
mangled="_Z7do_smthRK1X" location="f0:3" file="f0" line="3"
extern="1">
  <Argument type="_7" default="ref_x()()" /> 
  </Function>

The problem is - default="ref_x()()". 

Roman



More information about the gccxml mailing list