[Bug gcov-profile/60008] x86_64: Segmentation fault if compiled with -fcall-saved-rdi -O2 --coverage

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 31 13:44:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60008

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Don't do it then?  %rdi is the first parameter register on x86_64, so making it
call saved is a very bad idea for many reasons.



More information about the Gcc-bugs mailing list