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]

problem with emit-rtl.c change


Hello,

The change to emit-rtl.c:

Revision 1.179 Mon Jun 4 18:04:35 2001 UTC (2 days, 18 hours ago) by hubicka 
Branch: MAIN 

        * emit-rtl.c (constant_subword): Deprecate; remove most of code
        and use simplify_gen_subreg.

gives problems on the c4x target. The new code dumps core in gen_lowpart_common
at line 971.
The input rtx is:
(const_double:QF (mem/u/f:QF (symbol_ref/u:QI ("*LC0")) 3) 0 [00h] 389833038 [0173c614eh])

The c4x target uses QF for floats and doubles. It uses HF for long double
floating point values.
The gen_lowpart_common routine can not handle this. The original code worked
just fine.

	Herman.


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