https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86211
--- Comment #2 from rguenther at suse dot de <rguenther at suse dot de> --- On Tue, 19 Jun 2018, charlet at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86211 > > Arnaud Charlet <charlet at gcc dot gnu.org> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |charlet at gcc dot gnu.org > > --- Comment #1 from Arnaud Charlet <charlet at gcc dot gnu.org> --- > As you said, this combination isn't guaranteed to work, although I'm > surprising > by the gcc command line you showed, which doesn't include -Iada/libgnat or > -I../../gcc/ada/libgnat as per ADA_INCLUDES in gcc-interface/Make-lang.in: > > ADA_INCLUDES = -nostdinc -I- -I. -Iada/generated -Iada -I$(srcdir)/ada > -I$(srcdir)/ada/gcc-interface -Iada/libgnat -I$(srcdir)/ada/libgnat > > So I'd suggest double checking your source tree here, maybe you have some > local > changes that are modifying ADA_INCLUDES? I'm building the GCC 7 branch which has the following in gcc-interface/Make-lang.in: ADA_INCLUDES = -nostdinc -I- -I. -Iada/generated -Iada -I$(srcdir)/ada -I$(srcdir)/ada/gcc-interface The GCC 7 branch doesn't seem to have a libgnat subdirectory under ada/