Mercurial > projects > ldc
view ldc.conf.in @ 1318:bac742d3a72d
Make sure this testcase keeps crashing with -O3.
Recent optimization improvements made LLVM realize the store-to-null was
unavoidable, so it deleted all of main() and replaced it with 'unreachable'.
Because the body of main() no longer even contained a return instruction,
calling it caused random code to be ran instead. This happened to be the code
that links in the ModuleInfo on my machine, which then returned "successfully".
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Sat, 09 May 2009 00:55:47 +0200 |
parents | 2cd6199488f6 |
children | b6e819244062 |
line wrap: on
line source
// This configuration file uses libconfig. // See http://www.hyperrealm.com/libconfig/ for syntax details. // The default group is required default: { // 'switches' holds array of string that are appends to the command line // arguments before they are parsed. switches = [ "-I@RUNTIME_DIR@", "-I@RUNTIME_DIR@/lib/common", "-L-L@PROJECT_BINARY_DIR@/../lib", "-d-version=Tango", "-defaultlib=@RUNTIME_AIO@", "-debuglib=@RUNTIME_AIO@" ]; };