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 middle-end/53844] [4.6/4.7 Regression] GCC generates suboptimal code for unused members of classes in some cases on multiple targets.


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

--- Comment #12 from Richard Biener <rguenth at gcc dot gnu.org> 2013-02-04 12:04:42 UTC ---
Author: rguenth
Date: Mon Feb  4 12:04:35 2013
New Revision: 195708

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195708
Log:
2013-02-04  Richard Biener  <rguenther@suse.de>

    Backport from mainline
    2012-07-04  Richard Guenther  <rguenther@suse.de>

    PR tree-optimization/53844
    * tree-ssa-dse.c (dse_possible_dead_store_p): Properly handle
    the loop virtual PHI.

    * g++.dg/tree-ssa/pr53844.C: New testcase.

    2012-12-13  Richard Biener  <rguenther@suse.de>

    PR lto/55660
    * tree-streamer.c (record_common_node): Check that we are not
    recursively pre-loading nodes we want to skip.  Handle
    char_type_node appearing as part of va_list_type_node.

    * gcc.dg/lto/pr55660_0.c: New testcase.
    * gcc.dg/lto/pr55660_1.c: Likewise.

2013-02-04  Richard Biener  <rguenther@suse.de>

    PR middle-end/55890
    * gimple.h (gimple_call_builtin_class_p): New function.
    * gimple.c (validate_call): New function.
    (gimple_call_builtin_class_p): Likewise.
    * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
    Use gimple_call_builtin_class_p.
    (find_func_clobbers): Likewise.
    * tree-ssa-strlen.c (adjust_last_stmt): Likewise.
    (strlen_optimize_stmt): Likewise.

    * gcc.dg/torture/pr55890-1.c: New testcase.
    * gcc.dg/torture/pr55890-2.c: Likewise.

Added:
    branches/gcc-4_7-branch/gcc/testsuite/g++.dg/tree-ssa/pr53844.C
    branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/lto/pr55660_0.c
    branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/lto/pr55660_1.c
    branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/torture/pr55890-1.c
    branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/torture/pr55890-2.c
Modified:
    branches/gcc-4_7-branch/gcc/ChangeLog
    branches/gcc-4_7-branch/gcc/gimple.c
    branches/gcc-4_7-branch/gcc/gimple.h
    branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_7-branch/gcc/tree-ssa-dse.c
    branches/gcc-4_7-branch/gcc/tree-ssa-strlen.c
    branches/gcc-4_7-branch/gcc/tree-ssa-structalias.c
    branches/gcc-4_7-branch/gcc/tree-streamer.c


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