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

2005-11-03 Thread wilson at gcc dot gnu dot org
--- Comment #14 from wilson at gcc dot gnu dot org 2005-11-04 02:10 --- Subject: Bug 24202 Author: wilson Date: Fri Nov 4 02:10:19 2005 New Revision: 106472 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=106472 Log: Fix failure with pragma once where buffer is NULL and

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

2005-11-03 Thread wilson at gcc dot gnu dot org
--- 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=gccview=revrev=106473 Log: Fix pragma once bug where buffer is NULL and buffer_valid is

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

2005-11-01 Thread wilson at gcc dot gnu dot org
--- Comment #13 from wilson at gcc dot gnu dot org 2005-11-01 23:51 --- I believe the problem originated here: 2003-07-29 Neil Booth [EMAIL PROTECTED] PR preprocessor/11569 PR preprocessor/11649 * Makefile.in (LIBCPP_DEPS): Add HASHTAB_H. * cppfiles.c:

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

2005-10-31 Thread wilson at gcc dot gnu dot org
--- Comment #10 from wilson at gcc dot gnu dot org 2005-11-01 07:19 --- On mainline, this appears to be fixable with a one line patch. We are failing in should_stack_file because we have a _cpp_file struct with buffer=0 and buffer_valid=1. We call read_file which immediately returns

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

2005-10-31 Thread wilson at gcc dot gnu dot org
--- Comment #11 from wilson at gcc dot gnu dot org 2005-11-01 07:22 --- Created an attachment (id=10096) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10096action=view) clear buffer_valid when clearing buffer Untested patch for mainline which makes the testcase work. -- wilson

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

2005-10-31 Thread wilson at gcc dot gnu dot org
--- Comment #12 from wilson at gcc dot gnu dot org 2005-11-01 07:25 --- The patch should use false instead of 0. These new fangled boolean types keep messing me up. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24202 --- You are receiving this mail because: --- You

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

2005-10-30 Thread mmitchel at gcc dot gnu dot org
--- Comment #9 from mmitchel at gcc dot gnu dot org 2005-10-31 06:02 --- I'm marking this as P1, at least until we do some analysis. -- mmitchel at gcc dot gnu dot org changed: What|Removed |Added

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

2005-10-13 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Summary|[4.0/4.1 Regression]|[3.4/4.0/4.1 Regression] |Segfault with #pragma