Commit efa68ffc by Andreas Krebbel Committed by Andreas Krebbel

S/390: Fix RTL sharing when generating reg note.

gcc/ChangeLog:

2016-12-02  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

	* config/s390/s390.c (s390_save_gprs_to_fprs): Fix RTL sharing
	problem.

From-SVN: r243173
parent 45d5091d
2016-12-02 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
* config/s390/s390.c (s390_save_gprs_to_fprs): Fix RTL sharing
problem.
2016-12-02 Georg-Johann Lay <avr@gjlay.de> 2016-12-02 Georg-Johann Lay <avr@gjlay.de>
* config/avr/avr-arch.h (avr_mcu_t) [n_flash]: Remove field. * config/avr/avr-arch.h (avr_mcu_t) [n_flash]: Remove field.
...@@ -10666,7 +10666,7 @@ s390_save_gprs_to_fprs (void) ...@@ -10666,7 +10666,7 @@ s390_save_gprs_to_fprs (void)
/* This prevents dwarf2cfi from interpreting the set. Doing /* This prevents dwarf2cfi from interpreting the set. Doing
so it might emit def_cfa_register infos setting an FPR as so it might emit def_cfa_register infos setting an FPR as
new CFA. */ new CFA. */
add_reg_note (insn, REG_CFA_REGISTER, PATTERN (insn)); add_reg_note (insn, REG_CFA_REGISTER, copy_rtx (PATTERN (insn)));
} }
} }
} }
......
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