the issue seems to be a freetype one, fraction_length == 10 when it crashes or the power_tens has only 10 items to power_tens[10] is out of scope
when adding some printf in the code:
printf("%li\n", power_tens[10]); -O0 -> 174681125 -O1 -> 0
the gcc behaviour change but that's still a code error to have an index over the table
the issue seems to be a freetype one, fraction_length == 10 when it crashes or the power_tens has only 10 items to power_tens[10] is out of scope
when adding some printf in the code:
printf("%li\n", power_tens[10]);
-O0 -> 174681125
-O1 -> 0
the gcc behaviour change but that's still a code error to have an index over the table