[Bug c++/58848] constexpr function allows throw

2016-05-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58848 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/58848] constexpr function allows throw

2013-10-30 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58848 --- Comment #3 from Jonathan Wakely --- The initializer for ReferenceElement::v calls the function in a constant expression, but G++ doesn't diagnose it unless you instantiate that member. You get an error if you do: int main() { return Refere

[Bug c++/58848] constexpr function allows throw

2013-10-23 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58848 Daniel Krügler changed: What|Removed |Added CC||daniel.kruegler@googlemail.

[Bug c++/58848] constexpr function allows throw

2013-10-22 Thread mib.bugzilla at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58848 --- Comment #1 from mib.bugzilla at gmail dot com --- Created attachment 31073 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31073&action=edit simpler test case gets compilation error (good) both test cases should get a compilation error bec