[LLVMbugs] [Bug 14364] New: Remove const_cast hack from PPCRegisterInfo::hasReservedSpillSlot
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Nov 16 11:47:24 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=14364
Bug #: 14364
Summary: Remove const_cast hack from
PPCRegisterInfo::hasReservedSpillSlot
Product: libraries
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Keywords: code-cleanup
Severity: enhancement
Priority: P
Component: Backend: PowerPC
AssignedTo: unassignedbugs at nondot.org
ReportedBy: benny.kra at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
PPCRegisterInfo::hasReservedSpillSlot contains this line:
MachineFrameInfo *MFI = (const_cast<MachineFunction &>(MF)).getFrameInfo();
it shouldn't modify the frame info in a const function.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list