This is the mail archive of the
mailing list for the GCC project.
Re: strengthen protection against REG_EQUIV/EQUAL on !REG set
- From: Jeff Law <law at redhat dot com>
- To: Olivier Hainque <hainque at adacore dot com>, gcc-patches at gcc dot gnu dot org
- Cc: Richard Sandiford <rdsandiford at googlemail dot com>
- Date: Tue, 27 May 2014 12:23:37 -0600
- Subject: Re: strengthen protection against REG_EQUIV/EQUAL on !REG set
- Authentication-results: sourceware.org; auth=none
- References: <FCCBE4CA-F1BC-490D-A8DC-3C759844AADA at adacore dot com>
On 05/26/14 06:28, Olivier Hainque wrote:
This is a follow up on a thread started long ago there:
With a first followup and a patch proposal there:
Then a refinement suggested by Richard Sandiford here:
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,
2014-05-26 Richard Sandiford <firstname.lastname@example.org>
* 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.
This is fine.