This is the mail archive of the gcc@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: Regression for trunk on i686-pc-linux-gnu


On Tue, 2004-07-27 at 16:26, Richard Kenner wrote:

>     ADDR_EXPR <INDIRECT_REF <...>>  is not GIMPLE.  Or has the grammar
>     changed?
> 
> Well that routine *originally* was like that.  I accidentally *removed*
> the INDIRECT_REF when I changed to using handled_component_p.  And that
> removal was the cause of this bug.
> 
Wrong.  You added INDIRECT_REF with

2004-06-21  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
[ ... ]
        * tree-gimple.c (is_gimple_addr_expr_arg): Add ARRAY_RANGE_REF
        and INDIRECT_REF.
[ ... ]

IMO, that change is incorrect and should be reverted.


> So whatever the grammer seems to say, this routine clearly need to allow
> INDIRECT_REF!
>
No.  Taking the address of an pointer dereference makes no sense.  Why
do you think it does?


Diego.


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