[Bug preprocessor/24202] [3.4/4.0/4.1 Regression] Segfault with #pragma once

wilson at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Nov 4 02:13:00 GMT 2005



------- Comment #15 from wilson at gcc dot gnu dot org  2005-11-04 02:12 -------
Subject: Bug 24202

Author: wilson
Date: Fri Nov  4 02:12:48 2005
New Revision: 106473

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106473
Log:
Fix pragma once bug where buffer is NULL and buffer_valid is true.
PR preprocessor/24202
* files.c (_cpp_pop_file_buffer): Set buffer_valid to false.

Modified:
    branches/gcc-4_0-branch/libcpp/ChangeLog
    branches/gcc-4_0-branch/libcpp/files.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24202



More information about the Gcc-bugs mailing list