This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch][spu] Don't include middle-end headers in spu-c.c
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: Steven Bosscher <stevenb dot gcc at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 26 May 2010 10:37:31 -0400
- Subject: Re: [patch][spu] Don't include middle-end headers in spu-c.c
- References: <AANLkTimXqjEwTXNbhMAjefe07bdmcvh79cVKmDFgj7Q8@mail.gmail.com>
On Wed, May 26, 2010 at 10:25 AM, Steven Bosscher <stevenb.gcc@gmail.com> wrote:
> Hi,
>
> Just don't include what it doesn't need. One more RTL dependency gone
> from the front ends.
>
> Tested by building a cross to spu-unknown-elf and verifying that there
> are no warnings/errors.
> OK for trunk?
>
> Ciao!
> Steven
>
>
> ? ? ? ?* config/spu/spu-c.c: Do not include function.h, rtl.h, expr.h,
> ? ? ? ?insn-config.h, insn-codes.h, recog.h, and optabs.h.
Okay.
Thanks, David