[LLVMdev] strict aliasing warning in x86 land

Chris Lattner sabre at nondot.org
Sun Dec 16 12:27:57 PST 2007


On Dec 15, 2007, at 12:26 PM, Mike Stump wrote:

> On Dec 15, 2007, at 2:15 AM, Duncan Sands wrote:
>> Can you please paste the line (line number 5305 isn't in
>> LowerTRAMPOLINE
>> in my tree...).
>
> You have to run svn update for it to have that line...  :-)
>
>     unsigned char N86Reg  =
> ((X86RegisterInfo&)RegInfo).getX86RegNum(NestReg);
>
> I've not thought long or hard about the validity of the warning...
> I'm hoping that it is accurate.  Let me know if you think otherwise.

Yep, clearly bogus.  Fixed:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20071210/056376.html

Thanks,

-Chris



More information about the llvm-dev mailing list