This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/45623] [4.5/4.6 Regression] GCC 4.5.[01] breaks our ffi on Linux64. ABI break?



------- Comment #26 from rguenth at gcc dot gnu dot org  2010-09-16 11:06 -------
Subject: Bug 45623

Author: rguenth
Date: Thu Sep 16 11:06:25 2010
New Revision: 164333

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164333
Log:
2010-09-16  Richard Guenther  <rguenther@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.
        (process_ipa_clobber): Likewise.
        (create_variable_info_for): Likewise.

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

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr45623.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-structalias.c


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]