[tuples][patch] Convert pass_object_sizes to tuples

Bill Maddox maddox@google.com
Tue Mar 18 18:10:00 GMT 2008


On Tue, Mar 18, 2008 at 10:57 AM, Diego Novillo <dnovillo@google.com> wrote:
 > On Tue, Mar 18, 2008 at 13:53, Bill Maddox <maddox@google.com> wrote:
 >  > On Tue, Mar 18, 2008 at 6:20 AM, Jakub Jelinek <jakub@redhat.com> wrote:
 >  >
 >  >  >  Both of these __bos calls should be folded to 64.
 >  >  >  compute_builtin_object_size is called by builtins.c folding, so the
 >  >  >  arguments aren't necessarily GIMPLE, can be GENERIC.
 >  >
 >  >  Hmm.  This could be a problem.  The patch handles calls only when
 >  >  presented as GIMPLE_CALL statements.
 >
 >  And in fact we should fail much earlier because the gimple builders
 >  will not allow a CALL_EXPR in the argument list for a GIMPLE_CALL.

 If we can call compute_builtin_object size on GENERIC, however, it looks
 like I'll have to put the handler for CALL_EXPR back in.  Likewise for
 POINTER_PLUS_EXPR.

 --Bill



More information about the Gcc-patches mailing list