This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/35326] [4.2/4.3/4.4 regression] ICE with stray digraph token
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Apr 2008 06:16:15 -0000
- Subject: [Bug preprocessor/35326] [4.2/4.3/4.4 regression] ICE with stray digraph token
- References: <bug-35326-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from reichelt at gcc dot gnu dot org 2008-04-10 06:16 -------
I can still reproduce it with trunk, 4.3 branch and 4.2 branch from 2008-04-07.
I can't reproduce it on x86_64, though (no segfault, no valgrind error).
Did you try adding random characters before %:%: ?
Maybe this changes memory layout so much that you see the segfault, too.
Concerning comment #3: I cannot imagine that pfile->buffer was 0 from the
beginning. It looks as if something trampled on the memory later. (I'd have
to check that, though.) That would also explain the totally different error
in the original report (and why you don't run into trouble with the same
testcase).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35326