UTReshapebug2.sac gets corrupt N_avis in N_return statement after -bopt:etv2
|
|
Bugzilla Link |
851 |
Created on |
Jul 02, 2011 23:38 |
Resolution |
FIXED |
Resolved on |
Oct 12, 2011 09:24 |
Version |
svn |
OS |
Linux |
Architecture |
PC |
Attachments |
loop18crud.sac |
Extended Description
The above unit test, in ~/sac/testsuite/optimizations/awlf, dies in VPid
trying to look at the first (only) argument of an N_return.
I suspect someone may have failed to DUP an N_id node. I tried
compiling with:
sac2c UTReshapebug2.sac -d treecheck -chkfreq 4
but that did not show any failures. [Clemens: Is that
check supposed to turn up shared N_id nodes?]
sac2c -V
sac2c v1.00-beta (Haggis And Apple)
developer rev 17452 linux-gnu_x86_64
(Sat Jul 2 16:06:04 EDT 2011 by sac)
Break at -bopt:etv2 does not crash, but it does
crash if we break at -bopt:ebt2.