print.c gets fussy when -check c enabled
|
|
Bugzilla Link |
1059 |
Created on |
Apr 11, 2013 16:41 |
Version |
svn |
OS |
Linux |
Architecture |
PC |
Attachments |
bug525.sac |
Extended Description
Created an attachment (id=961)
source code to reproduce fault
~/sac/testsuite/optimizations/constantfolding$ sac2c bug525.sac -doawlf -check c -v1
WARNING: Option -check c implies option -ecc.
WARNING: Insertion of explicit conformity checks has been enabled.
WARNING: AWLF is enabled: -extrema enabled.
WARNING: AWLF is enabled: -maxoptcyc=20
print/print.c:2623 Assertion "global.indent == old_indent" failed!
Indentation unbalanced while printing function 'SACf__MAIN__main`.
Indentation at beginning of function: 1.
Indentation at end of function: 2
This has been around since at least Build #18089, but I suspect
it's archaic.