This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Could IWMMXT_GR_REGS be contained by ALL_REGS in ARM back end?
- From: Xinyu Qi <xyqi at marvell dot com>
- To: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Tue, 25 Dec 2012 22:22:16 -0800
- Subject: Could IWMMXT_GR_REGS be contained by ALL_REGS in ARM back end?
Hi,
Some one point out the root cause for the bug 54338 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54338
is that the IWMMXT_GR_REGS is not contained in ALL_REGS so that an assertion fail is triggered in front end.
I checked the macro REG_CLASS_CONTENTS in arm.h and confirmed it.
This ICE could be fixed if make ALL_REGS contain IWMMXT_GR_REGS.
Is there any concerns that IWMMXT_GR_REGS shouldn't be included in ALL_REGS?
Thanks,
Xinyu