Compilation with -ecc -doprfunr crashes APEX benchmark UTJotDoc.sac
|
|
Bugzilla Link |
1110 |
Created on |
Jan 21, 2014 23:09 |
Resolution |
FIXED |
Resolved on |
Jan 22, 2014 22:09 |
Version |
svn |
OS |
Linux |
Architecture |
PC |
Attachments |
crud.sac |
Extended Description
Created an attachment (id=999)
source code to reproduce fault
This bug has been around for many moons. The fundamental problem
is that prfunr generates garbage code for val_lt_shape().
It has been broken for some time, I suspect. The only reason we
do not see it more frequently is that nobody (except me) compiles with
-check c or -ecc.
sac2c -V
sac2c v1.00-beta (Haggis And Apple)
developer rev 18423 linux-gnu_x86_64
(Sun Jan 19 17:22:43 EST 2014 by sac)
sac2c -ecc crud.sac crashes
sac2c -ecc -noprfunr crud.sac works OK
I feex it tomorrow.