This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/54954] malloc optimizations not disabled by -fno-builtin
- From: "swalter at lexmark dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 18 Oct 2012 13:41:13 +0000
- Subject: [Bug c/54954] malloc optimizations not disabled by -fno-builtin
- Auto-submitted: auto-generated
- References: <bug-54954-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54954
--- Comment #5 from swalter at lexmark dot com 2012-10-18 13:41:13 UTC ---
Thanks for looking into this, Richard. I should have mentioned that you'll
need to build with optimization turned on.
Expected behavior:
test.c built with -O -fno-builtin runs to successful completion
Actual behavior:
test.c built with -O -fno-builtin aborts (failed assertion)
test.c built with -O0 does not abort