This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: breaking cris-elf build with "Re: [RTL] move rtl diagnostics out of toplev.h"
On 1 July 2010 01:23, Andrew Pinski <pinskia@gmail.com> wrote:
> On Wed, Jun 30, 2010 at 4:17 PM, Manuel López-Ibáñez
> <lopezibanez@gmail.com> wrote:
>> BTW, is there a rule against targets including the headers that they
>> need. Can .md files include headers?
>
> rs6000 uses exact_log2 in its constraints.md. ?This works because
> genpreds.c creates a source file which includes toplev.h. ?See
> genpreds.c:1340. ?I think someone should go through those includes
> also.
But I didn't touch that file and toplev.h still contains exact_log2,
so what is going on?
Manuel.