This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/54954] malloc optimizations not disabled by -fno-builtin


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]