Mercurial > projects > ldc
diff gen/linker.cpp @ 1171:461a85f0db31
Change meaning of optimization levels: -O0 now means 'no optimization' like with
other compilers.
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Sun, 29 Mar 2009 15:51:14 +0200 |
parents | e40c65bd8c5d |
children | 847b767b2d0b |
line wrap: on
line diff
--- a/gen/linker.cpp Sun Mar 29 15:46:55 2009 +0200 +++ b/gen/linker.cpp Sun Mar 29 15:51:14 2009 +0200 @@ -121,9 +121,9 @@ { 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");