WLSIMP might need DL/AS/AL call following in CF unit test cubslcrash.sac
|
|
Bugzilla Link |
1089 |
Created on |
Sep 26, 2013 21:29 |
Version |
svn |
OS |
Linux |
Architecture |
PC |
Attachments |
crud2.sac |
Extended Description
Created an attachment (id=987)
source code to reproduce fault
_pinl_2868__flat_33 = _add_SxS_( N__SSA0_1, -1);
_wlsimp_17660 = _sub_SxS_( N__SSA0_1, _pinl_2868__flat_33);
This code is generated by WLSIMP, leaving a GENWIDTH value
with a non-constant value, although the value is actually the constant 1.
I'm not sure if this affects anything downstream, but if so,
some additional traversals are called for after WLSIMP.
Here's how to reproduce it in Build #18310.
sac2c crud2.sac -doawlf -nowlf -bopt -v1 >crud