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/50890] [4.7 Regression] ICE in fold_convert_loc, at fold-const.c:1894


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

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-11-02 08:46:12 UTC ---
Author: rguenth
Date: Wed Nov  2 08:46:08 2011
New Revision: 180763

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

    PR tree-optimization/50890
    * gimple.h (gimple_fold_call): Remove.
    * gimple-fold.c (fold_stmt_1): Move all call related code to ...
    (gimple_fold_call): ... here.  Make static.  Update the
    cannot-inline flag on direct calls.
    * ipa-inline.c (early_inliner): Copy the cannot-inline flag
    from the statements to the edges.

    * gcc.dg/torture/pr50890.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr50890.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimple-fold.c
    trunk/gcc/gimple.h
    trunk/gcc/ipa-inline.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]