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/46137] [4.6 Regression] g++.dg/torture/pr45877.C FAILs with -fno-tree-dce


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

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-10-22 19:03:43 UTC ---
Author: rguenth
Date: Fri Oct 22 19:03:39 2010
New Revision: 165852

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165852
Log:
2010-10-22  Richard Guenther  <rguenther@suse.de>

    PR middle-end/46137
    * gimple-fold.c (gimplify_and_update_call_from_tree): Properly
    remove the virtual operands if they are not needed.

    * c-c++-common/torture/pr46137.c: New testcase.

Added:
    trunk/gcc/testsuite/c-c++-common/torture/pr46137.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimple-fold.c
    trunk/gcc/testsuite/ChangeLog


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