Unreviewed patches

Joseph S. Myers jsm28@cam.ac.uk
Fri Feb 1 17:51:00 GMT 2002


On Fri, 1 Feb 2002, Roger Sayle wrote:

> My approach would also decrease the divergence between the C and C++
> front-ends (comptypes etc), which I would have thought was a good thing.

A lot of the functionality of your changes, such as this, can be done
without reverting the previous decision about built-in functions in C++.
Start with making anticipated decls work properly; I explained the
problem.  (Probably, normal lookups for a decl in the symbol table should
simply never return such decls; a special option should be needed, that
would only be passed when looking to see whether a particular function,
now declared, can be treated as built in.)  You might need to do the
common comptypes interface with flags first, so that the checks for
whether types are sufficiently compatible can be done cleanly.

The nothrow attribute patch is also independent of this, and I hope
someone will review it.

-- 
Joseph S. Myers
jsm28@cam.ac.uk



More information about the Gcc-patches mailing list