This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[c++] input_filename not set correctly


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   `------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]