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: RFA: Fix PR rtl-optimization/20769


On Fri, Apr 08, 2005 at 08:01:08PM +0100, Joern RENNECKE wrote:
> + 	      else if (current_function_has_nonlocal_label
> + 		       && GET_CODE (PATTERN (insn)) == ASM_INPUT
> + 		       && *XSTR (PATTERN (insn), 0) == 0)

I don't think you should special case an empty string here.  

ASM_INPUTs were supposed to be stop-the-world sort of things
even without current_function_has_nonlocal_label; that's why
I'm reusing them after all.

Does this code even build for i686?  It certainly doesn't run.
Reporting builds for anything other than sh here is probably
pointless.

Ok with the XSTR test removed.


r~


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