Open dibyendumajumdar opened 7 years ago
https://github.com/dibyendumajumdar/dmr_c/blob/master/tests/bugs/simplifybug.c
Also see:
http://marc.info/?l=linux-sparse&m=149017414417644&w=3
The workaround is to disable sparse simplifications. In dmr_C this is achieved by making simplification optional - it is triggered only if -O1 option is supplied.
An example of this issue is in:
https://github.com/dibyendumajumdar/dmr_c/blob/master/tests/bugs/simplifybug.c
Also see:
http://marc.info/?l=linux-sparse&m=149017414417644&w=3
The workaround is to disable sparse simplifications. In dmr_C this is achieved by making simplification optional - it is triggered only if -O1 option is supplied.