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: x86 PIC regressions


On Fri, Sep 18, 1998 at 06:30:57PM +1000, Geoffrey KEATING wrote:
> I draw your attention to
> 
> extern int foo;
> int something() { 
>   asm ("" : "r"(&foo));
> }
> 
> which causes reload to pass (mem (symbol_ref "foo")) to mov*.

Is there any particular reason we don't run validize this
during initial rtl generation?


r~


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