This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/15167] [3.4/4.0 Regression] Internal compiler error with "#pragma once"
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Dec 2004 07:11:57 -0000
- Subject: [Bug preprocessor/15167] [3.4/4.0 Regression] Internal compiler error with "#pragma once"
- References: <20040427115120.15167.Roland.Meub@Tenovis.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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