This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/26255] [4.0 regression] internal compiler error: in reload_cse_simplify_operands, at postreload.c:391
- From: "danglin at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Feb 2006 19:08:56 -0000
- Subject: [Bug target/26255] [4.0 regression] internal compiler error: in reload_cse_simplify_operands, at postreload.c:391
- References: <bug-26255-581@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from danglin at gcc dot gnu dot org 2006-02-13 19:08 -------
Regarding comment #2, while it's possible that removing
the SECONDARY_MEMORY_NEEDED_RTX define has had an effect,
we have never had support in pa.md to load an HImode value
into a floating-point register. The other changes in the
patches mentioned don't affect HImode.
It seems as reload isn't respecting HARD_REGNO_MODE_OK
(see VALID_FP_MODE_P in pa32-regs.h). The reason for
excluding HImode (and QImode) values from the FP
registers is you can't do anything with them, and copying
to/from the general registers has to be done thorugh memory.
Thus, it's better to use the stack.
--
danglin at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |danglin at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26255