[cfe-dev] Crash in codegen using result of assignment from boolean as boolean

Eli Friedman eli.friedman at gmail.com
Fri Jan 25 22:07:02 PST 2008


Simple testcase:
int ss;
if ((ss = ss && ss)) {}

crashes in codegen trying to erase the value stored into ss.

Patch attached.

-Eli
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: boolassignreusefix.txt
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20080125/94d60166/attachment.txt>


More information about the cfe-dev mailing list