Re: C as used/implemented in practice: analysis of responses

2015-06-29 Thread Andreas Hollmann
s are the problem of the insufficient execution jitter as the execution time is made too fast on fast, but less complex CPUs, the same test without optimizations is invoked again. To compile code without optimizations, either use no special flags or -O0." 2015-06-29 22:19 GMT+02:00 Andrea

Re: C as used/implemented in practice: analysis of responses

2015-06-29 Thread Andreas Hollmann
There is some recent code added to Linux 4.2, that relies on disabled optimization. This might be an interesting case of unclear interpretation/misuse of the C language. #ifdef __OPTIMIZE__ #error "The CPU Jitter random number generator must not be compiled with optimizations. See documentation.

GOMP: ICV: run-sched-var - Why is dynamic default and not static?

2015-05-05 Thread Andreas Hollmann
Hi, in gcc/libgomp/env.c the ICV run-sched-var is defined as run_sched_var = GFS_DYNAMIC It would be more natural to define it as GFS_STATIC, since the default schedule is also static in gomp. Is there any reason for this decision? Both ICVs run-sched-var and def-sched-var are implementation d