Issue 56441
Summary clang3.5.2 build app as release, crash when run, but ok if built with clang11
Labels new issue
Assignees
Reporter barton-git
    problem is like this

struct test
{
...
};

int func call()
{
  test t;
  deal with t;
}

when I built the code with clang 3.5.2, if set release it will crash, and no stack info when use gdb. But if I change the compiler with clang 11, everything goes well. And more when I creat test as "test* p = new test", if under 3.5.2, the application is ok. I don't know if it is a bug in previous clang.

thanks for any answer
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to