[LLVMdev] Is this a bug in clang?

Ahmed Charles ahmedcharles at gmail.com
Wed Apr 20 10:07:28 PDT 2011

Technically, it could've sent the mail before you even thought about
writing it. Undefined is undefined, there are no requirements. From:
Dustin Laurence
Sent: Wednesday, April 20, 2011 6:50 AM
To: llvmdev at cs.uiuc.edu
Subject: Re: [LLVMdev] Is this a bug in clang?
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
LLVM Developers mailing list
LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu

More information about the llvm-dev mailing list