This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: call_expr fold-const death
- To: Richard Henderson <rth at cygnus dot com>
- Subject: Re: call_expr fold-const death
- From: Jeffrey A Law <law at upchuck dot cygnus dot com>
- Date: Thu, 08 Apr 1999 01:25:40 -0600
- cc: egcs-patches at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
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