mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-02 16:11:08 +03:00
Change meaning of optimization levels: -O0 now means 'no optimization' like with
other compilers.
This commit is contained in:
parent
e129494812
commit
257d305032
2 changed files with 9 additions and 14 deletions
|
@ -121,9 +121,9 @@ int linkExecutable(const char* argv0)
|
|||
{
|
||||
case 0:
|
||||
args.push_back("-disable-opt");
|
||||
args.push_back("-globaldce");
|
||||
break;
|
||||
case 1:
|
||||
args.push_back("-globaldce");
|
||||
args.push_back("-disable-opt");
|
||||
args.push_back("-globaldce");
|
||||
args.push_back("-mem2reg");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue