diff --git a/projects/clr/rocclr/compiler/lib/utils/options.cpp b/projects/clr/rocclr/compiler/lib/utils/options.cpp index 217ab931e0..14e2eb1d72 100644 --- a/projects/clr/rocclr/compiler/lib/utils/options.cpp +++ b/projects/clr/rocclr/compiler/lib/utils/options.cpp @@ -157,7 +157,7 @@ setAliasOptionVariable (int OptDescTableIx, Options& Opts, od = &OptDescTable[OID_OptLevel]; assert ((IValue > 0) && "Internal Error: -cl-opt-disable is present, but with wrong value"); - if (!setOptionVariable (od, oVars, (int64_t)0, NULL)) { + if (!setOptionVariable (od, oVars, (int64_t)amd::option::OPT_O0, NULL)) { return false; } return true;