Re: try_finally_expr wrong source location info

2017-06-09 Thread Eric Botcazou
> But then, after lowering on the eh pass (gcc/tree-eh.c:1161), the "finally" > location is set up to the `gimple_location (tf->try_finally_expr)' which > actually expands to "testcase.cxx:4", a place where the "try" block starts. > > The dump testcase.cxx.009t.ehopt shows no location info for des

try_finally_expr wrong source location info

2017-06-09 Thread Vyacheslav Barinov
Hello, Recently I found that Address Sanitizer reports wrong line information for the code using try-finally blocks: 1 #include 2 char *get_str() { return (char *) malloc(10); } 3 int main() { 4 std::unique_ptr l(new char); 5 l.reset(get_str()); 6 get_str(); 7 } ASan report tells #2

Re: Doxygen for GCC

2017-06-09 Thread David Malcolm
On Thu, 2017-06-08 at 21:35 -0400, Eric Gallager wrote: > On 6/8/17, Martin Liška wrote: > > On 04/28/2017 02:32 PM, Martin Liška wrote: > > > I'm planning to periodically build it and rsync to a public > > > website. > > > I guess, sometimes it can be handy. > > > > Done that (it's weekly update