C++ PATCH: Improve exceptions/inlining compile-time performance

Richard Guenther rguenth@tat.physik.uni-tuebingen.de
Tue Apr 22 08:58:00 GMT 2003


Nice improvement - I'll try this on the POOMA testcases.

What I'd like to know is wether the compiler can detect that in

struct foo {
  int get() const { return i; }
  int i;
};

get() is actually throw(), or if we really need to start putting throw()
after every trivial method declaration... I.e. in what cases do we really
help the compiler here?

Thanks for your work on the compile time issues!

Richard.

--
Richard Guenther <richard dot guenther at uni-tuebingen dot de>
WWW: http://www.tat.physik.uni-tuebingen.de/~rguenth/



More information about the Gcc-patches mailing list