[Bug target/8835] [mcore-elf] bootstrap ICE at expr.c:2771
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Oct 1 20:57:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-01 20:57 -------
This patch fixes the ICE for me, can you try to see if fixes for you and then submit it:
Index: config/mcore/mcore.c
===============================================================
====
RCS file: /cvs/gcc/gcc/gcc/config/mcore/mcore.c,v
retrieving revision 1.74
diff -u -p -r1.74 mcore.c
--- config/mcore/mcore.c 18 Sep 2004 19:19:36 -0000 1.74
+++ config/mcore/mcore.c 1 Oct 2004 20:57:14 -0000
@@ -3064,7 +3064,7 @@ mcore_function_value (tree valtype, tree
mode = TYPE_MODE (valtype);
- PROMOTE_MODE (mode, unsigned_p, NULL);
+ promote_mode (valtype, mode, &unsigned_p, 0);
return handle_structs_in_regs (mode, valtype, FIRST_RET_REG);
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8835
More information about the Gcc-bugs
mailing list