


























|
 |
SpecC Reference Compiler
V1.2 released

At January 3, 2002, we have released a new version of the SpecC Reference
Compiler (SCRC), Version 1.2.
SCRC Release 1.2 includes the following new features:
Points:
Detail:
support of Windows platform within the Cygwin environment
| - |
for the Windows 95/98/ME and Windows NT/2000/XP platforms, two new binary
distributions are available |
| - |
Windows support is made possible through the Cygwin project, a freely available
UNIX environment for Windows |
| - |
for more information on the Cygwin environment, please see
http://sources.redhat.com/cygwin/ |
| - |
Windows-specific thread support has been added to the simulator |
major improvement in code generator for better read- and debugability
| - |
SpecC and C++ code generation has been completely reworked
to produce shorter and cleaner code for significantly improved
readability and debugability |
| - |
code is now generated in the same order as specified in the input |
| - |
code is nicely indented according to specified nesting levels
(indentation can be adjusted with new compiler options -st, -sT) |
| - |
line wrapping is performed for long lines (new compiler option -sw) |
| - |
for "ugly" SpecC code, SCRC can now be used as a code formatter,
try for example "scrc <ugly_code> -sc2sc -sl -o <nice_code>" |
improved ANSI C++ compatibility of source code
| - |
SCRC source code is now much more ANSI C++ compliant, many 'gcc'-specific
features have been eliminated |
| - |
classes 'bit' and 'longlong' have been completely reworked to avoid ambiguities
in C++ overloading resolution |
| - |
default arguments for function parameters are now only specified at the function
declarations as required by ANSI |
| - |
SCRC now compiles fine with gcc options "-ansi -pedantic" (however,
optimization -O2 cannot be used with gcc 3.0.x because of bugs in the GNU compiler) |
improved semantic checking in compiler frontend
| - |
port accesses by statements such as 'notify' and 'wait' are now semantically
checked |
| - |
initialization of 'char[]' variables by string constants now is checked |
several (serious) bug fixes
| - |
unused ports of array-type now create correct C++ code |
| - |
shifting and concatenation of bitvectors now work correctly |
| - |
piped bitvectors are now correctly initialized |
| - |
function ubit2str() now works correctly for bases other than 2 |
| - |
empty source files are now accepted as valid input |
many minor fixes and improvements
As usual, the SCRC source and binary packages can be downloaded
freely from the download section on our web page, at:
http://www.cecs.uci.edu/~specc/reference/
|
 |