[LLVMbugs] [Bug 13331] diagnostic when throwing exceptions from constexpr

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jul 11 12:11:40 PDT 2012


Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |richard-llvm at metafoo.co.uk
         Resolution|                            |INVALID

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> 2012-07-11 14:11:40 CDT ---
The throw renders the expression non-constant; the exception is thrown at
runtime. constexpr is irrelevant here.

If you want to find where the exception came from, you could build with debug
info, then attach gdb and use 'catch throw', or maybe even request a feature
from your standard library implementation to deduce and print that information
from the debug info.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list