gcc/
commit4e1f1d716e492d55c4a581c2c6f10ab469ab0a90
authoryroux <yroux@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Sep 2014 07:23:01 +0000 (3 07:23 +0000)
committeryroux <yroux@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Sep 2014 07:23:01 +0000 (3 07:23 +0000)
treea5b0381142330b5bbe571332e5aaea4602e938f4
parent1163e9958c3e2f5b281bbbc81205ea519fe7c6a6
gcc/
2014-09-03  Yvan Roux  <yvan.roux@linaro.org>

Backport from trunk r214526.
2014-08-26  Joseph Myers  <joseph@codesourcery.com>

PR target/60606
PR target/61330
* varasm.c (make_decl_rtl): Clear DECL_ASSEMBLER_NAME and
DECL_HARD_REGISTER and return for invalid register specifications.
* cfgexpand.c (expand_one_var): If expand_one_hard_reg_var clears
DECL_HARD_REGISTER, call expand_one_error_var.
* config/arm/arm.c (arm_hard_regno_mode_ok): Do not allow
CC_REGNUM with non-MODE_CC modes.
(arm_regno_class): Return NO_REGS for PC_REGNUM.

gcc/testsuite/
2014-09-03  Yvan Roux  <yvan.roux@linaro.org>

Backport from trunk r214526.
2014-08-26  Joseph Myers  <joseph@codesourcery.com>

PR target/60606
PR target/61330
* gcc.dg/torture/pr60606-1.c, gcc.target/arm/pr60606-2.c,
gcc.target/arm/pr60606-3.c, gcc.target/arm/pr60606-4.c: New tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro@214847 138bc75d-0d04-0410-961f-82ee72b054a4
gcc-4_9-branch/gcc/ChangeLog.linaro
gcc-4_9-branch/gcc/cfgexpand.c
gcc-4_9-branch/gcc/config/arm/arm.c
gcc-4_9-branch/gcc/testsuite/ChangeLog.linaro
gcc-4_9-branch/gcc/testsuite/gcc.dg/torture/pr60606-1.c [new file with mode: 0644]
gcc-4_9-branch/gcc/testsuite/gcc.target/arm/pr60606-2.c [new file with mode: 0644]
gcc-4_9-branch/gcc/testsuite/gcc.target/arm/pr60606-3.c [new file with mode: 0644]
gcc-4_9-branch/gcc/testsuite/gcc.target/arm/pr60606-4.c [new file with mode: 0644]
gcc-4_9-branch/gcc/varasm.c