This is the mail archive of the gcc-prs@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: c/10339


The following reply was made to PR optimization/10339; it has been noted by GNATS.

From: Eric Botcazou <ebotcazou at libertysurf dot fr>
To: Wolfgang Bangerth <bangerth at ices dot utexas dot edu>
Cc: gcc-gnats at gcc dot gnu dot org
Subject: Re: c/10339
Date: Mon, 7 Apr 2003 21:17:51 +0200

 > You can see the problem by looking at the assembler output when using -O:
 > it calls memcmp with an argument 4 in %o2 (the "mov 4, %o2" happens _after_
 > the call, but I think the instruction after the call is something like a
 > delay slot, so %o2 will be set at the time we get into memcmp).
 
 Yep, the insn has been put in a delay slot.
 
 > PS: Again, my interest is just to know whether this is a regression also
 > on 3.3 and mainline, but if you should want to fix it then...
 
 Does the same problem (if there is a problem) not happen on x86 too?
 
 -- 
 Eric Botcazou


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