apex UTBaseValue.sac test fails at end of -bopt. IVE suspected
|
|
Bugzilla Link |
1035 |
Created on |
Nov 16, 2012 14:27 |
Version |
svn |
OS |
Linux |
Architecture |
PC |
Attachments |
crud.sac |
Extended Description
Created an attachment (id=938)
source code to reproduce fault
**** Eliminating symbolic array attributes ...
**** Applying type upgrade ...
constants/constants_struc_ops.c:1095 Assertion "cviv[0] < cvshp[0]" failed!
Index error: iv[0] >= shp([0]
The exact problem is that iv and shp have the same value in COvect2Offset,
which indeed indicates Index error.
apex@rattler:~/apex3/benchmks/UTBaseValue$ sac2c -V
sac2c v1.00-beta (Haggis And Apple)
developer rev 18028 linux-gnu_x86_64
(Thu Nov 15 16:04:14 EST 2012 by sac)
apex@rattler:~/apex3/benchmks/UTBaseValue$ sac2c crud.sac -v4