summaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorAaron Watry <awatry@gmail.com>2015-10-02 10:08:05 -0500
committerAaron Watry <awatry@gmail.com>2015-10-06 14:12:30 -0500
commit1b3163a899ad9e62c1a29d68fac744adada460fb (patch)
tree408f252cbf7bc18268c7fa1607272c4e43257103 /TODO
parent063e88da2855800b76b584ebd3d4f8f7c47ccd50 (diff)
cl: Update integer/long limit tests to detect incorrect storage sizesHEADmaster
The tests for the integer/long minimums do not properly check that the value is stored in the correct type. E.g. (-2147483648) actually gets parsed as a long by the preprocessor, and therefore INT_MIN is actually stored as long and can't be automatically vectorized. By subtracting a vector with value of 0 from the given defined *_MIN and then grabbing the first element of the resulting vector, we can make sure that the values are actually stored in the correct type. v2: Remove char/short modifications. Test *_MAX vectorization as well as _MIN for int/long Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu> Reported-By: Moritz Pflanzer <moritz.pflanzer14@imperial.ac.uk> Signed-off-by: Aaron Watry <awatry@gmail.com>
Diffstat (limited to 'TODO')
0 files changed, 0 insertions, 0 deletions