Hi all,

I found that some code changes OPERATOR of a whirl node without reset its 
map_id. This causes problems if the new OPERATOR belongs to a different mapcat 
than the old OPERATOR.

I attached a test case, compile the test case using "opencc -O3 -c min.ii" 
causes assertion fault:

### Assertion failure at line 875 of 
/home/chenr/workspace/open64_backup_build/osprey/../../open64_backup/osprey/be/opt/opt_verify.cxx:
### Compiler Error in file min.ii during Global Optimization -- Verify 
Live-Range phase:
### Verify_version_CR: Found no-def, but current statement is not entry chi

I attached a patch to fix this problem. Pls help to review the changes.

Regards,
Roger

Attachment: 1.diff
Description: 1.diff

Attachment: min.ii
Description: min.ii

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to