PR target/61026
	* config/sh/sh.c: Include stdlib headers before everything else.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210028 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-03  Dominique d'Humieres <dominiq@lps.ens.fr>

	PR fortran/61025
	* gfortran.dg/coarray_lib_this_image_1.f90: Adjust the dg-final
	regexps for -m32.
	* gfortran.dg/coarray_lib_this_image_2.f90: Likewise.
	* gfortran.dg/coarray_poly_7.f90: Likewise.
	* gfortran.dg/coarray_poly_8.f90: Likewise.
	* gfortran.dg/coarray_poly_9.f90: Likewise.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210031 138bc75d-0d04-0410-961f-82ee72b054a4
	* config/sh/sh.h (ROUND_ADVANCE): Delete macro.
	(ROUND_REG, PASS_IN_REG_P): Move and rename macros to ...
	* config/sh/sh.c (sh_round_reg, sh_pass_in_reg_p): ... these new
	functions.
	(sh_arg_partial_bytes, sh_function_arg, sh_function_arg_advance,
	sh_setup_incoming_varargs): Replace usage of PASS_IN_REG_P with
	sh_pass_in_reg_p.
	Replace usage of ROUND_REG with sh_round_reg.
	Use CEIL instead of ROUND_ADVANCE.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210032 138bc75d-0d04-0410-961f-82ee72b054a4