[LLVMdev] Illegal Optimization(?): Combining empty type instances

Evan Jones ejones at uwaterloo.ca
Tue Nov 1 16:40:16 PST 2005


On Nov 1, 2005, at 19:01, Chris Lattner wrote:
> Uniqueness is something guaranteed by C++, but not by C.

Ah! I knew that someone out there would have memorized the standards on 
this list, and llvm-g++ does the right thing. Never mind!

> GCC may well be doing what you expect in this case, but that may just 
> be a side effect of it not optimizing as aggressively.

That must be it.

Evan Jones

--
Evan Jones
http://evanjones.ca/




More information about the llvm-dev mailing list