------- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-12-06 07:11 ------- > Eric - can you try your testcase on GCC sources as of around the beginning of > August 2003?
You can't reasonably ask this. It is your duty as a cpplib maintainer to do this kind of work. I honestly have no time to do it myself. > This is when I completely rewrote the whole file lookup mechanism, and > contrary to Zack's claims it did work 100% correctly, to the best of my > knowledge, and would always get links, both hard and soft, correct with > #pragma once correct no matter how contorted or renamed the file was. Then > only issue in that code was the -remap bug that has since been fixed. Yes, the code doesn't look particularly broken to me. Does your original code reset buffer_valid when the buffer is freed? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15167