[Bug c++/50734] const and pure attributes don't have the effect as in C

2011-10-15 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50734 --- Comment #2 from joseph at codesourcery dot com 2011-10-15 15:47:27 UTC --- On Sat, 15 Oct 2011, rguenth at gcc dot gnu.org wrote: > This is because f can throw, you need to mark it nothrow as well in C++. > Whether something throws or accesse

[Bug c++/50734] const and pure attributes don't have the effect as in C

2011-10-15 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50734 Richard Guenther changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|