[multiple changes]

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
parent b7b184a8
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.
......@@ -2729,7 +2729,7 @@ mcore_function_value (const_tree valtype, const_tree func ATTRIBUTE_UNUSED)
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
/* { dg-do compile } */
struct s {
char c;
};
struct s
foo (void)
{
struct s s = { 0 };
return s;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment