2007-12-13 Andrew Pinski <pinskia@gmail.com>
Rask Ingemann Lambertsen <rask@sygehus.dk>
PR target/8835
* config/mcore/mcore.c (mcore_function_value): Call promote_mode
instead of PROMOTE_MODE.
testsuite/
2007-12-13 Kazu Hirata <kazu@codesourcery.com>
PR target/8835
* gcc.dg/pr8835-1.c: New.
From-SVN: r131125
+2007-12-21 Andrew Pinski <pinskia@gmail.com>
+ Rask Ingemann Lambertsen <rask@sygehus.dk>
+
+ PR target/8835
+ * config/mcore/mcore.c (mcore_function_value): Call promote_mode
+ instead of PROMOTE_MODE.
+
2007-12-21 Sebastian Pop <sebastian.pop@amd.com>
* lambda-code.c (lambda_loopnest_to_gcc_loopnest): Fix typo.
mode = TYPE_MODE (valtype);
- PROMOTE_MODE (mode, unsigned_p, NULL);
+ mode = promote_mode (valtype, mode, &unsigned_p, 1);
return handle_structs_in_regs (mode, valtype, FIRST_RET_REG);
}
+2007-12-21 Kazu Hirata <kazu@codesourcery.com>
+
+ PR target/8835
+ * gcc.dg/pr8835-1.c: New.
+
2007-12-21 Paul Thomas <pault@gcc.gnu.org>
PR fortran/34438
--- /dev/null
+/* { dg-do compile } */
+
+struct s {
+ char c;
+};
+
+struct s
+foo (void)
+{
+ struct s s = { 0 };
+ return s;
+}