[Bug middle-end/86995] [9 regression] c-c++-common/torture/builtin-arith-overflow-17.c etc. FAIL

2018-08-29 Thread vlad.lazar at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86995 --- Comment #6 from Vlad Lazar --- Here's the patch: https://gcc.gnu.org/ml/gcc-patches/2018-08/msg01889.html

[Bug middle-end/86995] [9 regression] c-c++-common/torture/builtin-arith-overflow-17.c etc. FAIL

2018-08-29 Thread vlad.lazar at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86995 --- Comment #4 from Vlad Lazar --- That's right. It's not the right fix. The actual cause is the use of wi::add in r263591, which does not set the flag in case of underflow. The correct way is to use wi::add for addition and wi::sub for substract

[Bug middle-end/86995] [9 regression] c-c++-common/torture/builtin-arith-overflow-17.c etc. FAIL

2018-08-23 Thread vlad.lazar at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86995 Vlad Lazar changed: What|Removed |Added CC||vlad.lazar at arm dot com --- Comment #2