As per the explanation in the test, and in the DOM conversion to
ranger patch, this is a known regression. I had mentioned I would
XFAIL this test, but forgot to do so. There is an analysis in the
test itself as to what is going on.
Tested on x86-64 Linux.
gcc/testsuite/ChangeLog:
* g++.dg/warn/Wstringop-overflow-4.C: XFAIL a test.
iftmp.2_33 = _45 * 2; ;; iftmp.2_33 = 0
_34 = operator new [] (iftmp.2_33); ;; new [] (0)
*/
- T (S (2), new int16_t[r_dmin_dmax + 1]);
+ T (S (2), new int16_t[r_dmin_dmax + 1]); // { dg-bogus "into a region of size" "" { xfail *-*-*} }
T (S (9), new int16_t[r_dmin_dmax * 2 + 1]);
}