Fix ICE when both micromips and nomicromips attributes are used.
authorRobert Suchanek <robert.suchanek@imgtec.com>
Mon, 18 May 2015 14:32:19 +0000 (14:32 +0000)
committerRobert Suchanek <rts@gcc.gnu.org>
Mon, 18 May 2015 14:32:19 +0000 (14:32 +0000)
commitfb05f2e4ddc9ae051cf205eb7eaa0e0e63cecf6c
tree5ad0f52e91ee9d4b7f00693f325152c97ccdc41c
parent7aeb92b4724c0dc16c5322241f8309ddfa3da89f
Fix ICE when both micromips and nomicromips attributes are used.

gcc/ChangeLog:

2015-05-18  Robert Suchanek  <robert.suchanek@imgtec.com>

* config/mips/mips.c (micromips_globals): New variable.
(mips_set_compression_mode): Save and reinitialize target-dependent
state for microMIPS.

gcc/testsuite/ChangeLog:

2015-05-18  Robert Suchanek  <robert.suchanek@imgtec.com>

* gcc.target/mips/umips-attr.c: New test.

From-SVN: r223294
gcc/ChangeLog
gcc/config/mips/mips.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/mips/umips-attr.c [new file with mode: 0644]