[patch] gcc/reload1.c

Alan Lehotsky lehotsky@tiac.net
Wed May 17 17:46:00 GMT 2000


At 5:24 PM -0700 5/17/00, Richard Henderson wrote:
>On Wed, May 17, 2000 at 11:26:44AM -0400, Kazu Hirata wrote:
>>  After chasing the bug, I found that, in reload1.c, when eliminating a frame
>  > pointer.

...

>This isn't correct.  The problem is actaully in the h8 machine
>description -- it has violated the rule that all alternatives
>must be represented in the same insn pattern.



Is that "rule" specified in the doc explicitly anywhere?

I have patterns in the SHARC DSP port that are "selected"
by the single conditional-expression, e.g., something like

	(define_insn
  	 [RTL]
	"am_I_true (...)"
	"insn-code"
	)

	(define_insn
	[RTL]
	"!am_I_true (...)"
	"insn-code"
	)

Is this okay?
-- 
------------------------------------------------------------------------

		    Quality Software Management
		http://www.tiac.net/users/lehotsky
			lehotsky@tiac.net
			(978)287-0435 Voice
			(978)808-6836 Cellular
			(978)287-0436 Fax/Data

	Software Process Improvement and Management Consulting
	     Language Design and Compiler Implementation


More information about the Gcc-patches mailing list