This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/58770] GCC very slow compiling with #pragma once
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 07 Jul 2014 09:52:48 +0000
- Subject: [Bug preprocessor/58770] GCC very slow compiling with #pragma once
- Auto-submitted: auto-generated
- References: <bug-58770-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58770
--- Comment #4 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> ---
(In reply to Tom Tromey from comment #3)
> I think the rationale for this code is that the #pragma must
> prevent a second inclusion, even if done by a different file
> name; whereas #ifdef exclusion doesn't suffer from this issue.
Sorry, I don't understand this. The #ifdef include-guards do prevent a second
inclusion, even if done by a different file name, no?