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: Put optimization/7871 patches on gcc 3.3 and 3.4 branches


Ian Lance Taylor wrote:

I propose putting the patch for optimization/7871 onto the 3.3 and 3.4
branches.  I've confirmed that the x86 and m68k test cases in that PR
are currently broken on both branches, and that this patch fixes those
test cases on both branches.  I believe that this patch is reasonably
safe, as it only affects global register variables.

What is the difference in semantics between SET and CLOBBER in this context? Why does your patch help?


I'm also not sure using SET is safe. On an architecture like IA64 (with NAT bits), does using a SET cause the compiler to think that the register has a well-defined value as opposed to a NAT value?

--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com


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