re PR tree-optimization/33961 (gcc 4.3 causes crash valid code to crash)
authorMichael Matz <matz@suse.de>
Thu, 1 Nov 2007 03:06:38 +0000 (03:06 +0000)
committerMichael Matz <matz@gcc.gnu.org>
Thu, 1 Nov 2007 03:06:38 +0000 (03:06 +0000)
commite08f02f0bbb9691358c576baeeec19d17b943408
tree39d227c4402c32d82e1058c5b1cbbaca3c445604
parent42e2a99953cf781c937dcbb441c83faf5cc78bb3
re PR tree-optimization/33961 (gcc 4.3 causes crash valid code to crash)

        PR tree-optimization/33961
        * tree-ssa-phiopt.c (struct name_to_bb.store): New member.
        (name_to_bb_hash, name_to_bb_eq): Consider and check it.
        (add_or_mark_expr): New argument 'store', using it to search
        the hash table.
        (nt_init_block): Adjust calls to add_or_mark_expr.

        * gcc.dg/pr33961.c: New test.

From-SVN: r129817
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr33961.c [new file with mode: 0644]
gcc/tree-ssa-phiopt.c