[Bug c/18929] Profiling optimized code causes segfaults on ARM due to missing frames
opensource at artnaseef dot com
gcc-bugzilla@gcc.gnu.org
Fri Dec 10 18:19:00 GMT 2004
------- Additional Comments From opensource at artnaseef dot com 2004-12-10 18:19 -------
Created an attachment (id=7720)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7720&action=view)
recommended fix
This patch fixes the problem by forcing functions to keep their frame pointers
when compiled with profiling. It maintains portability by using a macro, and
only defining it for the ARM architecture, that indicates when mcount requires
the frame pointer.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18929
More information about the Gcc-bugs
mailing list