This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Factor some check_effective_target procedures
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org, janis187 at us dot ibm dot com, richard at codesourcery dot com
- Date: Wed, 15 Mar 2006 10:31:09 -0800
- Subject: Re: Factor some check_effective_target procedures
- References: <874q265wzh.fsf@talisman.home>
On Fri, Mar 10, 2006 at 12:02:10PM +0000, Richard Sandiford wrote:
> Many of the existing check_effective_target procedures just want to
> know whether the compiler will print an error message for certain
> input files (perhaps given certain options). They tend to cache
> the result for efficiency reasons. This patch introduces a new
> utility procedure for that kind of thing, and adapts some existing
> procedures to use it. (The reason I'm looking at this is that I want
> to add a new procedure for checking certain MIPS options.)
This mostly looks great, but there are a couple of things I'm still
investigating. I'll try to have an answer for you in a couple of days.
Janis