[Bug target/85492] riscv64: endless loop when throwing an exception from a constructor
wilson at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Apr 27 21:39:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85492
--- Comment #6 from Jim Wilson <wilson at gcc dot gnu.org> ---
I suggest you handle the glibc patch.
Note that you can probably also fix this by adding unwind direcives to _start
to say that the return address is in x0. This would avoid the minor code size
increase, but takes a little more effort to figure out how to add the right
unwind directives to assembly code to make this work. I haven't tried that.
More information about the Gcc-bugs
mailing list