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: [PATCH,H8300] Fix ICE due to insv and extzv patterns


Naveen H.S. wrote:
insv/extv expanders in H8300 allow memory operands only for H8SX. When
a reg/subreg is used for H8SX in these expanders, it generates ICE in
(gen_rtx_SUBREG).

Hence only memory operands are allowed for H8SX in the patch. The present modification fixes around 500 regression failures(ICE) in C testsuite and around 50 regression failures(ICE) in C++ testsuite.
But it still sounds like you're just papering over the problem. There's nothing which would prevent the same problem from occurring with the original H8 port, or more specifically you haven't told me why this scenario can't happen on the original H8 port.

Furthermore, you haven't described the conditions leading to the abort in enough detail for me to understand precisely why you're getting an ICE. So I can't even start to guess what an alternative solution might be.

Jeff


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