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 target/81201] The final asm code doesn't check if a function changes the value of ebx, resulting in segmentation fault.


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81201

--- Comment #2 from arget at autistici dot org ---
Well... this is embarrasing, ok... XD
I though the problem was in the ebx, because returning from chacha(), ebx =
0... but now I looked carefully the chacha() asm code and there isn't any
operation on ebx register, so I don't know why ebx was 0.
Well, the code now runs on 32 bits and in raspbian.
Sorry, and thanks a lot.

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