This is the mail archive of the gcc-bugs@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]

[Bug tree-optimization/15089] [3.4/3.5 Regression] [tree-ssa] local register variable with a specified register is bad


------- Additional Comments From ian at wasabisystems dot com  2004-06-23 17:49 -------
Subject: Re:  [3.4/3.5 Regression] [tree-ssa] local register variable with a specified register is bad

"mmitchel at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:

> When __l is used in the asm, the writer of the bugzilla report expects
> to see register "r0".  However, the value happens to be hanging around
> in a different register so GCC uses that other register instead of
> "r0".  Similarly for uses of __i.   The behavior of the compiler is
> precisely what I would expect."

But what about this comment from RTH?
    http://gcc.gnu.org/ml/gcc/2004-05/msg00657.html

He is describing what appears to me to be an undocumented feature, but
one which he says is important.

Isn't this test case pretty much the same sort of thing?
    http://gcc.gnu.org/bugzilla/attachment.cgi?id=6147&action=view

Ian


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15089


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