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]

Re: PATCH to rs6000.md, comments?


At 20:08 16.07.98 , Franz Sirl wrote:
>At 17:32 16.07.98 , Richard Henderson wrote:
>>On Thu, Jul 16, 1998 at 02:40:17AM -0700, David S. Miller wrote:
>>>    David, one question, there are 2 or 3 constructs like the ones
>>>    below in rs6000.c, should I return 1 for CONSTANT_P_RTX in both
>>>    cases?
>>> 
>>> Yes, if it allows CONST_INT in any case then change it to allow
>>> CONSTANT_P_RTX in all cases as well.
>>
>>Well, no.  It should only match CONSTANT_P_RTX where it would
>>also match (const_int 0) or (const_int 1).
>>
>>So the non_logical_cint_operand should not match.
>
>Does this one look ok to you?

Hmm, something is wrong. Bootstrap fails with:

_varargs
__dummy
_eprintf
_bb
../../gcc/varasm.c:3264: Internal compiler error in function decode_rtx_const
make[4]: *** [libgcc2.a] Error 1
make[4]: Leaving directory `/home/trini/egcs/obj-ppc-linux/gcc'
make[3]: *** [stmp-multilib-sub] Error 2
make[3]: Leaving directory `/home/trini/egcs/obj-ppc-linux/gcc'
make[2]: *** [stmp-multilib] Error 1
make[2]: Leaving directory `/home/trini/egcs/obj-ppc-linux/gcc'
make[1]: *** [bootstrap-lean] Error 2
make[1]: Leaving directory `/home/trini/egcs/obj-ppc-linux/gcc'
make: *** [bootstrap-lean] Error 2

What did I do wrong? I followed the instructions, but now I'm stuck.

Franz.



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