------- Comment #31 from rguenth at gcc dot gnu dot org  2010-09-20 08:34 
-------
Subject: Bug 45623

Author: rguenth
Date: Mon Sep 20 08:33:46 2010
New Revision: 164430

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164430
Log:
2010-09-20  Richard Guenther  <rguent...@suse.de>

        PR tree-optimization/45623
        * tree-ssa-structalias.c (get_constraint_for_ptr_offset): Adjust.
        (get_constraint_for_component_ref): If computing a constraint
        for the rhs handle type punning through unions.
        (get_constraint_for_address_of): Adjust.
        (get_constraint_for_1): Likewise.
        (get_constraint_for): Likewise.
        (get_constraint_for_rhs): New function.
        (do_structure_copy): Adjust.
        (make_constraint_to): Likewise.
        (handle_const_call): Likewise.
        (find_func_aliases): Likewise.

        * gcc.dg/torture/pr45623.c: New testcase.

Added:
    branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/torture/pr45623.c
Modified:
    branches/gcc-4_5-branch/gcc/ChangeLog
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_5-branch/gcc/tree-ssa-structalias.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45623

Reply via email to