[Bug target/100152] [10.3, 11, 12 Regression] used caller-saved register not preserved across a call.

2021-04-23 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100152 --- Comment #29 from Iain Sandoe --- what is also somewhat peculiar is that replacing the first function in the reduced test case with "extern void ___UTF_8_put(char *a, int b);" changes the code-gen for the second function.

[Bug target/100152] [10.3, 11, 12 Regression] used caller-saved register not preserved across a call.

2021-04-22 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100152 --- Comment #28 from Iain Sandoe --- reduced test case: ___UTF_8_put(char *a, int b) { char *c = a; int bytes; if (b <= 15) bytes = 2; else if (b <= 255) bytes = 4; else if (b <= 4095) bytes = 5; else bytes = 6; c

[Bug target/100152] [10.3, 11, 12 Regression] used caller-saved register not preserved across a call.

2021-04-22 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100152 Iain Sandoe changed: What|Removed |Added CC||rguenth at gcc dot gnu.org