The first write to rBuffer[] in the loop was never happening, I could only make that happen by removing the second write to rBuffer[]. Completely insane.
Then I tried removing --fomit-frame-pointer from the compiler switches. Now it works :|
I'm really not sure it's a bug, but I wanted you to know of this problem.
Last edit: sverx 2015-02-16
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
--fomit-frame-pointer is not as well-tested as the default. If you can separete out your code into a compileable function that reproduces the issue, please file a bug report.
Philipp
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've spent a good hour trying to understand what was going wrong in this piece of code.
The first write to rBuffer[] in the loop was never happening, I could only make that happen by removing the second write to rBuffer[]. Completely insane.
Then I tried removing --fomit-frame-pointer from the compiler switches. Now it works :|
I'm really not sure it's a bug, but I wanted you to know of this problem.
Last edit: sverx 2015-02-16
--fomit-frame-pointer is not as well-tested as the default. If you can separete out your code into a compileable function that reproduces the issue, please file a bug report.
Philipp
OK. Not easy BTW.
Thanks Philipp! :)