2013-05-02  Joern Rennecke <joern.rennecke@embecosm.com>

	* reload.c (find_valid_class): Allow classes that do not include
	FIRST_PSEUDO_REGISTER - 1.

Conflicts:
	gcc/ChangeLog.AVR
gcc:
        * config/avr/avr-stdint.h (INT16_TYPE): Change default to "int".
        (UINT16_TYPE): Change default to "unsigned int".
        * config/avr/avr.h (WCHAR_TYPE, WINT_TYPE): Define to "int".

Conflicts:
	gcc/ChangeLog.AVR
	gcc/testsuite/ChangeLog.AVR
        * config/avr/avr.opt (mfract-convert-truncate): New option.
        * config/avr/avr.c (avr_out_fract): Unless TARGET_FRACT_CONV_TRUNC
        is set, round negative fractional integers according to n1169
        when converting to integer types.

Conflicts:
	gcc/ChangeLog.AVR
	gcc/config/avr/avr.opt
        * gcc.dg/ipa/ipa-pta-14.c (scan-ipa-dump): Don't expect NULL in
        foo.result set.
        * gcc.dg/tree-ssa/pta-escape-1.c (scan-tree-dump): Don't expect NULL
        in ESCAPED set.
        * gcc.dg/tree-ssa/pta-escape-2.c: Likewise.
        * gcc.dg/tree-ssa/pta-escape-3.c: Likewise.

Conflicts:
	gcc/testsuite/ChangeLog.AVR