[LLVMdev] Call to address 0 gets removed

Sylvere Teissier st at invia.fr
Wed Jun 10 05:37:56 PDT 2009


> Calling 0 is undefined behavior; the optimizer is within its rights to  
> remove this.  Why do you want to call 0?

For example, on embedded platforms you call 0 to do a soft reset.

> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list