------- Comment #3 from rguenth at gcc dot gnu dot org 2007-11-20 21:27 ------- One bug is in gimplification which uses signed comparison to detect and discard empty ranges. But then expand breaks it again for the same reason. And then for a different reason, that it segfaults on
Program received signal SIGSEGV, Segmentation fault. 0x0848381b in balance_case_nodes (head=0xbfcb4454, parent=0x0) at /home/richard/src/trunk/gcc/stmt.c:2713 2713 cost += COST_TABLE (TREE_INT_CST_LOW (np->high)); because np->high is 0x8ac7230489e7ffff and obviously the cost_table is not that large. Another case of the unsigned failure. And that's enough to fix this PR. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED Last reconfirmed|2007-11-20 15:36:30 |2007-11-20 21:27:11 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34154