Merge pull request #563 from jbrodman/debugopt

Separate -O and -g
This commit is contained in:
Dmitry Babokin
2013-08-15 13:10:13 -07:00

View File

@@ -571,12 +571,6 @@ int main(int Argc, char *Argv[]) {
}
}
// If the user specified -g, then the default optimization level is 0.
// If -g wasn't specified, the default optimization level is 1 (full
// optimization).
if (debugSet && !optSet)
g->opt.level = 0;
if (g->enableFuzzTest) {
if (g->fuzzTestSeed == -1) {
#ifdef ISPC_IS_WINDOWS