Separate -O and -g
This commit is contained in:
6
main.cpp
6
main.cpp
@@ -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->enableFuzzTest) {
|
||||||
if (g->fuzzTestSeed == -1) {
|
if (g->fuzzTestSeed == -1) {
|
||||||
#ifdef ISPC_IS_WINDOWS
|
#ifdef ISPC_IS_WINDOWS
|
||||||
|
|||||||
Reference in New Issue
Block a user