summary refs log tree commit diff
path: root/minic/test/prime.c
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-04-08 09:40:07 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-04-08 09:41:59 -0400
commit15cee065a57ed7c7f5272bb6b60f7518121ec4da (patch)
treed55eba36212344720499bd3f0d3b5ca84cc2d180 /minic/test/prime.c
parenta7fb69fd782470e20553e90e97fcc13f9218e2ae (diff)
downloadroux-15cee065a57ed7c7f5272bb6b60f7518121ec4da.tar.gz
simplify a buggy test
I found it by compiling -O2 and seeing the ABI code
fail.  Further investigation revealed GCC trimmed
away the last iteration of the loop because I was
accessing the third element of an array of size two.
This is undefined behavior, so GCC "proved" that the
last iteration was never run.
Diffstat (limited to 'minic/test/prime.c')
0 files changed, 0 insertions, 0 deletions