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]
Other format: [Raw text]

Re: [tree-ssa] CCP fixes


On Tue, Feb 18, 2003 at 01:05:56PM -0700, law@redhat.com wrote:
> They fail because gimple doesn't allow arbitrary complex expressions
> to appear as call arguments.  You can have simple constants and variables.
> Something like PLUS_EXPR ... is not allowed.

A plus of two constants should also be considered a constant,
for the purposes of GIMPLE.

In rtl we have (const (plus (symbol_ref) (const_int))) to 
record this, but nothing similar in trees.


r~


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