On Tue, 8 Jan 2013, H.J. Lu wrote: > On Fri, Dec 21, 2012 at 5:14 AM, Richard Biener <rguent...@suse.de> wrote: > > > > After the Ada fix including gmp.h from system.h is trivial > > (by means of double-int.h it was included from almost everywhere > > already) > > > > Bootstrapped on x86_64-unknown-linux-gnu, testing in progress. > > > > Ok for trunk? (Go frontend "unfixed") > > > > Thanks, > > Richard. > > > > 2012-12-21 Richard Biener <rguent...@suse.de> > > > > PR bootstrap/54659 > > * system.h: Include gmp.h. > > * tree-ssa-loop-niter.c: Do not include gmp.h here. > > * double-int.h: Likewise. > > * realmpfr.h: Likewise. > > > > fortran/ > > * gfortran.h: Do not include gmp.h here. > > > > This breaks bootstrap with in-tree gmp since system.h is included for > host feature test by gcc/configure. Before gmp is built, gmp.h isn't > available. We need to build gmp first before configuring gcc.
Ok. Thanks, Richard. > Balaji, can you try this patch? > > > -- Richard Biener <rguent...@suse.de> SUSE / SUSE Labs SUSE LINUX Products GmbH - Nuernberg - AG Nuernberg - HRB 16746 GF: Jeff Hawn, Jennifer Guild, Felix Imend