[Bug tree-optimization/33870] [4.3 Regression] miscompiles sqlite

dnovillo at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Nov 8 00:02:00 GMT 2007



------- Comment #20 from dnovillo at gcc dot gnu dot org  2007-11-08 00:01 -------
Subject: Bug 33870

Author: dnovillo
Date: Thu Nov  8 00:01:38 2007
New Revision: 129976

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129976
Log:

        PR 33870
        * tree.h (struct tree_struct_field_tag): Add field in_nested_struct.
        (SFT_IN_NESTED_STRUCT): Define.
        * tree-dfa.c (dump_subvars_for): Show offset of each
        sub-var.
        * tree-flow.h (struct fieldoff): Add field in_nested_struct.
        * tree-ssa-structalias.c (struct variable_info): Likewise.
        (push_fields_onto_fieldstack): If OFFSET is positive,
        set in_nested_struct.
        (create_variable_info_for): Copy setting of
        in_nested_struct from the field offset object.
        (set_uids_in_ptset): Set SFT_IN_NESTED_STRUCT from the
        variable info object.
        * tree-ssa-operands.c (add_vars_for_offset): If VAR
        belongs to a nested structure, adjust OFFSET by
        SFT_OFFSET(VAR).

testsuite/ChangeLog

        * gcc.c-torture/execute/pr33870.x: Remove.



Removed:
    trunk/gcc/testsuite/gcc.c-torture/execute/pr33870.x
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-dfa.c
    trunk/gcc/tree-flow.h
    trunk/gcc/tree-ssa-operands.c
    trunk/gcc/tree-ssa-structalias.c
    trunk/gcc/tree.h


-- 


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



More information about the Gcc-bugs mailing list