__opr reserved ?

Alexandre Oliva oliva@dcc.unicamp.br
Wed Jun 30 23:15:00 GMT 1999


On Jun 15, 1999, mark@codesourcery.com wrote:

> It's mondo lame that we can't tell __opr from a conversion operator;
> I've had it in mind to fix this for some time.  The test-case will
> incentivize me to do so before the next release.

Ok, I'm installing the following test case as g++.other/decl4.C:

// Build don't link:

// Reported by Harri Porten <porten@tu-harburg.de>
// Simplified for testsuite by Alexandre Oliva

struct foo { operator long double(); };
int bar(int __opr); // gets bogus error - XFAIL *-*-*

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
{oliva,Alexandre.Oliva}@dcc.unicamp.br  aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
*** E-mail about software projects will be forwarded to mailing lists



More information about the Gcc-patches mailing list