This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[c++] input_filename not set correctly
- To: gcc-bugs at gcc dot gnu dot org
- Subject: [c++] input_filename not set correctly
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 13 Sep 2000 11:22:38 -0700
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
The current mainline gcc cannot compile Mozilla because it dumps a
core while printing warning messages. The reason is that
input_filename gets some bogus value assigned. This is the trace of
the last assignment before the crash:
Hardware watchpoint 5: *(int *) 138478816
Old value = 1082278528
New value = 1082303232
expand_body (fn=0x4045d300) at /home/drepper/gnu/egcs/gcc/cp/semantics.c:2518
2518 extract_interface_info ();
1: input_filename = 0x4082a300 '#' <repeats 200 times>...
I've uploaded a test file to
http://www.cygnus.com/~drepper/nsDiskCacheRecordChannel.ii.bz2
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------