C++ PATCH for c++/67941 (UBsan error with empty lambda)
Wed Nov 25 18:59:00 GMT 2015
The _FUN function returned by the lambda conversion operator calls the
op() with a null object argument, which would be undefined behavior for
user code, but we can get away with it internally since it isn't
observable. Tell UBsan to ignore it.
Tested x86_64-pc-linux-gnu, applying to trunk and 5.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1127 bytes
Desc: not available
More information about the Gcc-patches