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  <rguent...@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

Reply via email to