------- Comment #2 from zak at transversal dot com 2006-02-10 15:53 ------- On thinking about this further, I don't understand the application of lbasename to the input_filename before it is passed to get_fileinfo. I included this for consistency with the code in cxx_make_type that checks for the interface_* settings.
However, doesn't this mean that files included as "file1.h", "dir1/file1.h" and "dir2/file1.h" will share the same c_fileinfo struct for these purposes? The calls to get_fileinfo(input_filename) in gcc/c-lex.c, by constrast, do not use lbasename. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26195