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] Treat ASM_EXPR operands as real operands [patch]


On 22 Jul 2003 10:38:07 -0400, Diego Novillo <dnovillo@redhat.com> wrote:

> Apparently the issue is with tree-ssa copy propagating T.1233 into
> ar_ccv, which is declared with
>
> register long unsigned int ar_ccv __asm__("ar.ccv") = old;
>
> In the course of copy propagation, variable 'old' ended up being
> assigned 'T.1233', which made it into the asm operand.  Perhaps we
> shouldn't optimize variables with __asm__ declarations?

Sounds right to me.

Jason


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