Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!GINGER.BERKELEY.EDU!mcgrath%paris.Berkeley.EDU From: mcgrath%paris.Berkeley.EDU@GINGER.BERKELEY.EDU (Roland McGrath) Newsgroups: gnu.gcc.bug Subject: gcc 1.36 file inclusion bug Message-ID: <8910290110.AA02476@paris.Berkeley.EDU> Date: 29 Oct 89 01:10:38 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 8 GCC 1.36 on a Sun 3, Sun Unix 3.5. With the command line: gcc -O -I. -I/lang/gcc/gcc-1.36 -I/lang/gcc/gcc-1.36/config insn-output.c -E > insn-output.i insn-output.c contains `#include "config.h"'. It finds config.h in /lang/gcc/gcc-1.36. /lang/gcc/gcc-1.36/config.h contains `#include "tm.h"'. It should find tm.h in the current directory, since -I. comes before -I/lang/gcc/gcc-1.36; but instead it uses /lang/gcc/gcc/gcc-1.36/tm.h.