We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7ad1ef commit 02c3456Copy full SHA for 02c3456
2 files changed
gcc/d/ChangeLog
@@ -1,3 +1,8 @@
1
+2015-08-10 Iain Buclaw <ibuclaw@gdcproject.org>
2
+
3
+ * d-elem.cc(HaltExp::toElem): Use __builtin_trap to halt execution,
4
+ rather than the library abort() call.
5
6
2015-08-07 Iain Buclaw <ibuclaw@gdcproject.org>
7
8
* d-codegen.cc(build_closure): Update signature, update all callers.
gcc/d/d-elem.cc
@@ -1891,8 +1891,7 @@ FuncExp::toElem (IRState *)
1891
elem *
1892
HaltExp::toElem (IRState *)
1893
{
1894
- // Needs improvement. Avoid library calls if possible..
1895
- return d_build_call_nary (builtin_decl_explicit (BUILT_IN_ABORT), 0);
+ return d_build_call_nary (builtin_decl_explicit (BUILT_IN_TRAP), 0);
1896
}
1897
1898
0 commit comments