This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: C++ PATCH for throw specifications


Mark Mitchell <mark@markmitchell.com> said:
> Here's a patch which fixes the problem with throw specs in the latest
> snapshot.  I have not yet checked this in as I am still running tests,
> but I will as soon as the tests finish running.

> + extern void *f(unsigned int k) throw();

Nice to see that my testcase made it ;-)

Not that I know anything about your patch, and what it does. But I fiddled
around with the testcase before sending it in, and c++ doesn't ICE if k is
"int", or "unsigned <othertype>", and the "void *" return type is essential
too (plain "void" or "int" makes no trouble). Also, egcs-19981213 works
fine. I suspect the problem might be deeper... but I could very well be
wrong.
-- 
Dr. Horst H. von Brand                       mailto:vonbrand@inf.utfsm.cl
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]