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/56117] [4.8 Regression] ICE: in cselib_subst_to_values, at cselib.c:1853 with -O2 -fsched2-use-superblocks and __builtin_prefetch()


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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-01-28 08:51:39 UTC ---
Created attachment 29289
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29289
gcc48-pr56117.patch

Untested fix.  For MEMs, sched-deps.c is calling cselib_lookup_from_insn, but
for PREFETCH it wasn't doing that.  As this is before cselib_process_insn is
called, some REGs mentioned in the pattern might be never looked up yet at that
point.


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