[LLVMdev] Compile error in PreSelection.cpp

Casey Carter ccarter at cs.uiuc.edu
Sun Oct 27 09:57:01 PST 2002


PreSelection.cpp uses the form "++(ConstantExpr*)->op_begin()" in a 
couple of places: gcc2 considers this to be an illegal use of a constant 
reference (the temporary iterator) as an lvalue.  Fix is to use 
"(ConstantExpr*)->op_begin() + 1" instead.

-- 
Casey Carter
Casey at Carter.net
ccarter at uiuc.edu
AIM: cartec69

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20021027/9e8c32d0/attachment.ksh>


More information about the llvm-dev mailing list