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 Wed, Jun 30, 2010 at 4:29 PM, Manuel LÃpez-IbÃÃez
<lopezibanez@gmail.com> wrote:
> 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?
Easy, Cris has not be converted over to use define_constraint yet.
Thanks,
Andrew Pinski