zahangircse / copperhead

Automatically exported from code.google.com/p/copperhead
Apache License 2.0
0 stars 0 forks source link

Superfluous C++ compilation #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The Copperhead compiler internally renames identifiers during compilation, 
sometimes using counters which increment as the program is compiled.  These 
counters aren't reset at the beginning of every compilation, which means they 
will have different values depending on the order in which Copperhead functions 
are called from Python.  This makes the resulting C++ code superficially 
different, which defeats binary caching and results in unnecessary invocations 
of the C++ compiler.

Original issue reported on code.google.com by bryan.ca...@gmail.com on 6 Jul 2010 at 4:20

GoogleCodeExporter commented 8 years ago
This issue also prevents one of the unit tests from working, since the result 
of single assignment conversion depends on the previous conversions which may 
or may not have been perfomed.

Original comment by bryan.ca...@gmail.com on 17 Sep 2010 at 6:24