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/24931] [4.0/4.1/4.2 Regression] uninitialized structure member after assignment



------- Comment #4 from rth at gcc dot gnu dot org  2005-11-21 00:56 -------
Subject: Bug 24931

Author: rth
Date: Mon Nov 21 00:55:57 2005
New Revision: 107272

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107272
Log:
        PR 24931
        * tree-sra.c (struct sra_elt): Add all_no_warning.
        (struct sra_walk_fns) <use>: Add use_all argument.
        (sra_walk_expr): Pass it.
        (sra_walk_modify_expr): Likewise.
        (scalarize_ldst): Likewise.
        (scan_use): Update for new argument.
        (mark_no_warning): New.
        (scalarize_use): Use it.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/uninit-14.c
      - copied unchanged from r107271, trunk/gcc/testsuite/gcc.dg/uninit-14.c
Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/tree-sra.c


-- 


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


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