Re: Another verify_cgraph problem

2013-01-14 Thread Johannes Pfau
Am Sun, 13 Jan 2013 22:54:12 + schrieb Iain Buclaw : > > multiobj is ignored by gdc, but just for consistency reasons, just go > with false. OK, thanks > > > Also, do you find that templates must go after *all* functions have > been processed, or is it fine if you just add them to > toSymb

Re: Another verify_cgraph problem

2013-01-13 Thread Iain Buclaw
On 13 January 2013 16:02, Johannes Pfau wrote: > Am Sat, 12 Jan 2013 11:57:10 +0100 > schrieb Johannes Pfau : > > > A template's toObjFile does nothing, but all my naive attempts to call > > e.g. > > > declaration->isTemplateDeclaration()>onemember->isDeclaration()->toObjFile(false) > > fail with

Re: Another verify_cgraph problem

2013-01-13 Thread Johannes Pfau
Am Sat, 12 Jan 2013 11:57:10 +0100 schrieb Johannes Pfau : > A template's toObjFile does nothing, but all my naive attempts to call > e.g. > declaration->isTemplateDeclaration()>onemember->isDeclaration()->toObjFile(false) > fail with a strange error. OK, of course it can't work. toObjFile has to

Another verify_cgraph problem

2013-01-12 Thread Johannes Pfau
I reduced another verify_cgraph issue (again, only shown on 4.7 and with --enable-checking=yes). This is the example: --- void parseJSON()(char val) { void error() { } void getChar()() //Scope not set to parseJSON { error(); } void parseString()