This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH for throw specifications
- To: mark at markmitchell dot com
- Subject: Re: C++ PATCH for throw specifications
- From: Horst von Brand <vonbrand at inf dot utfsm dot cl>
- Date: Tue, 22 Dec 1998 17:53:34 -0300
- cc: egcs-patches at cygnus dot com, Jason Merrill <jason at cygnus dot com>
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