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: call_expr fold-const death



  In message <19990406155344.A20426@cygnus.com>you write:
  > I'm not exactly sure what change caused this to show up, but
  > I found a case bootstrapping on Alpha where we would interpret
  > an rtx as a tree with disasterous results.
  > 
  > Is this the right fix, or should this have just not happened?
  > 
  > 
  > r~
  > 
  > 
  > 	* fold-const.c (fold): Don't fold CALL_EXPR_RTL.
Not enough context to know how we got to this state :-)  Certainy does not
seem like we should be looking at the CALL_EXPR_RTL slot.  Is there a better
way to identify it other than by knowing that op 2 of a CALL_EXPR is a hunk
of RTL.  Maybe by looking at the format string?

jeff


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