On Mon, Apr 13, 2015 at 05:46:35PM +0200, Toon Moene wrote: > On 04/11/2015 01:33 AM, Jan Hubicka wrote: > > >>On Fri, Apr 10, 2015 at 11:18:39AM -0400, Trevor Saunders wrote: > >>>On Fri, Apr 10, 2015 at 03:59:19PM +0200, Toon Moene wrote: > >>>>Like this: > >>>> > >>>>https://gcc.gnu.org/ml/gcc-testresults/2015-04/msg01086.html > >>>> > >>>>ODR rears its head again ... > >>> > >>> huh, why is c/c-lang.h getting included in files linked into cc1plus? > >>> that seems strange. > >> > >>readelf -wl cc1plus | grep c-lang.h > >>doesn't show anything. > > > >I tried to reproduce it and my bootstrap passes with same options as Toon's > >The following patch ought to be able to tell the particular translation unit > >causing the conflict. > > [ Patch elided ] > > The patch applied cleanly - this is what I got as a result: > > https://gcc.gnu.org/ml/gcc-testresults/2015-04/msg01450.html > > I hope this is useful.
ok, so the problem would seem to be graphite-scop-detection.c is including front end specific headers. Can you put a #error in cp-tree.h and recompile graphite-scop-detection.o to see what the path to including it is? Trev > > Kind regards, > > -- > Toon Moene - e-mail: t...@moene.org - phone: +31 346 214290 > Saturnushof 14, 3738 XG Maartensdijk, The Netherlands > At home: http://moene.org/~toon/; weather: http://moene.org/~hirlam/ > Progress of GNU Fortran: http://gcc.gnu.org/wiki/GFortran#news