[LLVMdev] Is this a bug in clang?

Dustin Laurence dllaurence at dslextreme.com
Wed Apr 20 06:35:19 PDT 2011


On 04/19/2011 10:50 PM, John Regehr wrote:

> The compiler is perfectly within its rights to send a rude email to your
> department chair if you compile that code.

Wouldn't it technically be only within its rights to compile code that 
sends the rude email when executed, but not send the email itself?  Or 
are the undefined results of compilation not confined to the contents of 
the executable file?

Dustin, thinking the world would be a more interesting place if compiler
         writers actually produced such compilers



More information about the llvm-dev mailing list