strengthen protection against REG_EQUIV/EQUAL on !REG set

Olivier Hainque hainque@adacore.com
Mon May 26 12:28:00 GMT 2014


Hello,

This is a follow up on a thread started long ago there:

  http://gcc.gnu.org/ml/gcc-patches/2010-09/msg00967.html

With a first followup and a patch proposal there:

  http://gcc.gnu.org/ml/gcc-patches/2012-04/msg00731.html

Then a refinement suggested by Richard Sandiford here:

  http://gcc.gnu.org/ml/gcc-patches/2012-04/msg01515.html

We have been running with the proposed patch for years now,
it still applies on mainline and bootstraps + regtests fine
on x86_64-linux for languages=all,ada.

Ok to commit ?

Thanks in advance,

With Kind Regards,

Olivier

2014-05-26  Richard Sandiford  <rdsandiford@googlemail.com>

	* rtl.h (set_for_reg_notes): Declare.
	* emit-rtl.c (set_for_reg_notes): New function.
	(set_unique_reg_note): Use it.
	* optabs.c (add_equal_note): Likewise.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ehregnote.diff
Type: application/octet-stream
Size: 3651 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140526/d979aa13/attachment.obj>


More information about the Gcc-patches mailing list