tomcatv2 dies in memory management generation and in tup
|
|
Bugzilla Link |
779 |
Created on |
Nov 20, 2010 13:27 |
Version |
svn |
OS |
Linux |
Architecture |
PC |
Attachments |
tomcatv2.sac |
Extended Description
Created an attachment (id=773)
source code to reproduce fault
sac2c apex/tomcatv2/tomcatv2.sac -noopt -O3
** 16: Introducing memory management instructions ...
**** AUD/SCL distinction ...
-----------------------------------------------
It also dies this way:
sac2c tomcatv2.sac -O3 -v4
OOOOOOOPS, your program crashed the compiler 8-((
**** Optimization cycle pass: 5
****** Optimizing regular function:
****** _MAIN::main( hidden(1), hidden(2), hidden(0)): ...
Applying common subexpression elimination ...
Inferring loop invariant variables ...
Applying type upgrade ...
ABORT: line 491 file: tomcatv2.sac
ABORT: with loop returns 3 value(s) but 1 variable(s) specified on the lhs
*** Compilation failed ***
*** Exit code 87 (Running SAC optimizations)
*** 1 Error(s), 34 Warning(s)
sac@rattler:~/sac/apex/tomcatv2$ sac2c -V
sac2c v1.00-beta (Haggis And Apple)
product rev 17200:MODIFIED linux-gnu_x86_64
(Fri Nov 19 17:52:54 EST 2010 by sac)