This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/11839] New: [3.4 Regression] GCC cannot find t/t.h if t is a file and t/t.h is in subdirectory temp
- From: "pinskia at physics dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Aug 2003 00:04:10 -0000
- Subject: [Bug preprocessor/11839] New: [3.4 Regression] GCC cannot find t/t.h if t is a file and t/t.h is in subdirectory temp
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11839
Summary: [3.4 Regression] GCC cannot find t/t.h if t is a file
and t/t.h is in subdirectory temp
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Keywords: rejects-valid
Severity: critical
Priority: P2
Component: preprocessor
AssignedTo: neil at gcc dot gnu dot org
ReportedBy: pinskia at physics dot uc dot edu
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: *-*-*
When a file with the same name as a directory which you want to lookup, the
preprocessor now rejects this:
touch t
mkdir temp
mkdir temp/t
echo "HELLO">temp/t/t.h
echo "#include \"t/t.h\"">t.c
gcc -I. -Itemp t.c
t.c:1:17: t/t.h: Not a directory
This cause gdbtk to not be able to build.