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 rtl-optimization/50205] [4.6/4.7 Regression] ICE: in code_motion_path_driver, at sel-sched.c:6581 with -fselective-scheduling2 and custom flags


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

--- Comment #2 from Alexander Monakov <amonakov at gcc dot gnu.org> 2011-10-18 12:36:20 UTC ---
Author: amonakov
Date: Tue Oct 18 12:36:16 2011
New Revision: 180135

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180135
Log:
    PR rtl-optimization/50205
    * sel-sched.c (count_occurrences_1): Simplify on the assumption that
    p->x is a register.  Forbid substitution when the same register is
    found in a different mode.
    (count_occurrences_equiv): Assert that 'what' is a register.

    * gcc.dg/pr50205.c: New.

Added:
    trunk/gcc/testsuite/gcc.dg/pr50205.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/sel-sched.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]