mirror of https://github.com/Nonannet/copapy.git
switched to volatile extern dummy variables
This commit is contained in:
parent
e8a73c088e
commit
4a7a90696d
|
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
//double (*math_pow)(double, double);
|
//double (*math_pow)(double, double);
|
||||||
|
|
||||||
extern int dummy_int;
|
volatile extern int dummy_int;
|
||||||
extern float dummy_float;
|
volatile extern float dummy_float;
|
||||||
|
|
||||||
__attribute__((noinline)) int floor_div(float arg1, float arg2) {
|
__attribute__((noinline)) int floor_div(float arg1, float arg2) {
|
||||||
float x = arg1 / arg2;
|
float x = arg1 / arg2;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue