This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/81201] The final asm code doesn't check if a function changes the value of ebx, resulting in segmentation fault.
- From: "arget at autistici dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 25 Jun 2017 17:20:59 +0000
- Subject: [Bug target/81201] The final asm code doesn't check if a function changes the value of ebx, resulting in segmentation fault.
- Auto-submitted: auto-generated
- References: <bug-81201-4@http.gcc.gnu.org/bugzilla/>
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.