This is the mail archive of the gcc-patches@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]

Re: Reload bug



  In message <vyzemvnie5r.fsf@issan.informatik.uni-dortmund.de>you write:
  > |> It's not that I think your fix is incorrect, however I'd like to have
  > |> a test case to get a better idea of what is going wrong.
  > 
  > The problem was that there was an insn of the form
  > 
  > (set (zero_extract ...) (const_int 0))
  > 
  > and find_reg_equiv was called with goal == (const_int 0).  true_regnum
  > returns -1 for zero_extract, thus the value of
  > reg_overlap_mentioned_for_reload_p doesn't matter anyway.
Also note that whatever testcase you have will not abort with the
current compiler since it knows (const_int 0) will not overlap with
anything.

jeff


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